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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc (-1 / +1 lines)
Lines 5-11 Link Here
5
    <div class="btn-group"><a href="#" id="clear" class="btn btn-default btn-sm"><i class="fa fa-trash-can"></i> Clear field</a></div>
5
    <div class="btn-group"><a href="#" id="clear" class="btn btn-default btn-sm"><i class="fa fa-trash-can"></i> Clear field</a></div>
6
    <div class="btn-group"><a href="#" id="createnew" class="btn btn-default btn-sm"><i class="fa fa-plus"></i> Create new authority</a></div>
6
    <div class="btn-group"><a href="#" id="createnew" class="btn btn-default btn-sm"><i class="fa fa-plus"></i> Create new authority</a></div>
7
</div>
7
</div>
8
<form name="f" method="get" action="auth_finder.pl">
8
<form name="f" method="get" action="auth_finder.pl" class="clearfix">
9
            <input type="hidden" name="source" value="[% source | html %]" />
9
            <input type="hidden" name="source" value="[% source | html %]" />
10
            <input type="hidden" name="op" value="do_search" />
10
            <input type="hidden" name="op" value="do_search" />
11
            <input type="hidden" name="type" value="intranet" />
11
            <input type="hidden" name="type" value="intranet" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt (-46 / +42 lines)
Lines 22-63 Link Here
22
</style>
22
</style>
23
</head>
23
</head>
24
24
25
<body id="auth_searchresultlist_auth" class="auth">
25
[% BLOCK result_page_numbers %]
26
    <div class="container-fluid">
26
    <div class="resultnumber clearfix">
27
27
        <nav>
28
    	<h1>Authority search results</h1>
28
            <ul class="pagination">
29
    	[% INCLUDE 'auth-finder-search.inc' %]
29
                [% IF ( displayprev ) %]
30
        [% IF ( total ) %]<div class="resultnumber">
30
                    <li class="page-item">
31
            [% IF ( displayprev ) %]
31
                        <a class="page-link" href="auth_finder.pl?startfrom=[% startfromprev | uri %]&amp;authtypecode=[% authtypecode | uri %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term | uri %]=[% searchdat.val | uri %][% END %]&amp;op=do_search&amp;type=intranetamp;&amp;index=[% index | uri %]&amp;tagid=[% tagid | uri %]&amp;orderby=[% orderby | uri %]&amp;source=[% source | uri %]">
32
                    <a href="auth_finder.pl?startfrom=[% startfromprev | uri %]&amp;authtypecode=[% authtypecode | uri %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term | uri %]=[% searchdat.val | uri %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index | uri %]&amp;tagid=[% tagid | uri %]&amp;orderby=[% orderby | uri %]&amp;source=[% source | uri %]">
32
                            <i class="fa fa-fw fa-angle-left"></i> Previous
33
                        &lt;&lt;
33
                        </a>
34
                    </a>
34
                    </li>
35
                [% END %]
35
                [% END %]
36
                [% FOREACH number IN numbers %]
36
                [% FOREACH number IN numbers %]
37
                    [% IF ( number.highlight ) %]
37
                    [% IF ( number.highlight ) %]
38
                        [% number.number | html %]
38
                        <li class="page-item active">
39
                            <a class="page-link" href="#">[% number.number | html %]</a>
39
                    [% ELSE %]
40
                    [% ELSE %]
40
                        <a href="auth_finder.pl?startfrom=[% number.startfrom | uri %]&amp;authtypecode=[% authtypecode | uri %][% FOREACH searchdat IN number.searchdata %]&amp;[% searchdat.term | uri %]=[% searchdat.val | uri %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index | uri %]&amp;tagid=[% tagid | uri %]&amp;orderby=[% orderby | uri %]&amp;source=[% source | uri %]">
41
                        <li class="page-item">
41
                            [% number.number | html %]</a>
42
                            <a class="page-link" href="auth_finder.pl?startfrom=[% number.startfrom | uri %]&amp;authtypecode=[% authtypecode | uri %][% FOREACH searchdat IN number.searchdata %]&amp;[% searchdat.term | uri %]=[% searchdat.val | uri %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index | uri %]&amp;tagid=[% tagid | uri %]&amp;orderby=[% orderby | uri %]&amp;source=[% source | uri %]">
43
                                [% number.number | html %]</a>
44
                        </li>
42
                    [% END %]
45
                    [% END %]
43
                [% END %]
46
                [% END %]
44
                [% IF ( displaynext ) %]
47
                [% IF ( displaynext ) %]
45
                    <a href="auth_finder.pl?startfrom=[% startfromnext | uri %]&amp;authtypecode=[% authtypecode | uri %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term | uri %]=[% searchdat.val | uri %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index | uri %]&amp;tagid=[% tagid | uri %]&amp;orderby=[% orderby | uri %]&amp;source=[% source | uri %]">
48
                    <li class="page-item">
46
                        &gt;&gt;</a>
49
                        <a class="page-link" href="auth_finder.pl?startfrom=[% startfromnext | uri %]&amp;authtypecode=[% authtypecode | uri %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term | uri %]=[% searchdat.val | uri %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index | uri %]&amp;tagid=[% tagid | uri %]&amp;orderby=[% orderby | uri %]&amp;source=[% source | uri %]">
50
                            Next <i class="fa fa-fw fa-angle-right"></i>
51
                        </a>
52
                    </li>
47
                [% END %]
53
                [% END %]
48
            <div>
54
            </ul>
49
                
55
        </nav>
50
                    <p><strong>Results [% from | html %] to [% to | html %] of [% total | html %]</strong></p>
56
    </div>
51
                [% ELSE %]
57
[% END %]
52
                    
58
53
                
59
<body id="auth_searchresultlist_auth" class="auth">
54
            </div>
60
    <div class="container-fluid">
61
62
        <h1>Authority search results</h1>
63
        [% INCLUDE 'auth-finder-search.inc' %]
64
        [% IF ( result ) %]
65
            <p><strong>Results [% from | html %] to [% to | html %] of [% total | html %]</strong></p>
66
            [% PROCESS 'result_page_numbers' %]
67
        [% ELSE %]
55
            <div class="alert alert-info">
68
            <div class="alert alert-info">
56
                <p>No results found</p>
69
                <p>No results found</p>
57
            </div>
70
            </div>
58
            [% END %]
71
        [% END %]
59
        </div>
72
60
        [% IF ( result ) %]<div id="resultlist">
73
        [% IF ( result ) %]
74
            <div id="resultlist" class="page-section">
61
            <table>
75
            <table>
62
                <tr>
76
                <tr>
63
                    <th>Summary</th>
77
                    <th>Summary</th>
Lines 106-132 Link Here
106
                    </tr>
120
                    </tr>
107
                [% END %]
121
                [% END %]
108
            </table>
122
            </table>
109
    
110
        </div>
123
        </div>
111
        <div class="resultnumber">
124
        [% PROCESS 'result_page_numbers' %]
112
            [% IF ( displayprev ) %]
125
        [% END %]
113
                    <a href="auth_finder.pl?startfrom=[% startfromprev | uri %]&amp;authtypecode=[% authtypecode | uri %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term | uri %]=[% searchdat.val | uri %][% END %]&amp;op=do_search&amp;type=intranetamp;&amp;index=[% index | uri %]&amp;tagid=[% tagid | uri %]&amp;orderby=[% orderby | uri %]&amp;source=[% source | uri %]">
126
114
                        &lt;&lt;
115
                    </a>
116
                [% END %]
117
                [% FOREACH number IN numbers %]
118
                    [% IF ( number.highlight ) %]
119
                        [% number.number | html %]
120
                    [% ELSE %]
121
                        <a href="auth_finder.pl?startfrom=[% number.startfrom | uri %]&amp;authtypecode=[% authtypecode | uri %][% FOREACH searchdat IN number.searchdata %]&amp;[% searchdat.term | uri %]=[% searchdat.val | uri %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index | uri %]&amp;tagid=[% tagid | uri %]&amp;orderby=[% orderby | uri %]&amp;source=[% source | uri %]">
122
                            [% number.number | html %]</a>
123
                    [% END %]
124
                [% END %]
125
                [% IF ( displaynext ) %]
126
                    <a href="auth_finder.pl?startfrom=[% startfromnext | uri %]&amp;authtypecode=[% authtypecode | uri %][% FOREACH searchdat IN searchdata %]&amp;[% searchdat.term | uri %]=[% searchdat.val | uri %][% END %]&amp;op=do_search&amp;type=intranet&amp;index=[% index | uri %]&amp;tagid=[% tagid | uri %]&amp;orderby=[% orderby | uri %]&amp;source=[% source | uri %]">
127
                        &gt;&gt;</a>
128
                [% END %]
129
        </div>[% END %]
130
    </div>
127
    </div>
131
128
132
[% INCLUDE 'authority-detail-modal.inc' %]
129
[% INCLUDE 'authority-detail-modal.inc' %]
133
- 

Return to bug 38221