← Back to team overview

team4alfanous team mailing list archive

[Branch ~team4alfanous/alfanous/alfanous-git] Rev 507: add three more side buttons: F.A.Q., Help, Download

 

------------------------------------------------------------
revno: 507
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sun 2013-01-06 13:53:34 +0100
message:
  add three more side buttons: F.A.Q., Help, Download 
  and make some css improvements 
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-06 12:28:58 +0000
+++ src/alfanous-django/templates/base.html	2013-01-06 12:53:34 +0000
@@ -71,12 +71,8 @@
 			$(".details_label").corner("3px");
 			$("#search_words").corner("30px");
 			$("#suggestions").corner("30px");
-			$("#feedback_button").corner();
-			$("#donate_button").corner();
-			$("#translate_button").corner();
-			$("#contribute_button").corner();
-			
-			
+			$("div.sidebox a ").corner();
+
 			$(document).scrollTop($("#search_result_static").position().top);
 			
 			update_share_links()
@@ -261,19 +257,31 @@
 
 
 <div  class="sidebox feedback-sidebox" > 
-	<a id="feedback_button" target='_blank' href='http://feedback.alfanous.org/'>{{ _("Feedback") }}</a><br/>
+	<a  target='_blank' href='http://feedback.alfanous.org/'>{{ _("Feedback") }}</a><br/>
 </div>
 
 <div class="sidebox donate-sidebox" > 
-	<a id="donate_button" target='_blank' href=''>{{ _("Donate") }}</a><br/>
+	<a  target='_blank' href=''>{{ _("Donate") }}</a><br/>
 </div>
 
 <div class="sidebox translate-sidebox" > 
-	<a id="translate_button" target='_blank' href='#'>{{ _("Translate") }}</a><br/>
+	<a  target='_blank' href='#'>{{ _("Translate") }}</a><br/>
 </div>
 
 <div class="sidebox contribute-sidebox" > 
-	<a id="contribute_button" target='_blank' href='#'>{{ _("Contribute") }}</a><br/>
+	<a  target='_blank' href='#'>{{ _("Contribute") }}</a><br/>
+</div>
+
+<div class="sidebox faq-sidebox" > 
+	<a  target='_blank' href='#'>{{ _("F.A.Q.") }}</a><br/>
+</div>
+
+<div class="sidebox help-sidebox" > 
+	<a target='_blank' href='#'>{{ _("Help") }}</a><br/>
+</div>
+
+<div class="sidebox download-sidebox" > 
+	<a  target='_blank' href='#'>{{ _("Downloads") }}</a><br/>
 </div>
 
 

=== modified file 'src/alfanous-django/wui/static/css/screen.css'
--- src/alfanous-django/wui/static/css/screen.css	2013-01-06 12:28:58 +0000
+++ src/alfanous-django/wui/static/css/screen.css	2013-01-06 12:53:34 +0000
@@ -271,18 +271,20 @@
 .sidebox a {
 	margin-left:-10px;
 	line-height:50px;
-	padding:0px 2px 0px 10px ;
+	padding:0px 0px 0px 10px ;
 	font-weight: bold;
+	font-size: 15px;
 	/*text-align: left;*/
+	text-decoration: none;
 	background-color: #OOO; /* override it to make different color */
 	color: white;
 	display: block;
-	height: 45px;
-	width: 120px
+	height: 40px;
+	width: 110px
 }
 
 .feedback-sidebox {
-	top:200px;
+	top:150px;
  }
 
 .feedback-sidebox a {
@@ -290,7 +292,7 @@
 }
 
 .donate-sidebox {
-	top:250px;
+	top:195px;
  }
 
 .donate-sidebox a {
@@ -298,7 +300,7 @@
 }
 
 .translate-sidebox {
-	top:300px;
+	top:240px;
  }
 
 .translate-sidebox a {
@@ -306,13 +308,40 @@
 }
 
 .contribute-sidebox {
-	top:350px;
+	top:285px;
  }
 
 .contribute-sidebox a {
 	background-color: #000000; /*#339A63*/
 }
 
+.faq-sidebox {
+	top:350px;
+ }
+
+.faq-sidebox a {
+	background-color: #BDB; 
+	color: black;
+}
+
+.help-sidebox {
+	top:395px;
+ }
+
+.help-sidebox a {
+	background-color: #BBD; 
+	color: black;
+}
+
+.download-sidebox {
+	top:440px;
+ }
+
+.download-sidebox a {
+	background-color: #DBB; 
+	color: black;
+}
+
 
 .follow-box {
 	border:0 none;