Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c0265e9e

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

Issue #7953 @0.75h
Drobné revize v layoutu a SASSu.

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 3
    <li class="nav-item"> &#160;</li>
4 4
    <li class="nav-item"> &#160;</li>
......
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>
......
34 29

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

  
32

  
33

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

  
50 46
</div>
51 47

  
52 48
<span class="arrow arrow-right" onclick="openNav()"></span>
49
{{--<label for="logo" class="col-md-4 kaplicky">{{ __('kaplicky') }}</label>--}}
50
{{--<a class="navbar-brand kaplicky" href="{{ url('/') }}">
51
    {{  __('kaplicky') }}
52
</a>--}}
53 53

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

  
64 64
    }
65 65

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

Také k dispozici: Unified diff