← Back to team overview

team4alfanous team mailing list archive

[Branch ~team4alfanous/alfanous/alfanous-git] Rev 504: add a header for the WUI including different search domains (Issue #106)

 

------------------------------------------------------------
revno: 504
author: Tedj MEABIOU <tedj.meabiou@xxxxxxxxx>
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sun 2013-01-06 12:13:47 +0100
message:
  add a header for the WUI including different search domains (Issue #106)
modified:
  src/alfanous-django/templates/base.html
  src/alfanous-django/wui/static/css/screen.css


--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git

Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'src/alfanous-django/templates/base.html'
--- src/alfanous-django/templates/base.html	2013-01-05 17:08:08 +0000
+++ src/alfanous-django/templates/base.html	2013-01-06 11:13:47 +0000
@@ -203,6 +203,22 @@
 </head>
 <body>
 
+<!-- Alfanous Header -->
+<div id="alfanousheader">
+<ul class="headermenu">
+<li class="menuitem"><span>{{ _("Ayahs") }}</span></li>
+<li class="menuitem"><a href="#">{{ _("Surahs") }}</a></li>
+<li class="menuitem"><a href="#">{{ _("Words") }}</a></li>
+<li class="menuitem"><a href="#">{{ _("Translations") }}</a></li>
+<li class="menuitem"><a href="#">{{ _("Taffsirs") }}</a></li>
+<li class="menuitem"><a href="#">{{ _("Hadiths") }}</a></li>
+<li class="menuitem"><a href="#">{{ _("Dreams") }}</a></li>
+<li class="menuitem"><a href="#">{{ _("Poems") }}</a></li>
+</ul>
+<div style="clear: left"></div>
+</div>
+<!-- End Alfanous Header -->
+
 <form id="form" name="form" method="get" action=".">
 <div>
 <div>
@@ -376,7 +392,7 @@
     </div>
     <div id="footer-small-wrapper">
         <div id="footer-small">
-            <p class="left">copyright © <a href="https://github.com/Alfanous-team/alfanous/blob/master/AUTHORS.rst";>Alfanous Team</a> 2009 - 2011 | released under <a href="http://www.gnu.org/licenses/agpl.html";>AGPL</a> license</p>
+            <p class="left">copyright © <a href="https://github.com/Alfanous-team/alfanous/blob/master/AUTHORS.rst";>Alfanous Team</a> 2009 - 2012 | released under <a href="http://www.gnu.org/licenses/agpl.html";>AGPL</a> license</p>
             <p class="right">powered by <a href="/jos2/">Alfanous JOS2</a>, <a onclick="addto_searchbar();return false;" href="#">{{ _("Add to Search Bar") }}</a></p>
         </div>
     </div>

=== modified file 'src/alfanous-django/wui/static/css/screen.css'
--- src/alfanous-django/wui/static/css/screen.css	2013-01-04 00:11:31 +0000
+++ src/alfanous-django/wui/static/css/screen.css	2013-01-06 11:13:47 +0000
@@ -859,4 +859,58 @@
 }
 
 
+/* tedj: header style */
+div#alfanousheader {
+font-family: Arial, Helvetica, sans-serif;
+font-weight: bold;
+background: #222;
+position: relative;
+text-align: left;
+z-index: 9999;
+-webkit-font-smoothing: subpixel-antialiased;
+}
+
+div#alfanousheader ul {
+padding: 0 25px;
+}
+
+div#alfanousheader li {
+float: left;
+position: relative;
+margin-right: 4px;
+
+list-style-type: none;
+line-height: normal;
+padding: 0;
+
+margin-bottom: 0;
+}
+
+div#alfanousheader li a {
+position: relative;
+display: block;
+padding: 5px 7px 6px 4px;
+font-size: 16px;
+color: #BBB;
+border-right: 1px solid #222;
+/* text-decoration: none; */
+}
+
+div#alfanousheader li a:hover {
+color: white;
+}
+
+div#alfanousheader li span {
+position: relative;
+display: block;
+padding: 5px 7px 6px 4px;
+font-size: 16px;
+color: white;
+border-right: 1px solid #222;
+/* text-decoration: none; */
+}
+
+
+
+