Difference between revisions of "Team:Glasgow/Practices"
(Prototype team page) |
|||
Line 1: | Line 1: | ||
− | + | <!DOCTYPE html> | |
− | <html> | + | <html lang="en"> |
+ | <head> | ||
+ | <meta charset="utf-8"> | ||
+ | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
+ | <meta name="description" content=""> | ||
+ | <meta name="author" content=""> | ||
+ | <link rel="icon" href="../../favicon.ico"> | ||
− | < | + | <title>IGEM Glasgow 2015 funding</title> |
− | < | + | <!-- Bootstrap core CSS |
− | + | <link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"> | |
− | + | ||
+ | --> | ||
+ | <link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
− | < | + | <!-- Custom styles for this template |
− | + | <link href="http://getbootstrap.com/examples/jumbotron/jumbotron.css" rel="stylesheet">--> | |
− | < | + | <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet" /> |
− | < | + | <style> |
− | + | body { | |
− | + | padding-top: 0px; | |
− | + | padding-bottom: 0px; | |
− | + | } | |
− | + | .navbar { | |
− | </ | + | margin-bottom: 0px !important; |
+ | border-radius: 0px !important; | ||
+ | } | ||
+ | .navbar-inverse .navbar-brand, .navbar-brand:hover { | ||
+ | color: white; | ||
+ | } | ||
+ | </style> | ||
+ | <!-- Just for debugging purposes. Don't actually copy these 2 lines! --> | ||
+ | <!--[if lt IE 9]><script src="view-source:http://getbootstrap.com/assets/js/ie8-responsive-file-warning.js"></script><![endif]--> | ||
+ | <script src="http://getbootstrap.com/assets/js/ie-emulation-modes-warning.js"></script> | ||
− | < | + | <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> |
− | < | + | <script src="http://getbootstrap.com/assets/js/ie10-viewport-bug-workaround.js"></script> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | < | + | <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> |
− | < | + | <!--[if lt IE 9]> |
+ | <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
+ | <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
+ | <![endif]--> | ||
+ | </head> | ||
+ | |||
+ | |||
+ | <!----------begin--------> | ||
+ | <body> | ||
+ | <script> | ||
+ | $(".progress-bar").css("width",'80%') | ||
+ | </script> | ||
− | < | + | <div class="navbar navbar-inverse" role="navigation"> |
− | < | + | <div class="container"> |
− | + | <div class="navbar-header"> | |
− | + | <a class="navbar-brand" style="text-align: center;">IGEM Glasgow funding</a> | |
− | < | + | </div> |
− | + | </div> | |
− | + | </div> | |
− | </ | + | |
− | |||
− | < | + | <div class='container' style="text-align:center;font-family: sans-serif;"> |
+ | <p style="font-size: 60px;">Collected miles: <br/></p> | ||
− | <h3> | + | <div class="row"> |
+ | <div class="col-sm-3"> | ||
+ | <img src="{% static 'img/walking.png' %}"/> | ||
+ | <h3>Walking</h3> | ||
+ | <h4>Collected miles:</h4> | ||
+ | <hr/> | ||
+ | <span style='text-align:left !important;'> | ||
+ | </span> | ||
+ | <hr/> | ||
+ | </div> | ||
+ | <div class="col-sm-3"> | ||
+ | <img src="{% static 'img/swimming.png' %}"/> | ||
+ | <h3>Swimming</h3> | ||
+ | <h4>Collected miles:</h4> | ||
+ | <hr/> | ||
+ | <span style='text-align:left !important;'> | ||
+ | </span> | ||
+ | <hr/> | ||
+ | </div> | ||
+ | <div class="col-sm-3"> | ||
+ | <img src="Glasglow/2015-Glasgow-cycling.png"/> | ||
+ | <h3>Cycling</h3> | ||
+ | <h4>Collected miles</h4> | ||
+ | <hr/> | ||
+ | <span style='text-align:left !important;'> | ||
+ | </span> | ||
+ | <hr/> | ||
+ | </div> | ||
+ | <div class="col-sm-3"> | ||
+ | <img src="{% static 'img/running.png' %}"/> | ||
+ | <h3>Running</h3> | ||
+ | <h4>Collected miles:</h4> | ||
+ | <hr/> | ||
+ | <span style='text-align:left !important;'> | ||
+ | </span> | ||
+ | <hr/> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
− | |||
+ | <style> | ||
+ | #p-bar{ | ||
+ | height:60px; | ||
+ | } | ||
+ | </style> | ||
+ | <div class="progress" id="p-bar"> | ||
+ | <div class="progress-bar" id="count25" role="progressbar" style="width:10%;background-color: red;"> | ||
+ | <span class="sr-only">10%</span> | ||
+ | <div style="margin-top: 20px;font-size: 20px;">10%</div> | ||
+ | </div> | ||
+ | <div class="progress-bar" id="count25" role="progressbar" style="width:20%;background-color: blue;"> | ||
+ | <span class="sr-only">20%</span> | ||
+ | <div style="margin-top: 20px;font-size: 20px;">20%</div> | ||
+ | </div> | ||
+ | <div class="progress-bar" id="count25" role="progressbar" style="width:10%;background-color: green;"> | ||
+ | <span class="sr-only">10%</span> | ||
+ | <div style="margin-top: 20px;font-size: 20px;">10%</div> | ||
+ | </div> | ||
+ | <div class="progress-bar" id="count25" role="progressbar" style="width:10%;background-color: yellow;color:black;"> | ||
+ | <span class="sr-only">10%</span> | ||
+ | <div style="margin-top: 20px;font-size: 20px;">10%</div> | ||
+ | </div> | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <div class="body"> | ||
+ | <div class="content"> | ||
+ | <div class="retro"></div> | ||
+ | <div class="display"></div> | ||
+ | <div class="base"></div> | ||
+ | <div class="base-bottom"></div> | ||
+ | <div class="open"></div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <style> | ||
+ | .body { | ||
+ | width: 100%; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | |||
+ | .content { | ||
+ | display: inline-block; | ||
+ | height: 400px; | ||
+ | width: 400px; | ||
+ | margin: 20px auto; | ||
+ | |||
+ | } | ||
+ | |||
+ | .retro{ | ||
+ | background : #333333; | ||
+ | position : absolute ; | ||
+ | margin: 50px 58px; | ||
+ | width : 284px; | ||
+ | height : 187px; | ||
+ | |||
+ | -webkit-border-top-left-radius: 15px; | ||
+ | -webkit-border-top-right-radius: 15px; | ||
+ | -moz-border-radius-topleft: 15px; | ||
+ | -moz-border-radius-topright: 15px; | ||
+ | border-top-left-radius: 15px; | ||
+ | border-top-right-radius: 15px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | .display { | ||
+ | background : #EDEDEB; | ||
+ | background : rgba(237, 237, 235, 1); | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | margin: 65px 71px; | ||
+ | width : 259px; | ||
+ | height : 163px; | ||
+ | } | ||
+ | |||
+ | .base { | ||
+ | background : #D8D8D8; | ||
+ | background : rgba(216, 216, 216, 1); | ||
+ | display: block; | ||
+ | margin: 237px auto; | ||
+ | width : 380px; | ||
+ | height : 11px; | ||
+ | } | ||
+ | |||
+ | .base-bottom { | ||
+ | background : #ABABAB; | ||
+ | display: block; | ||
+ | margin: -237px auto; | ||
+ | width : 378px; | ||
+ | height : 5px; | ||
+ | -webkit-border-bottom-right-radius:15px; | ||
+ | -webkit-border-bottom-left-radius: 15px; | ||
+ | -moz-border-radius-bottomright: 15px; | ||
+ | -moz-border-radius-bottomleft: 15px; | ||
+ | border-bottom-right-radius: 15px; | ||
+ | border-bottom-left-radius: 15px; | ||
+ | } | ||
+ | |||
+ | |||
+ | .open { | ||
+ | background : #828181; | ||
+ | |||
+ | position : absolute ; | ||
+ | display: block; | ||
+ | margin: 221px 170px; | ||
+ | width : 52px; | ||
+ | height : 5px; | ||
+ | -webkit-border-bottom-right-radius: 10px; | ||
+ | -webkit-border-bottom-left-radius: 10px; | ||
+ | -moz-border-radius-bottomright: 10px; | ||
+ | -moz-border-radius-bottomleft: 10px; | ||
+ | border-bottom-right-radius: 10px; | ||
+ | border-bottom-left-radius: 10px; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | <div class="container"> | ||
+ | <hr> | ||
+ | <footer> | ||
+ | <p>© IGEM Glasgow 2015</p> | ||
+ | </footer> | ||
+ | </div> <!-- /container --> | ||
+ | <!-- Bootstrap core JavaScript | ||
+ | ================================================== --> | ||
+ | <!-- Placed at the end of the document so the pages load faster --> | ||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | ||
+ | <script src="{% static 'js/bootstrap.min.js' %}"></script> | ||
+ | </body> | ||
</html> | </html> |
Revision as of 11:19, 22 July 2015
<!DOCTYPE html>
Collected miles: