webstaff: browser client: starting local admin landing page
authorBill Erickson <berickxx@gmail.com>
Fri, 24 Jul 2015 02:35:47 +0000 (22:35 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 2 Feb 2016 01:36:24 +0000 (20:36 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/staff/admin/local_admin.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/css/admin.css.tt2
Open-ILS/src/templates/staff/navbar.tt2

diff --git a/Open-ILS/src/templates/staff/admin/local_admin.tt2 b/Open-ILS/src/templates/staff/admin/local_admin.tt2
new file mode 100644 (file)
index 0000000..ed0590e
--- /dev/null
@@ -0,0 +1,43 @@
+[%
+  WRAPPER "staff/base.tt2";
+  ctx.page_title = l("Local Administration"); 
+  ctx.page_app = "egLocalAdmin";
+%]
+
+[% BLOCK APP_JS %]
+<script>
+  /* just enough JS for the the navbar to display */
+  angular.module('egLocalAdmin', ['ngRoute', 'ui.bootstrap', 'egCoreMod']);
+</script>
+<link rel="stylesheet" href="[% ctx.base_path %]/staff/css/admin.css" />
+[% END %]
+
+<div class="container-fluid" style="text-align:center">
+  <div class="alert alert-info alert-less-pad strong-text-2">
+    <span>[% l('Local Administration') %]</span>
+  </div>
+</div>
+
+<div class="container admin-splash-container">
+
+  <div class="row new-entry">
+    <div class="col-md-3">
+      <span class="glyphicon glyphicon-pencil"></span>
+      <a target="_self" href="./admin/actor/address_alert">
+        [% l('Address Alerts') %]
+      </a>
+    </div>
+  </div>
+  <div class="row new-entry">
+    <div class="col-md-3">
+      <span class="glyphicon glyphicon-pencil"></span>
+      <a target="_self" href="./admin/circ/age_to_lost">
+        [% l('Age Overdue Circs to Lost') %]
+      </a>
+    </div>
+  </div>
+
+</div>
+
+
+[% END %]
index f418546..1c96365 100644 (file)
 #age-to-lost-container .form-group {
   padding-right: 10px;
 }
+  
+.admin-splash-container .row {
+  margin-top: 5px;
+}
+
+.admin-splash-container .new-entry {
+  margin-top: 10px;
+  padding-top: 10px;
+  border-top: 2px solid #F5F5F5;
+}
+
index 0c8748b..afe2c9c 100644 (file)
               [% l('User Permission Editor') %]
             </a>
           </li>
+          <li>
+            <a href="./admin/local_admin" target="_self">
+              <span class="glyphicon glyphicon-picture"></span>
+              [% l('Local Administration') %]
+            </a>
+          </li>
         </ul> <!-- admin dropdown -->
       </li>
     </ul> <!-- end left side entries -->