Bug 10515: make behavior of library category fetchers consistent with other fetchers
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / roadtype.tt
index b0bad31..ad491fd 100644 (file)
@@ -1,5 +1,5 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Administration &rsaquo; [% IF ( add_form ) %]Road Types &rsaquo; [% IF ( roadtypeid ) %] Modify Road Type[% ELSE %] New Road Type[% END %][% ELSE %][% IF ( delete_confirm ) %]Road Types &rsaquo; Confirm Deletion of Road Type[% ELSE %] Road Type[% END %][% END %]</title>
+<title>Koha &rsaquo; Administration &rsaquo; [% IF ( add_form ) %]Road types &rsaquo; [% IF ( roadtypeid ) %] Modify road type[% ELSE %] New road type[% END %][% ELSE %][% IF ( delete_confirm ) %]Road types &rsaquo; Confirm deletion of road type[% ELSE %] Road type[% END %][% END %]</title>
 [% INCLUDE 'doc-head-close.inc' %]
 <script type="text/javascript">
 //<![CDATA[
 //]]>
 </script>
 </head>
-<body>
+<body id="admin_roadtype" class="admin">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'roadtype-admin-search.inc' %]
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF ( add_form ) %]<a href="/cgi-bin/koha/admin/roadtype.pl">Road Types</a> &rsaquo; [% IF ( roadtypeid ) %] Modify Road Type[% ELSE %] New Road Type[% END %][% ELSE %][% IF ( delete_confirm ) %]<a href="/cgi-bin/koha/admin/roadtype.pl">Road Types</a> &rsaquo; Confirm Deletion of Road Type[% ELSE %] Road Type[% END %][% END %]</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF ( add_form ) %]<a href="/cgi-bin/koha/admin/roadtype.pl">Road types</a> &rsaquo; [% IF ( roadtypeid ) %] Modify road type[% ELSE %] New road type[% END %][% ELSE %][% IF ( delete_confirm ) %]<a href="/cgi-bin/koha/admin/roadtype.pl">Road types</a> &rsaquo; Confirm deletion of road type[% ELSE %] Road type[% END %][% END %]</div>
 
 <div id="doc3" class="yui-t2">
    
@@ -81,7 +81,7 @@
 [% END %]
        <li>                    
                <label for="road_type">Road type: </label>
-       <input  type="text" name="road_type" id="road_type" size="40" maxlength="80" value="[% road_type |html %]" />
+       <input  type="text" name="road_type" id="road_type" size="80" maxlength="100" value="[% road_type |html %]" />
        </li></ol></fieldset>
        
        <fieldset class="action">                                         
@@ -91,9 +91,9 @@
 [% END %]
 
 [% IF ( delete_confirm ) %]
-       <div class="dialog alert"><h3>Delete Road Type "[% road_type %]?"</h3>
+    <div class="dialog alert"><h3>Delete road type "[% road_type %]?"</h3>
 <table>        <tr>
-               <th>Road type id : </th>
+        <th>Road type id: </th>
                        <td>[% roadtypeid %]</td>
                </tr>
        <tr>    <th>Road type: </th>
 
        </tr></table><form action="[% script_name %]" method="post">
                        <input type="hidden" name="op" value="delete_confirmed" />
-                       <input type="hidden" name="roadtypeid" value="[% roadtypeid %]" /><input type="submit" class="approve" value="Yes, Delete" /></form> <form action="[% script_name %]" method="post">
-                       <input type="submit" class="deny" value="No, Do Not Delete" /></form></div>
+            <input type="hidden" name="roadtypeid" value="[% roadtypeid %]" /><input type="submit" class="approve" value="Yes, delete" /></form> <form action="[% script_name %]" method="post">
+            <input type="submit" class="deny" value="No, do not delete" /></form></div>
 [% END %]
 
 [% IF ( else ) %]
 
-<div id="toolbar">
-       <script type="text/javascript">
-       //<![CDATA[
-
-       // prepare DOM for YUI Toolbar
-
-        $(document).ready(function() {
-           yuiToolbar();
-        });
-
-       // YUI Toolbar Functions
-
-       function yuiToolbar() {
-           new YAHOO.widget.Button("addroad");
-       }
-
-       //]]>
-       </script>
-       <ul class="toolbar">
-       <li><a id="addroad" href="/cgi-bin/koha/admin/roadtype.pl?op=add_form">New Road Type</a></li>
-</ul></div>
+<div id="toolbar" class="btn-toolbar">
+    <a class="btn btn-small" id="addroad" href="/cgi-bin/koha/admin/roadtype.pl?op=add_form"><i class="icon-plus"></i> New road type</a>
+</div>
 
        <h2>Road type</h2>
        [% IF ( searchfield ) %]