Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 8075a85b

Přidáno uživatelem Marek Zábran před asi 4 roky(ů)

Issue #7953 @2.25h
Dodělání levého menu - už nesedí jen nepatrně některé marginy.
Login - oprava velikosti špendlíku.

Zobrazit rozdíly:

resources/views/inc/sidebar.blade.php
1 1
<div id="mySidenav" class="sidenav">
2
    <a href="javascript:void(0)" class="arrow-left" style="cursor:pointer" onclick="closeNav()"></a>
2
    <a href="javascript:void(0)" class="arrow arrow-left" s onclick="closeNav()"></a>
3 3
    <li class="nav-item"></li>
4 4
    <li class="nav-item"></li>
5 5
    <li class="nav-item"></li>
......
20 20
            </a>
21 21

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

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

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

  
29

  
30

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

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

  
27 35
                <a class="dropdown-item text-headline" href="{{ route('logout') }}"
28 36
                   onclick="event.preventDefault();
29 37
                                                     document.getElementById('logout-form').submit();">
30
                    {{ __('Logout') }}
38
                    {{ __('logout') }}
31 39
                </a>
32 40

  
33 41
                <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
......
39 47

  
40 48
</div>
41 49

  
42
<span class="arrow-right" style="cursor:pointer" onclick="openNav()"></span>
50
<span class="arrow arrow-right" onclick="openNav()"></span>
43 51

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

  
47 62
    }
48 63

  
49 64
    function closeNav() {

Také k dispozici: Unified diff