View | Details | Raw Unified | Return to bug 30437
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+13 lines)
Lines 4759-4764 div .suggestion_note { Link Here
4759
    }
4759
    }
4760
}
4760
}
4761
4761
4762
.koha-page-loader {
4763
    position: absolute;
4764
    top: 0;
4765
    bottom: 0;
4766
    left: 0;
4767
    right: 0;
4768
    display: none;
4769
    text-align: center;
4770
    width: 100%;
4771
    padding-top: 125px;
4772
    background-color: rgba(255, 255, 255, 0.7);
4773
}
4774
4762
@media (max-width: 768px) {
4775
@media (max-width: 768px) {
4763
    .navbar-nav {
4776
    .navbar-nav {
4764
        li {
4777
        li {
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/svg-loader.inc (+4 lines)
Line 0 Link Here
1
<div class="koha-page-loader">
2
        <h3>Loading page...</h3>
3
        <img src="[% interface | html %]/[% theme | html %]/img/koha-svg-loader.svg" alt="loader">
4
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt (-2 / +2 lines)
Lines 76-82 Link Here
76
                        <a class="circ-button" href="/cgi-bin/koha/circ/view_holdsqueue.pl"><i class="fa fa-tasks"></i> Holds queue</a>
76
                        <a class="circ-button" href="/cgi-bin/koha/circ/view_holdsqueue.pl"><i class="fa fa-tasks"></i> Holds queue</a>
77
                    </li>
77
                    </li>
78
                    <li>
78
                    <li>
79
                        <a class="circ-button" href="/cgi-bin/koha/circ/pendingreserves.pl"><i class="fa fa-hand-grab-o"></i> Holds to pull</a>
79
                        <a class="circ-button koha-svg-loader" href="/cgi-bin/koha/circ/pendingreserves.pl"><i class="fa fa-hand-grab-o"></i> Holds to pull</a>
80
                    </li>
80
                    </li>
81
                    <li>
81
                    <li>
82
                        <a class="circ-button" href="/cgi-bin/koha/circ/waitingreserves.pl"><i class="fa fa-calendar"></i> Holds awaiting pickup</a>
82
                        <a class="circ-button" href="/cgi-bin/koha/circ/waitingreserves.pl"><i class="fa fa-calendar"></i> Holds awaiting pickup</a>
Lines 169-173 Link Here
169
                    </div>
169
                    </div>
170
            </div>
170
            </div>
171
        </div>
171
        </div>
172
172
[% INCLUDE 'svg-loader.inc' %]
173
[% INCLUDE 'intranet-bottom.inc' %]
173
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/img/koha-svg-loader.svg (+17 lines)
Line 0 Link Here
1
<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
2
<svg width="80" height="80" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" stroke="#cecece">
3
    <g fill="none" fill-rule="evenodd">
4
        <g transform="translate(1 1)" stroke-width="2">
5
            <circle stroke-opacity=".5" cx="18" cy="18" r="18"/>
6
            <path d="M36 18c0-9.94-8.06-18-18-18">
7
                <animateTransform
8
                    attributeName="transform"
9
                    type="rotate"
10
                    from="0 18 18"
11
                    to="360 18 18"
12
                    dur="1s"
13
                    repeatCount="indefinite"/>
14
            </path>
15
        </g>
16
    </g>
17
</svg>
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-1 / +4 lines)
Lines 165-170 $(document).ready(function() { Link Here
165
    $("#bookbag_form a[href*='detail.pl?']").click(function(){
165
    $("#bookbag_form a[href*='detail.pl?']").click(function(){
166
        resetSearchContext();
166
        resetSearchContext();
167
    });
167
    });
168
    $('.koha-svg-loader').click( function() {
169
        $('.koha-page-loader').show();
170
    });
168
171
169
});
172
});
170
173
Lines 354-356 function saveOrClearSimpleSearchParams() { Link Here
354
    localStorage.setItem('cat_search_pulldown_selection', pulldown_selection );
357
    localStorage.setItem('cat_search_pulldown_selection', pulldown_selection );
355
    localStorage.setItem('searchbox_value', searchbox_value );
358
    localStorage.setItem('searchbox_value', searchbox_value );
356
}
359
}
357
- 
360

Return to bug 30437