4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>SMS cellular providers › Administration › Koha</title>
6 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="admin_sms_providers" class="admin">
10 [% WRAPPER 'header.inc' %]
11 [% INCLUDE 'prefs-admin-search.inc' %]
14 [% WRAPPER 'sub-header.inc' %]
15 [% WRAPPER breadcrumbs %]
16 [% WRAPPER breadcrumb_item %]
17 <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
19 [% WRAPPER breadcrumb_item bc_active= 1 %]
20 <span>SMS cellular providers</span>
22 [% END #/ WRAPPER breadcrumbs %]
23 [% END #/ WRAPPER sub-header.inc %]
25 <div class="main container-fluid">
27 <div class="col-sm-10 col-sm-push-2">
30 <div id="toolbar" class="btn-toolbar">
31 <a class="btn btn-default" id="new_provider" href="#"><i class="fa fa-plus"></i> New SMS provider</a>
34 <h1>SMS cellular providers</h1>
36 [% IF providers.count %]
37 <div id="providers" class="page-section">
43 <th title="Patrons using this provider">Patrons</th>
49 [% FOREACH p IN providers %]
51 <td id="name_[% p.id | html %]">[% p.name | html %]</td>
52 <td id="domain_[% p.id | html %]">[% p.domain | html %]</td>
53 <td id="patrons_using_[% p.id | html %]">[% p.patrons_using | html %]</td>
55 <a class="btn btn-default btn-xs edit" href="#" id="edit_[% p.id | html %]" data-providerid="[% p.id | html %]">
56 <i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit
58 <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 %]">
59 <i class="fa fa-trash-can"></i> Delete
66 </div> <!-- /.page-section -->
69 <div class="dialog message">
70 There are no SMS cellular providers defined.
75 <div id="sms_add_form">
76 <form id="sms_form" action="sms_providers.pl" method="post" class="validated">
77 <fieldset class="rows">
78 <legend>Add an SMS cellular provider</legend>
79 <input type="hidden" id="id" name="id" value="" />
80 <input type="hidden" id="op" name="op" value="add_update" />
83 <label for="name" class="required">Name: </label>
84 <input type="text" id="name" name="name" required="required" />
85 <span class="required">Required</span>
88 <label for="domain" class="required">Domain: </label>
89 <input type="text" id="domain" name="domain" required="required" size="40"/>
90 <span class="required">Required</span>
94 <fieldset class="action">
95 <input type="submit" id="submit_save" class="btn btn-primary" value="Submit" />
96 <input type="submit" id="submit_update" class="btn btn-primary" value="Submit" />
97 <a class="cancel cancel_edit" id="cancel" href="sms_providers.pl">Cancel</a>
103 </div> <!-- /.col-sm-10.col-sm-push-2 -->
105 <div class="col-sm-2 col-sm-pull-10">
107 [% INCLUDE 'admin-menu.inc' %]
109 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
110 </div> <!-- /.row -->
112 [% MACRO jsinclude BLOCK %]
113 [% Asset.js("js/admin-menu.js") | $raw %]
114 [% Asset.js("js/sms_providers.js") | $raw %]
116 [% INCLUDE 'intranet-bottom.inc' %]