1
|
<!DOCTYPE html>
|
2
|
<html lang="en">
|
3
|
<head>
|
4
|
<meta charset="UTF-8">
|
5
|
|
6
|
<title>{ifset title}{include title|stripHtml} | {/ifset}Old Babylonian Text Corpus</title>
|
7
|
|
8
|
<!-- jQuery -->
|
9
|
<script src="https://code.jquery.com/jquery-3.4.0.min.js"
|
10
|
integrity="sha256-BJeo0qm959uMBGb65z40ejJYGSgR7REI4+CW1fNKwOg="
|
11
|
crossorigin="anonymous"></script>
|
12
|
|
13
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.js"
|
14
|
integrity="sha256-wqAoCRn9//AnHSl4qbXVhqdvmgFQqN5Elqp4Eb2wOXA=" crossorigin="anonymous"></script>
|
15
|
|
16
|
<!-- Bootstrap CDN -->
|
17
|
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet"
|
18
|
integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
|
19
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"
|
20
|
integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T"
|
21
|
crossorigin="anonymous"></script>
|
22
|
|
23
|
<!-- Bootstrap Select -->
|
24
|
<link rel="stylesheet"
|
25
|
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/css/bootstrap-select.min.css">
|
26
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/bootstrap-select.min.js"></script>
|
27
|
|
28
|
<!-- Bootstrap Datepicker -->
|
29
|
<link rel="stylesheet"
|
30
|
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker3.min.css"
|
31
|
integrity="sha256-mlKJFBS1jbZwwDrZD1ApO7YFS6MA1XDN37jZ9GDFC64=" crossorigin="anonymous"/>
|
32
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"
|
33
|
integrity="sha256-tW5LzEC7QjhG0CiAvxlseMTs2qJS7u3DRPauDjFJ3zo=" crossorigin="anonymous"></script>
|
34
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/locales/bootstrap-datepicker.cs.min.js"
|
35
|
integrity="sha256-pbW7ult8QcDlimj+JQplrsCieqCvQ/8VGr7ZdTuev8c=" crossorigin="anonymous"></script>
|
36
|
|
37
|
<!-- Font awesome -->
|
38
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css"
|
39
|
integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
|
40
|
|
41
|
<link rel="stylesheet" href="{$basePath}/css/admin/style.css">
|
42
|
|
43
|
<script src="https://nette.github.io/resources/js/netteForms.min.js"></script>
|
44
|
<script src="{$basePath}/js/nette.ajax.js"></script>
|
45
|
|
46
|
</head>
|
47
|
<body>
|
48
|
<!--Navbar-->
|
49
|
<div class="jumbotron jumbotron-fluid header-logo">
|
50
|
<div class="container text-center">
|
51
|
<div class="display-4"><a n:href=":Front:Homepage:">Old Babylonian Text Corpus</a></div>
|
52
|
</div>
|
53
|
</div>
|
54
|
<nav class="navbar navbar-expand-lg navbar-dark bg-primary" style="background-color: #003366 !important;">
|
55
|
<ul class="navbar-nav mr-auto">
|
56
|
<li class="nav-item">
|
57
|
<a class="nav-link" href="search-texts.html">Search & edit texts</a>
|
58
|
</li>
|
59
|
<li class="nav-item">
|
60
|
<a class="nav-link" href="#">Search dictionary</a>
|
61
|
</li>
|
62
|
<li class="nav-item">
|
63
|
<a class="nav-link" href="#">Text catalogue</a>
|
64
|
</li>
|
65
|
<li class="nav-item">
|
66
|
<a class="nav-link" href="#">Catalogue of cuneiform signs</a>
|
67
|
</li>
|
68
|
<li class="nav-item">
|
69
|
<a class="nav-link" href="#">Contact & members</a>
|
70
|
</li>
|
71
|
<li class="nav-item">
|
72
|
<a class="nav-link" href="#">Input new text</a>
|
73
|
</li>
|
74
|
<li class="nav-item active">
|
75
|
<a class="nav-link" n:href="Default:default">Admin</a>
|
76
|
</li>
|
77
|
</ul>
|
78
|
{if $user->loggedIn}
|
79
|
<span class="navbar-text" style="padding-right: 1rem">
|
80
|
User: <strong>{$user->getIdentity()->username}</strong>
|
81
|
</span>
|
82
|
{/if}
|
83
|
<div class="navbar-nav nav-item">
|
84
|
{if $user->loggedIn}
|
85
|
<a class="nav-link" n:href=":Front:Homepage:logout">Logout</a>
|
86
|
<a class="nav-link" href="#">Change Password</a>
|
87
|
{else}
|
88
|
<a class="nav-link" n:href=":Front:Homepage:login">Login</a>
|
89
|
{/if}
|
90
|
</div>
|
91
|
</nav>
|
92
|
|
93
|
<ul class="nav">
|
94
|
<!-- Aktualní zvýraznění linku se dá udělat takhle -->
|
95
|
<!-- - do n:class se dá isLinkCurrent a odkaz na presenter -->
|
96
|
<!-- <li class="nav-item"><a n:href="Default:default" n:class="nav-link, $presenter->isLinkCurrent('Default:*') ? active" title="Users">
|
97
|
Users </a></li> -->
|
98
|
|
99
|
<li class="nav-item"><a n:href="User:default" n:class="nav-link, $presenter->isLinkCurrent('User:*') ? active" title="Users">
|
100
|
Users </a></li>
|
101
|
<li class="nav-item"><a href="#" class="nav-link" title="Groups">
|
102
|
Groups </a></li>
|
103
|
<li class="nav-item"><a href="#" class="nav-link" title="Rules">
|
104
|
Rules </a></li>
|
105
|
|
106
|
<li class="nav-item"><a href="#" class="nav-link" title="Book">
|
107
|
Book </a></li>
|
108
|
<li class="nav-item"><a href="#" class="nav-link" title="Transliteration">
|
109
|
Transliteration </a></li>
|
110
|
<li class="nav-item"><a href="#" class="nav-link" title="Book type">
|
111
|
Book type </a></li>
|
112
|
<li class="nav-item"><a href="#" class="nav-link" title="Object type">
|
113
|
Object type </a></li>
|
114
|
<li class="nav-item"><a n:href="Surface:" n:class="nav-link, $presenter->isLinkCurrent('Surface:*') ? active" title="Surface type">
|
115
|
Surface type </a></li>
|
116
|
|
117
|
<li class="nav-item"><a n:href="Museum:default" n:class="nav-link, $presenter->isLinkCurrent('Museum:*') ? active" title="Museum">
|
118
|
Museum </a></li>
|
119
|
<li class="nav-item"><a href="#" class="nav-link" title="Origin">
|
120
|
Origin </a></li>
|
121
|
<li class="nav-item"><a href="#" class="nav-link" title="Upload">
|
122
|
Upload texts </a></li>
|
123
|
<li class="nav-item"><a href="#" class="nav-link" title="Replace">
|
124
|
Mass replace </a></li>
|
125
|
</ul>
|
126
|
|
127
|
<!--Content-->
|
128
|
<div class="content">
|
129
|
<div n:foreach="$flashes as $flash" n:class="alert, 'alert-' . $flash->type, alert-dismissible, fade, show" role="alert">
|
130
|
{$flash->message}
|
131
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
132
|
<span aria-hidden="true">×</span>
|
133
|
</button>
|
134
|
</div>
|
135
|
|
136
|
{include content}
|
137
|
</div>
|
138
|
|
139
|
{ifset scripts}{include scripts}{/ifset}
|
140
|
|
141
|
<!--Footer-->
|
142
|
<footer class="footer">
|
143
|
<div class="container">
|
144
|
<div class="text-center">
|
145
|
© Furat Rahman - Faculty of Philosophy - University of West Bohemia in Pilsen and Cuneiform Circle 2002-2005<br>
|
146
|
Created by Medici - Faculty of Applied Science - University of West Bohemia in Pilsen
|
147
|
</div>
|
148
|
</div>
|
149
|
</footer>
|
150
|
</body>
|
151
|
</html>
|