Projekt

Obecné

Profil

« Předchozí | Další » 

Revize b323292b

Přidáno uživatelem Marek Lovčí před téměř 5 roky(ů)

Merge branch 'develop'

Zobrazit rozdíly:

resources/views/inc/sidebar.blade.php
1
<div id="mySidenav" class="sidenav">
1
<div id="sidebar" class="sidenav">
2 2
    <a href="javascript:void(0)" class="arrow arrow-left" s onclick="closeNav()"></a>
3
    <li class="nav-item"></li>
4
    <li class="nav-item"></li>
5
    <li class="nav-item"></li>
6
    <li class="nav-item"></li>
3
    <li class="nav-item"> &#160;</li>
4
    <li class="nav-item"> &#160;</li>
5
    <li class="nav-item"> &#160;</li>
6
    <li class="nav-item"> &#160;</li>
7 7
        @guest
8 8
        <li class="nav-item">
9 9
            <a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
......
15 15
        @endif
16 16
        @else
17 17
        <li class="nav-item dropdown">
18
           {{-- <a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
19
                {{ Auth::user()->name }} <span class="caret"></span>
20
            </a>
21

  
22
            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">--}}
23 18
            <a class="dropdown-item text-headline" href="{{ url('/') }}">home</a>
24 19

  
25 20
            <a class="dropdown-item text-headline" href="{{ url('/categories') }}">topics</a>
26 21

  
27 22
            <a class="dropdown-item text-headline" href="{{ url('/artefact') }}">books</a>
28 23

  
24
            <a class="dropdown-item text-headline" href="{{ url('/favartefacts') }}">my books</a>
25

  
26
                <a class="dropdown-item text-headline" href="{{ url('/favmetadata') }}">my notes</a>
27

  
29 28

  
30 29

  
31
                <a class="dropdown-item text-headline" href="{{ url('/favmetadata') }}">notes</a>
30
            <a class="dropdown-item text-headline" href="{{ url('/charts') }}">charts</a>
31

  
32 32

  
33
                <a class="dropdown-item text-headline" href="{{ url('/favartefacts') }}">charts</a>
34 33

  
35 34
                <a class="dropdown-item text-headline" href="{{ route('logout') }}"
36 35
                   onclick="event.preventDefault();
......
41 40
                <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
42 41
                    @csrf
43 42
                </form>
44
            {{-- </div>--}}
45 43
        </li>
46 44
        @endguest
47 45

  
48 46
</div>
49 47

  
48

  
50 49
<span class="arrow arrow-right" onclick="openNav()"></span>
50
{{--<label for="logo" class="col-md-12 kaplicky" style="display: inline-block; text-align: center; padding: 1.25rem; padding-bottom: 0">{{ __('kaplicky') }}</label>
51
{{--<label for="logo" class="col-md-4 kaplicky">{{ __('kaplicky') }}</label>--}}
52
{{--<a class="navbar-brand kaplicky" href="{{ url('/') }}">
53
    {{  __('kaplicky') }}
54
</a>--}}
51 55

  
52 56
<script>
53 57
    function openNav() {
54 58
        var x = window.matchMedia("(max-width: 540px)")
55 59
        if(x.matches){
56
            document.getElementById("mySidenav").style.width = "50vw";
60
            document.getElementById("sidebar").style.width = "50vw";
57 61
        }
58 62
        else{
59
            document.getElementById("mySidenav").style.width = "250px";
63
            document.getElementById("sidebar").style.width = "250px";
60 64
        }
61 65

  
62 66
    }
63 67

  
64 68
    function closeNav() {
65
        document.getElementById("mySidenav").style.width = "0";
69
        document.getElementById("sidebar").style.width = "0";
66 70
    }
67 71
</script>

Také k dispozici: Unified diff