changeset 263:8c3922a65231

Work on entry admin looks.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 24 Nov 2013 03:09:12 +0200
parents 96258f449a3d
children fb9bf61c9918
files admin.css admin.php
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/admin.css	Sun Nov 24 02:55:05 2013 +0200
+++ b/admin.css	Sun Nov 24 03:09:12 2013 +0200
@@ -5,21 +5,27 @@
 }
 
 div.tabHeadersSub {
+	margin-top: 10pt;
+	margin-bottom: 0px;
 	font-size: 0.7em;
+	line-height: 2.7em;
 }
 
 div.tabHeadersSub a {
 	text-decoration: none;
-	margin: 5pt;
+	margin: 0px;
 	padding: 5pt;
 	background: #595F23;
 	text-shadow: 2px 2px 1px rgba(0,0,0,0.4);
+	border-radius: 5pt;
 }
 
 div.tabHeaders a {
 	text-decoration: none;
 	padding: 5pt;
 	margin: 5pt;
+	margin-left: 0px;
+	margin-right: 0px;
 	background: #595F23;
 	text-shadow: 2px 2px 1px rgba(0,0,0,0.4);
 	border-top-left-radius: 5pt;
--- a/admin.php	Sun Nov 24 02:55:05 2013 +0200
+++ b/admin.php	Sun Nov 24 03:09:12 2013 +0200
@@ -382,7 +382,7 @@
     var thead = registeredTabs[tabset][id];
     tabs += "<a id=\"tabHead"+ tabset + id +
       "\"href=\"#\" onClick=\"switchActiveTab('"+tabset+"', '"+id+
-      "')\">"+ thead.replace(/\s/g, "&nbsp;") +"</a>";
+      "')\">"+ thead.replace(/\s/g, "&nbsp;") +"</a> ";
     
     content += "<div id=\"tabCont"+ tabset + id +"\"></div>";
   }
@@ -439,7 +439,7 @@
   registerTab("CC", "Entries", "Entries");
   registerTab("CC", "Info", "Party Info");
   updateTabList("CC",
-    "<a class=\"admin\" href=\"admlogout.php\">Logout</a>" +
+    "<a class=\"admin\" href=\"admlogout.php\">Logout</a> " +
     "<a class=\"admin\" href=\"about\">Mainpage</a>");
   switchActiveTab("CC", "Settings");
 </script>