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 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
21 <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
24 <a href="#" aria-current="page">
25 SMS cellular providers
32 <div class="main container-fluid">
34 <div class="col-sm-10 col-sm-push-2">
37 <div id="toolbar" class="btn-toolbar">
38 <a class="btn btn-default" id="new_provider" href="#"><i class="fa fa-plus"></i> New SMS provider</a>
41 <h1>SMS cellular providers</h1>
43 [% IF providers.count %]
44 <div id="providers" class="page-section">
50 <th title="Patrons using this provider">Patrons</th>
56 [% FOREACH p IN providers %]
58 <td id="name_[% p.id | html %]">[% p.name | html %]</td>
59 <td id="domain_[% p.id | html %]">[% p.domain | html %]</td>
60 <td id="patrons_using_[% p.id | html %]">[% p.patrons_using | html %]</td>
62 <a class="btn btn-default btn-xs edit" href="#" id="edit_[% p.id | html %]" data-providerid="[% p.id | html %]">
63 <i class="fa fa-pencil"></i> Edit
65 <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 %]">
66 <i class="fa fa-trash"></i> Delete
73 </div> <!-- /.page-section -->
76 <div class="dialog message">
77 There are no SMS cellular providers defined.
82 <div id="sms_add_form">
83 <form id="sms_form" action="sms_providers.pl" method="post" class="validated">
84 <fieldset class="rows">
85 <legend>Add an SMS cellular provider</legend>
86 <input type="hidden" id="id" name="id" value="" />
87 <input type="hidden" id="op" name="op" value="add_update" />
90 <label for="name" class="required">Name: </label>
91 <input type="text" id="name" name="name" required="required" />
92 <span class="required">Required</span>
95 <label for="domain" class="required">Domain: </label>
96 <input type="text" id="domain" name="domain" required="required" size="40"/>
97 <span class="required">Required</span>
101 <fieldset class="action">
102 <input type="submit" id="submit_save" class="btn btn-primary" value="Submit" />
103 <input type="submit" id="submit_update" class="btn btn-primary" value="Submit" />
104 <a class="cancel cancel_edit" id="cancel" href="sms_providers.pl">Cancel</a>
110 </div> <!-- /.col-sm-10.col-sm-push-2 -->
112 <div class="col-sm-2 col-sm-pull-10">
114 [% INCLUDE 'admin-menu.inc' %]
116 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
117 </div> <!-- /.row -->
119 [% MACRO jsinclude BLOCK %]
120 [% Asset.js("js/admin-menu.js") | $raw %]
121 [% Asset.js("js/sms_providers.js") | $raw %]
123 [% INCLUDE 'intranet-bottom.inc' %]