OPAC: New Nav Bars rel_3_6_0_opac_new_nav_links
authorTerran McCanna <tmccanna@georgialibraries.org>
Thu, 12 Nov 2020 01:18:24 +0000 (20:18 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Thu, 12 Nov 2020 01:18:24 +0000 (20:18 -0500)
Update top and bottom navigation bars in new bootstrap OPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2
Open-ILS/src/templates-bootstrap/opac/parts/footer.tt2
Open-ILS/src/templates-bootstrap/opac/parts/topnav_links.tt2

index df0122f..5065da6 100755 (executable)
@@ -3875,6 +3875,7 @@ label[for*=expert_]
 
 .navbar-dark .navbar-nav .nav-link{
     color: #fff !important;
+    font-weight:bold;
 }
 
 .nav-link.active {
index e752366..96bc57c 100755 (executable)
     <div class="row w-100">
         <div class="col-12">
             <ul class="navbar-nav">
-                <!--Link 1-->
-            [% IF ctx.get_org_setting(ctx.physical_loc || ctx.aou_tree.id, 'opac.allow_pending_user') && !ctx.user %]
-                <li class="nav-item"><a class="nav-link" href="[% mkurl(ctx.opac_root _ '/register') %]">[%
-                l('Request Library Card') %]</a></li>
-            [% ELSE %]
-                <li class="nav-item"><a class="nav-link" href="#">[% l('Example Link 1') %]</a></li>
-            [% END %]
-                <li class="nav-item"><a class="nav-link" href="#">[% l('Example Link 2') %]</a></li>
-                <li class="nav-item"><a class="nav-link" href="#">[% l('Example Link 3') %]</a></li>
-                <li class="nav-item"><a class="nav-link" href="#">[% l('Example Link 4') %]</a></li>
+                <li class="nav-item"><a class="nav-link" href="http://pines.georgialibraries.org/about" target="_blank">[% l('Learn More About PINES') %]</a></li>
+                <li class="nav-item"><a class="nav-link" href="https://my.nicheacademy.com/pines/course/15006" target="_blank">[% l('How to Use the PINES Catalog') %]</a></li>
             </ul>
         </div>
     </div>
     [% END %]
 
       <div id="copyright_text" class="mt-3">
-        [% l('Copyright &copy; 2006-[_1] Georgia Public Library Service, and others', date.format(date.now, '%Y')) %]
-    <div id="footer_logo">
+        [% l('Copyright &copy; 2006-[_1] Georgia Public Library Service, and others', date.format(date.now, '%Y')) %]<br/>
+        <a href="https://gapines.org/images/IMLS-logo.jpg">
+          <img src="/images/IMLS-logo.jpg" alt="IMLS Logo" style="padding:10px;height:80px;"></a><br/>
+        [% l('This Web site and other Georgia Public Library Service programs are partially assisted with funds from the Library Services and Technology Act through the Institute of Museum and Library Services.') %]
+      <div id="footer_logo">
         [% l('Powered by') %]
         <a href="http://evergreen-ils.org">
             <img src="[% ctx.media_prefix %]/opac/images/eg_tiny_logo.png[% ctx.cache_key %]"
                 alt="[% l('Evergreen') %]"
             />
         </a>
-    </div>
+      </div>
     </div>
    
 </div>
index 7d8745c..ed30b4d 100755 (executable)
@@ -8,23 +8,22 @@
   <!--Left Links-->
 
 
-   <ul class="navbar-nav nav-fl px-3">
-      <!--Link 1-->
+    <ul class="navbar-nav nav-fl px-3">
       <li class="nav-item">
-        <a class="nav-link" href="[% ctx.link_one %]">Example Link 1<span class="sr-only">(current)</span></a>
+        <a class="nav-link" href="http://pines.georgialibraries.org/pinesLocator/locator.html" target="_blank"><img src="/images/pines-dot.png" alt="" style="height:12px;border:0px;" aria-hidden="true"> [% l('Library Locations') %]</a>
       </li>
-        <!--Link 2-->
       <li class="nav-item">
-        <a class="nav-link" href="[% ctx.link_two %]">Example Link 2</a>
+        <a class="nav-link" href="https://pines.georgialibraries.org/app" target="_blank"><img src="/images/pines-dot.png" alt="" style="height:12px;border:0px;" aria-hidden="true"> [% l('Download the PINES App') %]</a>
       </li>
-        <!--Link 3-->
       <li class="nav-item">
-        <a class="nav-link" href="[% ctx.link_three %]">Example Link 3</a>
+        <a class="nav-link" href="https://gapines.org/eg/kpac/home"><img src="/images/pines-dot.png" alt="" style="height:12px;border:0px;" aria-hidden="true"> [% l('Kids\' Catalog') %]</a>
       </li>
-        <!--Link 4-->
       <li class="nav-item">
-        <a class="nav-link" href="[% ctx.link_four %]">Example Link 4</a>
+        <a class="nav-link" href="https://gapines.org/eg/opac/galileo"><img src="/images/pines-dot.png" alt="" style="height:12px;border:0px;" aria-hidden="true"> [% l('GALILEO Virtual Library') %]</a>
       </li>
+      [% IF ctx.get_org_setting(ctx.physical_loc || ctx.aou_tree.id,  'opac.allow_pending_user') && !ctx.user %]
+        <li class="nav-item"><a class="nav-link" href="[% mkurl(ctx.opac_root _ '/register') %]"><img src="/images/pines-dot.png" alt="" style="height:12px;border:0px;" aria-hidden="true"> [% l('Apply for a PINES Library Card') %]</a></li>
+      [% END %]
     </ul>
     <!--Right Links-->
     <ul class="navbar-nav ml-auto nav-fr px-3">