2015-01-30 11:58:36 +01:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<!--[if lt IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
|
|
|
|
<!--[if IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
|
|
|
|
<!--[if IE 8]> <html lang="en" ng-app="myApp" class="no-js lt-ie9"> <![endif]-->
|
|
|
|
|
<!--[if gt IE 8]><!--> <html lang="en" ng-app="OpenSlidesApp" class="no-js"> <!--<![endif]-->
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
|
<base href="/">
|
|
|
|
|
<title>OpenSlides</title>
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
<link rel="stylesheet" href="static/css/openslides-libs.css">
|
|
|
|
|
<link rel="stylesheet" href="static/css/app.css">
|
|
|
|
|
<script src="static/js/openslides-libs.js"></script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<!-- Navbar -->
|
|
|
|
|
<nav id="header" class="navbar">
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<div class="navbar-header">
|
|
|
|
|
<a href="/" class="logo"><img src="/static/img/logo.png" alt="OpenSlides" /></a>
|
|
|
|
|
<span class="title optional">{{ config('event_name') }}</span>
|
|
|
|
|
</div>
|
2015-02-12 22:42:54 +01:00
|
|
|
|
<div class="navbar-right" ng-controller="userMenu">
|
|
|
|
|
<!-- login/logout button -->
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<div ng-if="operator.isAuthenticated()">
|
2015-01-30 11:58:36 +01:00
|
|
|
|
<a href="#" data-toggle="dropdown" class="btn btn-default dropdown-toggle">
|
|
|
|
|
<span class="glyphicon glyphicon-user" aria-hidden="true"></span>
|
2015-02-12 22:42:54 +01:00
|
|
|
|
<span class="optional-small">{{ operator.user.get_short_name() }}</span>
|
2015-01-30 11:58:36 +01:00
|
|
|
|
<span class="caret"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="dropdown-menu pull-right">
|
|
|
|
|
<li><a href="{% url 'user_settings' %}">
|
|
|
|
|
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
|
|
|
|
|
{{ gettext("Edit profile") }}</a></li>
|
|
|
|
|
<li><a href="{% url 'password_change' %}">
|
|
|
|
|
<span class="glyphicon glyphicon-lock" aria-hidden="true"></span>
|
|
|
|
|
{% trans "Change password" %}</a></li>
|
|
|
|
|
<li class="divider"></li>
|
2015-02-12 22:42:54 +01:00
|
|
|
|
<li>
|
|
|
|
|
<a ng-click="logout()">
|
|
|
|
|
<span class="glyphicon glyphicon-log-out" aria-hidden="true"></span>
|
|
|
|
|
Logout
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2015-01-30 11:58:36 +01:00
|
|
|
|
</ul>
|
2015-02-12 22:42:54 +01:00
|
|
|
|
</div>
|
|
|
|
|
<div ng-if="!operator.isAuthenticated()">
|
|
|
|
|
<a href="#" ng-click="showLoginForm = true" class="btn btn-default">
|
|
|
|
|
<span class="glyphicon glyphicon-log-in" aria-hidden="true"></span>
|
|
|
|
|
{{ gettext("Login") }}
|
|
|
|
|
</a>
|
|
|
|
|
<div ng-if="showLoginForm">
|
|
|
|
|
<form>
|
|
|
|
|
username: <input type="text" ng-model="username"><br>
|
|
|
|
|
password: <input type="password" ng-model="password"><br>
|
|
|
|
|
<input type="submit" ng-click="login(username, password)" value="Save" />
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2015-01-30 11:58:36 +01:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2015-02-12 22:42:54 +01:00
|
|
|
|
</div>
|
2015-01-30 11:58:36 +01:00
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
<!-- Container -->
|
|
|
|
|
<div class="container-fluid" id="container">
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
<!-- Sidebar navigation (main menu) -->
|
|
|
|
|
<div class="col-md-2 leftmenu lefticon">
|
|
|
|
|
<ul>
|
|
|
|
|
{% for entry in main_menu_entries %}
|
|
|
|
|
<li{% if entry.is_active %} class="active"{% endif %}>
|
|
|
|
|
<a href="{{ entry.get_url }}" class="tooltip-right">
|
|
|
|
|
<!--TODO-->
|
|
|
|
|
<span class="glyphicon {{ entry.get_icon_css_class }}" aria-hidden="true"></span>
|
|
|
|
|
<span class="text">{{ entry }}</span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
|
<div id="content" class="col-md-10">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-12">
|
2015-02-08 14:57:02 +01:00
|
|
|
|
<div ui-view></div>
|
2015-01-30 11:58:36 +01:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<hr />
|
|
|
|
|
<footer>
|
|
|
|
|
<small>
|
|
|
|
|
© Copyright 2011–2015 | Powered by <a href="http://openslides.org" target="_blank">OpenSlides</a> | <a href="{% url 'core_version' %}">Version</a>
|
|
|
|
|
</small>
|
|
|
|
|
</footer>
|
|
|
|
|
</div><!--/#content-->
|
|
|
|
|
|
|
|
|
|
</div><!--/.row-->
|
|
|
|
|
</div><!--/#container-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="static/js/app.js"></script>
|
2015-02-08 14:57:02 +01:00
|
|
|
|
<script src="static/js/core.js"></script>
|
2015-01-30 11:58:36 +01:00
|
|
|
|
<script src="static/js/agenda/agenda.js"></script>
|
2015-02-08 14:57:02 +01:00
|
|
|
|
<script src="static/js/assignments/assignments.js"></script>
|
|
|
|
|
<script src="static/js/users/users.js"></script>
|
2015-01-30 11:58:36 +01:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|