diff options
author | Leif Johansson <leifj@sunet.se> | 2012-10-04 15:39:08 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-10-04 15:39:08 +0200 |
commit | 2bdad0ae7a3a6e4ec5116becd39910388b679ed2 (patch) | |
tree | 5afdfba0a93c1af50d53bdc245d57cc4053e109a /templates/base.html | |
parent | 873e7823970352d591deee5f67f47c5436ee0e84 (diff) |
restructure
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..4bd9d80 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,110 @@ +<!DOCTYPE html> +<html> +<head> + <title>Meeting Tools</title> + <meta http-equiv="content-type" content="text/html;charset=utf-8" /> + <meta http-equiv="Content-Style-Type" content="text/css" /> + <link type="text/css" href="{{STATIC_URL}}/bootstrap/css/bootstrap.min.css" rel="stylesheet"/> + <link href="{{STATIC_URL}}/css/prettify.css" rel="stylesheet"/> + <link href="{{theme.base}}/lavish.less" rel="stylesheet/less" type="text/css" /> + <link href="{{STATIC_URL}}/css/style.css" rel="stylesheet" type="text/css" /> + <link href="{{STATIC_URL}}/css/gs.css" rel="stylesheet" type="text/css" /> + + <script type="text/javascript" src="{{STATIC_URL}}/js/jquery-1.7.2.min.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}/js/less-1.3.0.min.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}/bootstrap/js/bootstrap.min.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}/js/jquery.validate.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}/js/bbq.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}/js/jquery.meetingtools.js"></script> + + <!--[if lte IE 8]> + <script language="javascript" type="text/javascript" src="{{STATIC_URL}}/js/excanvas.min.js"></script> + <![endif]--> + + <script type="text/javascript" src="{{STATIC_URL}}/js/jquery.flot.min.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}/js/spin.min.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}/js/jquery.spin.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}/js/prettify.js"></script> + + {% block meta %}{% endblock %} + <!-- style> + .menu li { + display: inline; + } + </style --> + <![endif]--> + <!--[if lt IE 9]> + <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + <script type="text/javascript" src="{{theme.base}}/theme.js"></script> + {% block js %}{% endblock %} + <script type="text/javascript"> + $(function() { + prettyPrint(); + {% block widgets %}{% endblock %} + }); + </script> + +</head> +<body> + <div class="navbar"> + <div class="navbar-inner"> + <a class="brand logo" href="#">Meeting Tools</a> + {% if user.is_authenticated %} + <div class="login pull-right"> + <a style="margin-right:10px;" href="/rooms">{{user}}</a> + <a style="vertical-align: bottom;" class="btn btn-mini" href="/accounts/logout"><i class="icon-off"></i> Logout</a> + </div> + {% else %} + <div class="login pull-right"> + <a style="vertical-align: bottom;" class="btn btn-mini" href="/accounts/login-federated"><i class="icon-home"></i> Login</a> + </div> + {% endif %} + </div> + </div> + + <div class="container"> + <div class="row"> + <div class="span12"> + {% block content %}{% endblock %} + </div> + <!-- + <div class="span3"> + {% block sidebar %}hej{% endblock %} + </div> + --> + </div> + <div class="clearfix"></div> + <div class="row" style="margin-top: 50px; padding-top: 10px; border-top: 1px solid #bbccdd;"> + <div class="span3"> + <ul class="unstyled"> + <li><h3>Users</h3></li> + <li><a class="tip" title="Your list of meeting resources.." href="/rooms">My Profile</a></li> + <li><a class="tip" title="Find out how much you use e-meetings..." href="/stats">Usage Statistics</a></li> + <li><a class="tip" title="Logout" id="logout" href="/accounts/logout">Logout</a></li> + </ul> + </div> + <div class="span3"> + <ul class="unstyled"> + <li><h3>Support</h3></li> + <li><a class="tip" title="SUNET" href="http://www.sunet.se">SUNET</a></li> + <li><a class="tip" title="SUNET Community Support" href="http://community.sunet.se">SUNET Community Support</a></li> + </ul> + </div> + <div class="span3"> + <ul class="unstyled"> + <li><h3>Developers</h3></li> + {% if tagstring %} + <li><a href="/widget/+{{tagstring}}">Meetingtools jQuery widget</a></li> + {% else %} + <li><a href="/widget/+example">Meetingtools jQuery widget</a></li> + {% endif %} + </ul> + </div> + <div class="span3"> + {% block validators %}{% endblock %} + </div> + </div> + </div> +</body> +</html> |