Advertisement
aznGiLL

asdasdasf

Nov 3rd, 2014
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 8.88 KB | None | 0 0
  1. <html>
  2. <head>
  3.     <meta charset="utf-8">
  4.     <title>Itera</title>
  5.     <link rel="stylesheet" href="itera.css">
  6.     <!-- jQuery -->
  7.     <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
  8.     <!-- Latest compiled and minified JavaScript -->
  9.     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
  10.     <!-- Latest compiled and minified CSS -->
  11.     <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css">
  12.     <style>
  13.         .hiddenRow {
  14.             padding: 0 !important;
  15.         }
  16.  
  17.         body {
  18.             background: url(bg.png) center top repeat;
  19.             color: #28201b;
  20.             font-family: Arial, Verdana, Helvetica, sans-serif;
  21.             font-size: 13px;
  22.             line-height: 1.4;
  23.             position: relative;
  24.             margin-top: 100px;
  25.         }
  26.  
  27.         .content {
  28.             background: url(box_bg.png) left top repeat-y;
  29.             clear: both;
  30.             float: left;
  31.             min-height: 100px;
  32.             padding: 12px 20px 11px 20px;
  33.             width: 378px;
  34.         }
  35.  
  36.         h2 {
  37.             color: #fff !important;
  38.             font-size: 26px;
  39.             letter-spacing: 1px;
  40.             line-height: 27px;
  41.             text-shadow: 0px 1px 1px rgba(0, 0, 0, .9);
  42.         }
  43.  
  44.         h3 {
  45.             color: #fff !important;
  46.             letter-spacing: 1px;
  47.             line-height: 27px;
  48.             text-shadow: 0px 1px 1px rgba(0, 0, 0, .9);
  49.             font-size: 45px !important;
  50.         }
  51.  
  52.         label {
  53.             color: #fff !important;
  54.             font-size: 23px;
  55.             letter-spacing: 1px;
  56.             line-height: 27px;
  57.             text-shadow: 0px 1px 1px rgba(0, 0, 0, .9);
  58.         }
  59.  
  60.         .inputHeight {
  61.             height: 35px !important;
  62.         }
  63.  
  64.         th {
  65.             color: #fff;
  66.             font-size: 20px;
  67.             letter-spacing: 1px;
  68.             line-height: 27px;
  69.             text-shadow: 0px 1px 1px rgba(0, 0, 0, .9);
  70.         }
  71.  
  72.         td {
  73.             color: #fff;
  74.             font-size: 18px;
  75.             letter-spacing: 1px;
  76.             line-height: 27px;
  77.             text-shadow: 0px 1px 1px rgba(0, 0, 0, .9);
  78.         }
  79.  
  80.         .left_col {
  81.             float: left;
  82.             padding-bottom: 8px;
  83.             padding-top: 8px;
  84.             position: relative;
  85.             width: 400px;
  86.         }
  87.  
  88.             .left_col:before {
  89.                 background: url(box_top.png) left top no-repeat;
  90.                 content: '';
  91.                 height: 8px;
  92.                 left: 0;
  93.                 position: absolute;
  94.                 top: 0;
  95.                 width: 398px;
  96.             }
  97.  
  98.  
  99.  
  100.         .generate {
  101.             -moz-border-radius: 4px;
  102.             -webkit-border-radius: 4px;
  103.             background-color: #44c767;
  104.             border: 1px solid #18ab29;
  105.             border-radius: 4px;
  106.             color: #ffffff;
  107.             cursor: pointer;
  108.             display: inline-block;
  109.             font-family: arial;
  110.             font-size: 17px;
  111.             padding: 11px 31px;
  112.             text-decoration: none !important;
  113.             text-shadow: 0px 1px 0px #2f6627;
  114.         }
  115.  
  116.             .generate:hover {
  117.                 background-color: #44c768;
  118.                 border: 1px solid #18aa20;
  119.                 color: #ffffff !important;
  120.             }
  121.  
  122.         .infoGreen {
  123.             color: #18aa20 !important;
  124.         }
  125.  
  126.         #paymentPlan {
  127.             margin-top: 100px;
  128.         }
  129.  
  130.         .rowMargin {
  131.             margin-top: 100px;
  132.         }
  133.  
  134.         /* Ribbon */
  135.  
  136.         h1 {
  137.             box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1), 0 36px 0 -18px #463c36;
  138.             color: #8699A0;
  139.             display: inline-block;
  140.             font-family: arial, verdana;
  141.             font-size: 14px;
  142.             line-height: 28px;
  143.             margin: 120px 0;
  144.             outline: none;
  145.             padding: 14px 30px;
  146.             position: relative;
  147.             text-shadow: 0 0 1px #758890;
  148.             text-transform: uppercase;
  149.         }
  150.  
  151.             h1:before {
  152.                 border: 28px solid rgba(0, 0, 0, 0);
  153.                 border-left: 28px solid #463c36;
  154.                 border-right: 28px solid #463c36;
  155.                 content: '';
  156.                 height: 0;
  157.                 left: -15%;
  158.                 position: absolute;
  159.                 top: 18px;
  160.                 width: 130%;
  161.                 z-index: -1;
  162.             }
  163.  
  164.  
  165.             h1:after {
  166.                 border-left: 18px solid transparent;
  167.                 border-right: 18px solid transparent;
  168.                 border-top: 18px solid #99acb2;
  169.                 content: '';
  170.                 height: 0;
  171.                 left: 0;
  172.                 position: absolute;
  173.                 top: 100%;
  174.                 width: 100%;
  175.                 z-index: -1;
  176.             }
  177.  
  178.             h1, h1:before {
  179.                 background-image: linear-gradient( transparent 8%, rgba(0, 0, 0, 0.1) 8%, rgba(0, 0, 0, 0.1) 14%, transparent 14%, transparent 86%, rgba(0, 0, 0, 0.1) 86%, rgba(0, 0, 0, 0.1) 92%, transparent 92% ), linear-gradient( rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) ), linear-gradient( 45deg, transparent 40%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.1) 60%, transparent 60% ), linear-gradient(white, white);
  180.                 background-size: cover, cover, 4px 4px, cover;
  181.             }
  182.  
  183.                 h1, h1:before, h1:after {
  184.                     background-origin: border-box;
  185.                     box-sizing: border-box;
  186.                 }
  187.     </style>
  188.     =======
  189.     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
  190.     <script type="application/dart" src="itera.dart">
  191.     </script>
  192.     <script type="text/javascript" src="packages/browser/dart.js"></script>
  193. </head>
  194. <body>
  195.  
  196.  
  197.     <div class="container">
  198.  
  199.         <h1>Lånekalkulator</h1>
  200.  
  201.         <div class="row rowMargin">
  202.             <div class="col-sm-6">
  203.                 <div id="dataInput" class="content left_col">
  204.  
  205.                     <form id="form" style="padding: 20px;">
  206.                         <label for="sum">Lånesum:</label>
  207.                         <input class="inputHeight" id="sum" type="number" name="principalAmount" value="">
  208.                         <br>
  209.                         <label for="rate">Rentesats:</label>
  210.                         <input class="inputHeight" id="rate" type="number" name="interestRate" value="">
  211.                         <br>
  212.                         <label for="repayment">Nedbetalingstid i %:</label>
  213.                         <input class="inputHeight" id="repayment" type="number" name="repayment" value="">
  214.                         <br>
  215.                         <a href="#" class="generate">Kalkulér</a>
  216.  
  217.                     </form>
  218.                 </div>
  219.             </div>
  220.             <div class="col-sm-6">
  221.                 <div id="info">
  222.                     <h2>Lånebeløp</h2>
  223.                     <h3 class="infoGreen">2 000 000 kr</h3>
  224.                     <h2>Månedsbeløp</h2>
  225.                     <h3 class="infoGreen">10 000 kr</h3>
  226.                 </div>
  227.             </div>
  228.             <div class="col-xs-12">
  229.                 <div id="paymentPlan">
  230.                     <table class="table table-condensed" style="border-collapse:collapse;">
  231.                         <thead>
  232.                             <tr>
  233.                                 <th>År</th>
  234.                                 <th>Måned</th>
  235.                                 <th>Å betale</th>
  236.                                 <th>Avdrag</th>
  237.                                 <th>Rente</th>
  238.                                 <th>Resterende beløp å betale</th>
  239.                             </tr>
  240.                         </thead>
  241.                         <tbody>
  242.                             <tr data-toggle="collapse" data-target="#demo1" class="accordion-toggle collapsed" aria-expanded="false">
  243.                                 <td>2014</td>
  244.                                 <td>Samlet +</td>
  245.                                 <td>10 000 kr</td>
  246.                                 <td class="text-success">5 500 kr</td>
  247.                                 <td class="text-error">4 500 kr</td>
  248.                                 <td class="text-success"> 1 500 000 kr</td>
  249.                             </tr>
  250.                             <tr>
  251.                                 <td colspan="6" class="hiddenRow"><div class="accordian-body collapse" id="demo1" aria-expanded="false" style="height: 0px;"> Januar </div> </td>
  252.                             </tr>
  253.                         </tbody>
  254.                     </table>
  255.                 </div>
  256.             </div>
  257.         </div>
  258.  
  259.     </div>
  260.  
  261.  
  262.  
  263.     <script type="application/dart" src="itera.dart">
  264.     </script>
  265.     <script src="packages/browser/dart.js"></script>
  266.  
  267.  
  268. </body>
  269. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement