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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt (-39 / +40 lines)
Lines 100-147 Link Here
100
                            [% END %]
100
                            [% END %]
101
                        </div>
101
                        </div>
102
                    [% END %]
102
                    [% END %]
103
                    <table id="audio-alerts-table">
103
                    <div class="page-section">
104
                        <thead id="audio-alerts-table-head">
104
                        <table id="audio-alerts-table">
105
                            <tr>
105
                            <thead id="audio-alerts-table-head">
106
                                <th>&nbsp;</th>
107
                                <th>Precedence</th>
108
                                <th>Change order</th>
109
                                <th>Selector</th>
110
                                <th>Sound</th>
111
                                <th>&nbsp;</th>
112
                            </tr>
113
                        </thead>
114
115
                        <tbody id="audio-alerts-table-body">
116
                            [% FOREACH a IN audio_alerts %]
117
                                <tr>
106
                                <tr>
118
                                    <td><input type="checkbox" name="delete" value="[% a.id | html %]" /></td>
107
                                    <th>&nbsp;</th>
119
                                    <td>[% a.precedence | html %]</td>
108
                                    <th>Precedence</th>
120
                                    <td style="white-space:nowrap;">
109
                                    <th>Change order</th>
121
                                        <a title="Move alert up" href="audio_alerts.pl?action=move&amp;where=up&amp;id=[% a.id | html %]">
110
                                    <th>Selector</th>
122
                                            <i class="fa fa-arrow-up fa-lg order-control"></i>
111
                                    <th>Sound</th>
123
                                        </a>
112
                                    <th>&nbsp;</th>
113
                                </tr>
114
                            </thead>
124
115
125
                                        <a title="Move alert to top" href="audio_alerts.pl?action=move&amp;where=top&amp;id=[% a.id | html %]">
116
                            <tbody id="audio-alerts-table-body">
126
                                            <i class="fa fa-arrow-up fa-lg overline order-control"></i>
117
                                [% FOREACH a IN audio_alerts %]
127
                                        </a>
118
                                    <tr>
119
                                        <td><input type="checkbox" name="delete" value="[% a.id | html %]" /></td>
120
                                        <td>[% a.precedence | html %]</td>
121
                                        <td style="white-space:nowrap;">
122
                                            <a title="Move alert up" href="audio_alerts.pl?action=move&amp;where=up&amp;id=[% a.id | html %]">
123
                                                <i class="fa fa-arrow-up fa-lg order-control"></i>
124
                                            </a>
128
125
129
                                        <a title="Move alert to bottom" href="audio_alerts.pl?action=move&amp;where=bottom&amp;id=[% a.id | html %]">
126
                                            <a title="Move alert to top" href="audio_alerts.pl?action=move&amp;where=top&amp;id=[% a.id | html %]">
130
                                            <i class="fa fa-arrow-down fa-lg underline order-control"></i>
127
                                                <i class="fa fa-arrow-up fa-lg overline order-control"></i>
131
                                        </a>
128
                                            </a>
132
129
133
                                        <a title="Move alert down" href="audio_alerts.pl?action=move&amp;where=down&amp;id=[% a.id | html %]">
130
                                            <a title="Move alert to bottom" href="audio_alerts.pl?action=move&amp;where=bottom&amp;id=[% a.id | html %]">
134
                                            <i class="fa fa-arrow-down fa-lg order-control"></i>
131
                                                <i class="fa fa-arrow-down fa-lg underline order-control"></i>
135
                                        </a>
132
                                            </a>
136
                                    </td>
133
137
                                    <td>[% a.selector | html %]</td>
134
                                            <a title="Move alert down" href="audio_alerts.pl?action=move&amp;where=down&amp;id=[% a.id | html %]">
138
                                    <td>[% a.sound | html %]</td>
135
                                                <i class="fa fa-arrow-down fa-lg order-control"></i>
139
                                    <td>
136
                                            </a>
140
                                        <a class="btn btn-default btn-xs edit" data-soundid="[% a.id | html %]" data-precedence="[% a.precedence | html %]" data-selector="[% a.selector | html %]" data-sound="[% a.sound | html %]"><i class="fa fa-pencil"></i> Edit</a></td>
137
                                        </td>
141
                                </tr>
138
                                        <td>[% a.selector | html %]</td>
142
                            [% END %]
139
                                        <td>[% a.sound | html %]</td>
143
                        </tbody>
140
                                        <td>
144
                    </table>
141
                                            <a class="btn btn-default btn-xs edit" data-soundid="[% a.id | html %]" data-precedence="[% a.precedence | html %]" data-selector="[% a.selector | html %]" data-sound="[% a.sound | html %]"><i class="fa fa-pencil"></i> Edit</a></td>
142
                                    </tr>
143
                                [% END %]
144
                            </tbody>
145
                        </table>
146
                    </div> <!-- /.page-section -->
145
147
146
                    <p>
148
                    <p>
147
                        <button id="delete-alerts" type="submit" class="btn btn-default disabled"><i class="fa fa-trash"></i> Delete selected alerts</button>
149
                        <button id="delete-alerts" type="submit" class="btn btn-default disabled"><i class="fa fa-trash"></i> Delete selected alerts</button>
148
- 

Return to bug 31780