3 [% PROCESS 'i18n.inc' %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>[% FILTER collapse %]
7 [% t("SMS cellular providers") | html %] ›
8 [% t("Administration") | html %] ›
11 [% INCLUDE 'doc-head-close.inc' %]
14 <body id="admin_sms_providers" class="admin">
15 [% WRAPPER 'header.inc' %]
16 [% INCLUDE 'prefs-admin-search.inc' %]
19 [% WRAPPER 'sub-header.inc' %]
20 [% WRAPPER breadcrumbs %]
21 [% WRAPPER breadcrumb_item %]
22 <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
24 [% WRAPPER breadcrumb_item bc_active= 1 %]
25 <span>SMS cellular providers</span>
27 [% END #/ WRAPPER breadcrumbs %]
28 [% END #/ WRAPPER sub-header.inc %]
30 <div class="main container-fluid">
32 <div class="col-sm-10 col-sm-push-2">
35 <div id="toolbar" class="btn-toolbar">
36 <a class="btn btn-default" id="new_provider" href="#"><i class="fa fa-plus"></i> New SMS provider</a>
39 <h1>SMS cellular providers</h1>
41 [% IF providers.count %]
42 <div id="providers" class="page-section">
48 <th title="Patrons using this provider">Patrons</th>
54 [% FOREACH p IN providers %]
56 <td id="name_[% p.id | html %]">[% p.name | html %]</td>
57 <td id="domain_[% p.id | html %]">[% p.domain | html %]</td>
58 <td id="patrons_using_[% p.id | html %]">[% p.patrons_using | html %]</td>
60 <a class="btn btn-default btn-xs edit" href="#" id="edit_[% p.id | html %]" data-providerid="[% p.id | html %]">
61 <i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit
63 <a class="btn btn-default btn-xs delete" href="#" data-providerid="[% p.id | html %]" data-patrons_using="[% p.patrons_using | html %]" id="delete_[% p.id | html %]">
64 <i class="fa fa-trash-can"></i> Delete
71 </div> <!-- /.page-section -->
74 <div class="dialog message">
75 There are no SMS cellular providers defined.
80 <div id="sms_add_form">
81 <form id="sms_form" action="sms_providers.pl" method="post" class="validated">
82 <fieldset class="rows">
83 <legend>Add an SMS cellular provider</legend>
84 <input type="hidden" id="id" name="id" value="" />
85 <input type="hidden" id="op" name="op" value="add_update" />
88 <label for="name" class="required">Name: </label>
89 <input type="text" id="name" name="name" required="required" />
90 <span class="required">Required</span>
93 <label for="domain" class="required">Domain: </label>
94 <input type="text" id="domain" name="domain" required="required" size="40"/>
95 <span class="required">Required</span>
99 <fieldset class="action">
100 <input type="submit" id="submit_save" class="btn btn-primary" value="Submit" />
101 <input type="submit" id="submit_update" class="btn btn-primary" value="Submit" />
102 <a class="cancel cancel_edit" id="cancel" href="sms_providers.pl">Cancel</a>
108 </div> <!-- /.col-sm-10.col-sm-push-2 -->
110 <div class="col-sm-2 col-sm-pull-10">
112 [% INCLUDE 'admin-menu.inc' %]
114 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
115 </div> <!-- /.row -->
117 [% MACRO jsinclude BLOCK %]
118 [% Asset.js("js/admin-menu.js") | $raw %]
119 [% Asset.js("js/sms_providers.js") | $raw %]
121 [% INCLUDE 'intranet-bottom.inc' %]