eventman/angular_app/index.html

120 lines
7.6 KiB
HTML

<!doctype html>
<html ng-app="eventManApp">
<head>
<title>EventMan(ager)</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="/static/js/jquery-3.2.0.min.js"></script>
<script type="text/javascript" src="/static/js/angular.min.js"></script>
<script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/static/js/ui-bootstrap-tpls-1.3.3.min.js"></script>
<script type="text/javascript" src="/static/js/angular-route.min.js"></script>
<script type="text/javascript" src="/static/js/angular-animate.min.js"></script>
<script type="text/javascript" src="/static/js/angular-touch.min.js"></script>
<script type="text/javascript" src="/static/js/angular-resource.min.js"></script>
<script type="text/javascript" src="/static/js/angular-file-upload.min.js"></script>
<script type="text/javascript" src="/static/js/angular-ui-router.min.js"></script>
<script type="text/javascript" src="/static/js/angular-websocket.min.js"></script>
<script type="text/javascript" src="/static/js/angular-translate.min.js"></script>
<script type="text/javascript" src="/static/js/angular-translate-loader-static-files.min.js"></script>
<script type="text/javascript" src="/static/js/nya-bs-select.min.js"></script>
<script type="text/javascript" src="/static/js/eda.stepway.min.js"></script>
<script type="text/javascript" src="/static/js/eda.easyFormViewer.min.js"></script>
<script type="text/javascript" src="/static/js/textAngular-rangy.min.js"></script>
<script type="text/javascript" src="/static/js/textAngular-sanitize.min.js"></script>
<script type="text/javascript" src="/static/js/textAngular.min.js"></script>
<script type="text/javascript" src="/static/js/lodash.min.js"></script>
<script type="text/javascript" src="/static/js/toaster.min.js"></script>
<script type="text/javascript" src="/static/js/api-check.min.js"></script>
<script type="text/javascript" src="/static/js/formly.min.js"></script>
<script type="text/javascript" src="/static/js/angular-formly-templates-bootstrap.min.js"></script>
<script type="text/javascript" src="/static/js/json2csv.min.js"></script>
<script type="text/javascript" src="/static/js/eventman.js"></script>
<script type="text/javascript" src="/js/app.js"></script>
<script type="text/javascript" src="/js/i18n.js"></script>
<script type="text/javascript" src="/js/filters.js"></script>
<script type="text/javascript" src="/js/directives.js"></script>
<script type="text/javascript" src="/js/services.js"></script>
<script type="text/javascript" src="/js/controllers.js"></script>
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/css/animate.min.css">
<link rel="stylesheet" href="/static/css/textAngular.css">
<link rel="stylesheet" href="/static/css/toaster.min.css">
<link rel="stylesheet" href="/static/css/normalize.css">
<link rel="stylesheet" href="/static/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="/static/css/font-awesome-4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/static/css/eda.stepway.min.css">
<link rel="stylesheet" href="/static/css/eda.easyFormViewer.min.css">
<link rel="stylesheet" href="/static/css/nya-bs-select.min.css">
<link rel="stylesheet" href="/static/css/eventman.css">
</head>
<!--
Copyright 2015-2017 Davide Alberani <da@erlug.linux.it>
RaspiBO <info@raspibo.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<body>
<nav class="navbar navbar-default navbar-fixed-top" ng-controller="NavigationCtrl">
<div class="container">
<div class="navbar-header">
<div ng-if="logo.imgURL" class="navbar-brand"><a ng-if="logo.link" href="{{logo.link}}" target="_blank"><img src="{{logo.imgURL}}" /></a></div>
<ul class="nav navbar-nav">
<li ng-class="{active: isActive('/events') || isActive('/event')}"><a ui-sref="events">{{'Events' | translate}}</a></li>
<li ng-if="hasPermission('admin|all')" ng-class="{active: isActive('/users') || isActive('/user')}"><a ui-sref="users">{{'Users' | translate}}</a></li>
<li ng-if="hasPermission('admin|all')" ng-class="{active: isActive('/tickets')}"><a ui-sref="tickets">{{'All tickets' | translate}}</a></li>
<li ng-if="hasPermission('admin|all')" ng-class="{active: isActive('/import/persons')}"><a ui-sref="import.persons">{{'Import tickets' | translate}}</a></li>
</ul>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li ng-if="info && info.user && info.user.username && info.user._id">
<span class="btn"><a ui-sref="user.edit({id: info.user._id})">{{info.user.username}}</a></span>
<span class="btn btn-link">
<a ng-controller="UsersCtrl" ng-click="logout()"><span class="fa fa-sign-out vcenter"></span>&nbsp;{{'logout' | translate}}</a>
</span>
</li>
<li ng-if="!info.user.username">
<span class="btn btn-link">
<a ui-sref="login"><span class="fa fa-sign-in vcenter"></span>&nbsp;{{'login' | translate}}</a>
</span>
</li>
</ul>
</div>
</div>
</nav>
<div class="main-header">
</div>
<toaster-container toaster-options="{'time-out': 4000, 'position-class': 'toast-top-center'}"></toaster-container>
<!-- main error handling -->
<div ng-if="error.error" ng-class="{clearfix: true, alert: true, 'alert-danger': true}">
<div class="container">
{{error.message}}
<button class="close" ng-click="clearError()">&times;</button>
</div>
</div>
<!-- all the magic takes place here: the content inside the next div changes accordingly to the location you're visiting -->
<div ui-view></div>
<nav class="navbar navbar-default navbar-fixed-bottom">
<div class="main-footer">
<a href="https://github.com/raspibo/eventman/" target="_blank">EventMan(ager)</a> by RaspiBO: <a href="http://raspibo.org">wiki</a> | <a href="http://social.raspibo.org">social network</a> | <a href="http://liste.raspibo.org/wws/">mailing lists</a> | <a href="mailto:info@raspibo.org">contact</a>
</div>
</nav>
</body>
</html>