forked from DH-Center-Tuebingen/ThesauRex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (109 loc) · 7.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!doctype html>
<html ng-app="tutorialApp">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" href="favicon.png" sizes="32x32" />
<link rel="stylesheet" type="text/css" href="bower_components/world-flags-sprite/stylesheets/flags16.css" />
<link rel="stylesheet" type="text/css" href="bower_components/angular-ui-tree/dist/angular-ui-tree.min.css" />
<link rel="stylesheet" href="bower_components/angular-ui-select/dist/select.min.css" />
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="bower_components/bootstrap-material-design/dist/css/bootstrap-material-design.min.css"/>
<link rel="stylesheet" href="bower_components/bootstrap-material-design/dist/css/ripples.min.css"/>
<link rel="stylesheet" href="css/style.css" />
<title>ThesauRex - Thesaurus Editor</title>
</head>
<body>
<nav id="header-nav" class="navbar navbar-inverse" role="navigation" ng-controller="userCtrl">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle"
ng-click="isCollapsed = !isCollapsed" ng-init="isCollapsed = true" aria-expanded="false">
<span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#/">
<img src="favicon.png" alt="spacialist logo" style="height: 20px; width: 20px; display: inline; vertical-align: top;"/>
ThesauRex - {{ currentUser.preferences['prefs.project-name'].value }}
</a>
</div>
<div class="navbar-collapse" id="navbar-collapse" uib-collapse="isCollapsed">
<ul class="nav navbar-nav navbar-right">
<li ng-if="currentUser.user.name">
<a href="" ng-click="logoutUser()">
<span class="fa fa-fw fa-sign-out"></span> {{ currentUser.user.name }}
</a>
</li>
<li class="dropdown" uib-dropdown>
<a href="#" class="dropdown-toggle" uib-dropdown-toggle data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Settings <span class="caret"></span>
</a>
<ul class="dropdown-menu" uib-dropdown-menu>
<li ng-if="currentUser.permissions.view_users">
<a href="" ng-click="openUserManagement()">
<i class="fa fa-fw fa-users"></i> User Management
</a>
</li>
<li ng-if="currentUser.permissions.add_edit_role">
<a href="" ng-click="openRoleManagement()">
<i class="fa fa-fw fa-cog"></i> Role Management
</a>
</li>
<li>
<a href="" ng-click="openUserPreferences(currentUser.user.id)">
<span class="fa fa-fw fa-star"></span> User Preferences
</a>
</li>
<li ng-if="currentUser.permissions.edit_preferences">
<a href="" ng-click="openPreferences()">
<span class="fa fa-fw fa-star-o"></span> System Preferences
</a>
</li>
<li ng-if="currentUser.preferences['prefs.link-to-spacialist'].value.length > 0">
<a ng-href="{{ currentUser.preferences['prefs.link-to-spacialist'].value }}" target="_blank">
<img src="img/spacialist.png" style="width: 1.28571429em;" /> Spacialist
</a>
</li>
<li>
<a href="" ng-click="clearCache()">
<i class="fa fa-fw fa-refresh"></i> Clear Cache
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div ui-view id="main-container" class="col-md-12"></div>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/lodash/dist/lodash.min.js"></script>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-animate/angular-animate.min.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.min.js"></script>
<script src="bower_components/angular-route/angular-route.min.js"></script>
<script src="bower_components/angular-messages/angular-messages.min.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<script src="bower_components/ng-file-upload/ng-file-upload-all.min.js"></script>
<script src="bower_components/angular-ui-tree/dist/angular-ui-tree.min.js"></script>
<script src="bower_components/angular-simple-logger/dist/angular-simple-logger.min.js"></script>
<script src="bower_components/ng-infinite-scroll-npm-is-better-than-bower/build/ng-infinite-scroll.min.js"></script>
<script src="bower_components/angular-ui-select/dist/select.min.js"></script>
<script src="bower_components/ng-flags/src/directives/ng-flags.js"></script>
<script src="bower_components/angular-bootstrap-contextmenu/contextMenu.js"></script>
<script src="bower_components/satellizer/dist/satellizer.min.js"></script>
<script src="bower_components/angular-ui-router/release/angular-ui-router.min.js"></script>
<script src="bower_components/bootstrap-material-design/dist/js/material.min.js"></script>
<script src="bower_components/bootstrap-material-design/dist/js/ripples.min.js"></script>
<script src="bower_components/proj4/dist/proj4.js"></script>
<script src="app.js"></script>
<script src="app/mainService.js"></script>
<script src="app/userService.js"></script>
<script src="controllers/treeCtrl.js"></script>
<script src="controllers/userCtrl.js"></script>
<script src="controllers/prefCtrl.js"></script>
</body>
</html>