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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt (-11 / +9 lines)
Lines 44-53 Link Here
44
            [% PROCESS pagination %]
44
            [% PROCESS pagination %]
45
45
46
            <form name="resultform" action="" style="display:block">
46
            <form name="resultform" action="" style="display:block">
47
            <div id="toolbar" class="btn-toolbar">
47
48
                <div class="btn-group"><button type="button" class="btn btn-default" id="add_items"><i class="fa fa-plus"></i> Add checked</button></div>
49
                <div class="btn-group"><a href="#" class="btn btn-default close"><i class="fa fa-times-circle"></i> Done</a></div>
50
            </div>
51
            <div id="selection_ops">
48
            <div id="selection_ops">
52
                <a id="CheckAll" class="btn btn-link" href="#"><i class="fa fa-check"></i> Select all</a>
49
                <a id="CheckAll" class="btn btn-link" href="#"><i class="fa fa-check"></i> Select all</a>
53
                <a id="CheckNone" class="btn btn-link" href="#"><i class="fa fa-times"></i> Clear all</a>
50
                <a id="CheckNone" class="btn btn-link" href="#"><i class="fa fa-times"></i> Clear all</a>
Lines 107-125 Link Here
107
            </form>
104
            </form>
108
        </div>
105
        </div>
109
        [% PROCESS pagination %]
106
        [% PROCESS pagination %]
110
        <div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div>
107
        <nav class="navbar navbar-default navbar-fixed-bottom">
108
            <div class="container-fluid">
109
                <fieldset class="action">
110
                    <button type="button" class="btn btn-primary" id="add_items"><i class="fa fa-plus"></i> Add checked</button>
111
                    <a href="#" class="btn btn-default close_window">Done</a>
112
                </fieldset>
113
            </div>
114
        </nav>
111
    </div>
115
    </div>
112
116
113
[% MACRO jsinclude BLOCK %]
117
[% MACRO jsinclude BLOCK %]
114
    [% Asset.js("lib/hc-sticky.js") | $raw %]
115
    <script>
118
    <script>
116
        var Sticky;
119
        var Sticky;
117
        $(document).ready(function(){
120
        $(document).ready(function(){
118
            Sticky = $("#toolbar");
119
            Sticky.hcSticky({
120
                stickTo: "form",
121
                stickyClass: "floating"
122
            });
123
            $("#CheckAll").click(function(e){
121
            $("#CheckAll").click(function(e){
124
                e.preventDefault();
122
                e.preventDefault();
125
                $("input[type='checkbox']").prop("checked",true);
123
                $("input[type='checkbox']").prop("checked",true);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt (-5 / +8 lines)
Lines 143-152 Link Here
143
                </ol>
143
                </ol>
144
            </fieldset>
144
            </fieldset>
145
145
146
            <fieldset class="action">
146
            <nav class="navbar navbar-default navbar-fixed-bottom">
147
                <input type="submit" class="btn btn-primary" value="Search" />
147
                <div class="container-fluid">
148
                <a class="cancel close" href="#">Cancel</a>
148
                    <fieldset class="action">
149
            </fieldset>
149
                        <input type="submit" class="btn btn-primary" value="Search" />
150
                        <button type="button" class="btn btn-default close_window">Close window</button>
151
                    </fieldset>
152
                </div>
153
            </nav>
150
        </form>
154
        </form>
151
    </div>
155
    </div>
152
156
153
- 

Return to bug 35350