LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

OPAC CUSTOMISATION – CSS, HTML SOURCE CODE (from v20.11 onwards)

0 comments

Prepared for National Virtual Workshop on Koha ILS Nov. 1-10 2021

Opacheader

Using HTML only

<img src="https://i.postimg.cc/DfWXFYfN/sn-removebg-preview.png" alt="Smiley face" width="70" height="70" style="vertical-align: middle;" /> <b style="color: blue;">SREE NARAYANA COLLEGE LIBRARY &amp; RESOURCE CENTER</b>

Using a Banner

<img src="/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/images/header.png" style="width:100%;height:100%;">

Opacnews

<hr /><center>

<div style="width: device; text-align: left; border: solid 0px #02c8f9; border-radius: 1px; height: 250px; background: -moz-linear-gradient(top, transparent 80%, #0c426f 100%); padding: 6px; line-height: 12px; color: #333399; font-size: 12px;"><marquee onmouseover="this.stop();" onmouseout="this.start();" direction="up" scrollamount="2" height="200"><!-- Your first text here followed by link --><br /># Notice for Subscribing E-resource of @ N-LIST of INFLIBNET. <br /># All final year students are requested to return library books before June-2021 <br /># Quotations are invited. Please contact library office. </marquee></div>

</center><hr />

OpacMainUserBlock

<center>Welcome to Demo Central Library</center><br /><img src="/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/images/main.jpg" width="100%" height="333" />

<h2><span align="center" style="color: #0c426f; font-size: x-large;"> <br />About Library </span></h2>

<p align="justify">The college offers one of the best college libraries in the state of Kerala. The library is a fully automated library. The mission of the college library is to facilitate the creation of new knowledge through the acquisition, organization, and dissemination of knowledge resources and provide value-added services. It has an excellent collection of books, journals, periodicals, nonbook materials in the field of management studies, English literature, sociology, and general books, etc.</p>

<h4>Services Provided</h4>

The library provides the following services.

<ul>

<li>Loan Service</li>

<li>Reference Service</li>

<li>Digital Library Service</li>

<li>New Addition Alert Service</li>

<li>User Education</li>

<li>Current Awareness Service</li>

</ul>

OpacUserCSS

.OpacNavRight_en_header {

border: solid;

border-radius: 20px;

background-color: #1EA5E9;

color: white;

text-align: center;

font-weight: bold;

padding-top: 10px;

padding-bottom: 10px;

font-size: 14px;}

#moresearches li a{

display:inline-block;

color:white;

border:1px solid #CCC;

background:#1EA5E9;

box-shadow: 0 0 5px -1px rgba(0,0,0,0.2);

cursor:pointer;

vertical-align:middle;

font-weight: bold;

padding: 2px;

text-align: center;

border-radius:5px;

}

#moresearches{

text-align: center !important;}

.table tbody tr.warning > td {

background-color: #1EA5E9;

}

.table td, .table th {

line-height: 135%;

}

.table th, .table td {

padding: 8px;

line-height: 20px;

text-align: left;

vertical-align: top;

border-top: 1px solid #dddddd;

}

OpacNav

<h6>Important Links</h6>

<ul class="unstyled">

<li><a href="http://www.digitallibrary.hec.edu.pk">Digital Library</a></li>

<li><a href="https://youtube.com/">Google</a></li>

<li><a href="https://fb.com/">Facebook</a></li></ul>

<h6>E_Resources</h6>

<ul class="unstyled">

<li><a href="http://www.digitallibrary.hec.edu.pk">Digital Library</a></li>

<li><a href="https://youtube.com/">Google</a></li>

<li><a href="https://fb.com/">Facebook</a></li>

</ul>

OpacNavBottom

<center><b>OPAC VISIT COUNT</b><p>

<!-- hitwebcounter Code START -->

<a href="https://www.hitwebcounter.com" target="_blank">

<img src="https://hitwebcounter.com/counter/counter.php?page=7893111&style=0001&nbdigits=5&type=page&initCount=0" title="Free Counter" Alt="web counter" border="0" /></a></center></p>

OpacNavRight

<table class="table table-curved" style="height: 90px;">

<thead>

<tr style="height: 0px;">

<td style="width: 56.3833px; height: 0px;"></td>

<td style="width: 119.283px; height: 0px;"></td>

</tr>

</thead>

<tbody>

<tr class="warning" style="height: 15px;">

<td style="color: #ffffff; width: 178.667px; height: 15px;" colspan="2"><center>Library Time</center></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;">Mon - Sat</td>

<td style="text-align: center; width: 119.283px; height: 15px;">&nbsp;9.00 AM - 03:30 PM</td>

</tr>

<tr class="warning" style="height: 15px;">

<td style="color: #ffffff; width: 178.667px; height: 15px;" colspan="2"><center>Allowed Circulation Books</center></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;">Students</td>

<td style="text-align: center; width: 119.283px; height: 15px;">1 book</td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;">Teachers</td>

<td style="text-align: center; width: 119.283px; height: 15px;">3 books</td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;">Others</td>

<td style="text-align: center; width: 119.283px; height: 15px;">1 book</td>

</tr>

</tbody>

</table>

<table class="table table-curved" style="height: 90px;">

<thead>

<tr style="height: 0px;">

<td style="width: 100%; height: 0%;"></td>

</tr>

</thead>

<tbody>

<tr class="warning" style="height: 15px;">

<td style="color: #ffffff; width: 178.667px; height: 15px;" colspan="2"><center>Useful links</center></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;"><a href="http://www.digitallibrary.hec.edu.pk">Digital Library</a></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;"><a href="https://ndl.iitkgp.ac.in/">National Digital Library</a></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;"><a href="http://nopr.niscair.res.in/">NISCAIR Online Periodicals</a></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;"><a href="https://doaj.org/">DOAJ</a></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;"><a href="https://oatd.org/oatd-publishers.html">OATD</a></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;"><a href="http://www.springeropen.com/books">SpringerOpen Books</a></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;"><a href="http://www.springeropen.com/journals">SpringerOpen Journals</a></td>

</tr>

<tr style="height: 15px;">

<td style="width: 56.3833px; height: 15px;"><a href="https://archive.org/">Internet Archive</a></td>

</tr>

</tbody>

</table>
 
OpacCredit

<div class="text-center">© <script>document.write(new Date().getFullYear())</script> <a href="https://gfgc.kar.nic.in/talakadu" target="_blank " class="footer_lnk">Government First Grade College</a>. All Rights Reserved.</div>
</div>
<div class="span6">
<div class="text-center">Implemented by <a href="https://maheshpalamuttath.info/" target="_blank" class="footer_lnk" target="_blank" rel="noopener">Mahesh Palamuttath</a></div>
</div>
<div class="span6">

OpacLoginInstructions

<p style="font-size: 15px;">Log in with your username and password to know your personal, library details, fines, and other transactions. Username is your library card number (Admission number) password is 123. Change your default password after your first login</p>

<p>Example</p>

<p>Username: GEMS1001<br />Password: 123</p>

</center>

Add New Links in OpacMoreSearch

<div class="row">

<ul class="nav" id="moresearches">

<li class="nav-item">

<a href="/cgi-bin/koha/opac-search.pl">E-Resources</a>

</li>


<li class="nav-item">

<a href="/cgi-bin/koha/opac-search.pl">About Library</a>

</li>


<li class="nav-item">

<a href="/cgi-bin/koha/opac-search.pl">Register</a>

</li>

<li class="nav-item">

<a href="/cgi-bin/koha/opac-search.pl">Gallery</a>

</li>


<li class="nav-item">

<a href="/cgi-bin/koha/opac-search.pl">Downloads</a>

</li>

</ul> <!-- /.nav#moresearches -->

</div> <!-- /.row -->

</div> <!-- /.container-fluid -->

Enable Accession number in the search bar

$("select[name='idx']").append("<option value='bc'>Accession No.</option>");

No comments:

Post a Comment