4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Administration › SMS cellular providers</title>
6 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="admin_sms_providers" class="admin">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'prefs-admin-search.inc' %]
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › SMS cellular providers</div>
15 <div class="main container-fluid">
17 <div class="col-sm-10 col-sm-push-2">
20 <div id="toolbar" class="btn-toolbar">
21 <a class="btn btn-default" id="new_provider" href="#"><i class="fa fa-plus"></i> New SMS provider</a>
24 <h2>SMS cellular providers</h2>
26 [% IF providers.size %]
28 <table id="providerst">
33 <th title="Patrons using this provider">Patrons</th>
39 [% FOREACH p IN providers %]
41 <td id="name_[% p.id | html %]">[% p.name | html %]</td>
42 <td id="domain_[% p.id | html %]">[% p.domain | html %]</td>
43 <td id="patrons_using_[% p.id | html %]">[% p.patrons_using | html %]</td>
45 <a class="btn btn-default btn-xs edit" href="#" id="edit_[% p.id | html %]" data-providerid="[% p.id | html %]">
46 <i class="fa fa-pencil"></i> Edit
48 <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 %]">
49 <i class="fa fa-trash"></i> Delete
59 <div class="dialog message">
60 There are no SMS cellular providers defined.
65 <div id="sms_add_form">
66 <form id="sms_form" action="sms_providers.pl" method="post" class="validated">
67 <fieldset class="rows">
68 <legend>Add an SMS cellular provider</legend>
69 <input type="hidden" id="id" name="id" value="" />
70 <input type="hidden" id="op" name="op" value="add_update" />
73 <label for="name" class="required">Name: </label>
74 <input type="text" id="name" name="name" required="required" />
75 <span class="required">Required</span>
78 <label for="domain" class="required">Domain: </label>
79 <input type="text" id="domain" name="domain" required="required" size="40"/>
80 <span class="required">Required</span>
84 <fieldset class="action">
85 <input type="submit" id="submit_save" value="Submit" />
86 <input type="submit" value="Submit" id="submit_update" />
87 <a class="cancel cancel_edit" id="cancel" href="sms_providers.pl">Cancel</a>
93 </div> <!-- /.col-sm-10.col-sm-push-2 -->
95 <div class="col-sm-2 col-sm-pull-10">
97 [% INCLUDE 'admin-menu.inc' %]
99 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
100 </div> <!-- /.row -->
102 [% MACRO jsinclude BLOCK %]
103 [% Asset.js("js/admin-menu.js") | $raw %]
104 [% Asset.js("js/sms_providers.js") | $raw %]
106 [% INCLUDE 'intranet-bottom.inc' %]