Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 793a2c68

Přidáno uživatelem Filip Jani před více než 5 roky(ů)

  • ID 793a2c687f1328578258d5697ca7c92bd89edf95
  • Rodič 6b983650

7216 přidání přihlašování uživatelů a úprava namespace pro repository

Zobrazit rozdíly:

app/presenters/templates/@layout.latte
1 1
<!DOCTYPE html>
2
<html>
2
<html lang="en">
3 3
<head>
4
    <meta charset="utf-8">
5
    <meta name="viewport" content="width=device-width">
4
    <meta charset="UTF-8">
6 5

  
7
    <title>{ifset title}{include title|stripHtml} | {/ifset}Nette Web</title>
6
    <title>{ifset title}{include title|stripHtml} | {/ifset}Old Babylonian Text Corpus</title>
8 7

  
9 8
    <!-- jQuery -->
10
    <script
11
            src="https://code.jquery.com/jquery-3.3.1.min.js"
12
            integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
9
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
10
            integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
13 11
            crossorigin="anonymous"></script>
14 12

  
15 13
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.js"
......
40 38
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css"
41 39
          integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
42 40

  
41
    <link rel="stylesheet" href="{$basePath}/css/front/style.css">
43 42

  
44 43
    <script src="https://nette.github.io/resources/js/netteForms.min.js"></script>
45 44
    <script src="{$basePath}/js/nette.ajax.js"></script>
46
</head>
47 45

  
46
</head>
48 47
<body>
49
<div n:foreach="$flashes as $flash" n:class="flash, $flash->type">{$flash->message}</div>
48
<!--Navbar-->
49
<div class="jumbotron jumbotron-fluid header-logo">
50
    <div class="container text-center">
51
        <div class="display-4"><a href="landing-page.html">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">
75
            <a class="nav-link" href="admin.html">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="Homepage:logout">Logout</a>
86
            <a class="nav-link" href="#">Change Password</a>
87
        {else}
88
            <a class="nav-link" n:href="Homepage:login">Login</a>
89
        {/if}
90
    </div>
91
</nav>
92

  
93
<!--Content-->
94
<div class="content">
95
    <div n:foreach="$flashes as $flash" n:class="alert, 'alert-' . $flash->type">{$flash->message}</div>
96

  
97
    {include content}
98
</div>
50 99

  
51
{include content}
100
{ifset scripts}{include scripts}{/ifset}
52 101

  
53
{block scripts}
54
    <script>
55
        $(function () {
56
            $.nette.init();
57
        });
58
    </script>
59
{/block}
102
<!--Footer-->
103
<footer class="footer">
104
    <div class="container">
105
        <div class="text-center">
106
            © Furat Rahman - Faculty of Philosophy - University of West Bohemia in Pilsen and Cuneiform Circle 2002-2005<br>
107
            Created by Medici - Faculty of Applied Science - University of West Bohemia in Pilsen
108
        </div>
109
    </div>
110
</footer>
60 111
</body>
61
</html>
112
</html>

Také k dispozici: Unified diff