[Xfce4-commits] <forum:master> Add Xfce header to template.

Nick Schermer noreply at xfce.org
Sun Dec 12 18:54:01 CET 2010


Updating branch refs/heads/master
         to 242742548b5f79f576755168c75eb60ae394bdbc (commit)
       from 8cbf9cdb28e0b9db4754a02dbdec0dc14ad60787 (commit)

commit 242742548b5f79f576755168c75eb60ae394bdbc
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Dec 12 18:52:25 2010 +0100

    Add Xfce header to template.

 img/logosmall.png         |  Bin 0 -> 7035 bytes
 include/template/main.tpl |   64 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/img/logosmall.png b/img/logosmall.png
new file mode 100644
index 0000000..8b3a50c
Binary files /dev/null and b/img/logosmall.png differ
diff --git a/include/template/main.tpl b/include/template/main.tpl
index ea0a0b6..0fef768 100644
--- a/include/template/main.tpl
+++ b/include/template/main.tpl
@@ -3,9 +3,71 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <pun_head>
+<style type="text/css">
+body {
+	margin: 0;
+}
+#page-header {
+        /*border-bottom: 2px #69f solid;*/
+        background: #333 url('img/logosmall.png') no-repeat 6px 55%;
+	padding-left: 120px;
+	font: 68.75%/1.4545em Verdana, Helvetica, Arial, sans-serif;
+}
+#page-header ul {
+	float: right ;
+	list-style: none;
+        margin: 0;
+        padding: 0 15px 0 0;
+        background: #333;
+}
+#page-header ul li {
+	float: left;
+        font-weight: bold;
+	margin: 0;
+	padding: 0;
+}
+#page-header a {
+	color: #fff;
+        text-decoration: none;
+        display: block;
+        float: right;
+        padding: 0 15px 0 15px;
+        line-height: 4em;
+}
+#page-header ul li a:hover {
+	color: #69f;
+}
+#page-header .active {
+        color: #69f;
+}
+.hidden {
+	display: none;
+}
+.clearboth {
+	clear: both;
+}
+</style>
 </head>
 
 <body>
+<div id="page-header">
+	<div>
+		<h1 class="hidden">Xfce</h1>
+		<h5 class="hidden">Sub domains</h5>
+		 
+		<ul>
+			<li><a href="http://www.xfce.org" title="Go to the homepage">Home</a></li>
+			<li><a href="http://docs.xfce.org" title="Official documentation">Docs</a></li>
+			<li><a href="http://wiki.xfce.org" title="Community documentation">Wiki</a></li>
+			<li><a href="http://forum.xfce.org" title="Community forums" class="active">Forum</a></li>
+			<li><a href="http://bugzilla.xfce.org" title="Report and track bugs">Bugs</a></li>
+			<li><a href="http://blog.xfce.org" title="Visit the blog">Blog</a></li>
+			<li><a href="http://translations.xfce.org" title="Help translating the Xfce project">Translate</a></li>
+			<li><a href="http://git.xfce.org" title="Project repositories">GIT</a></li>
+		</ul>
+	</div>
+	<div class="clearboth"></div>
+</div>
 
 <div id="pun<pun_page>" class="pun">
 <div class="top-box"><div><!-- Top Corners --></div></div>
@@ -13,10 +75,12 @@
 
 <div id="brdheader" class="block">
 	<div class="box">
+		<!--
 		<div id="brdtitle" class="inbox">
 			<pun_title>
 			<pun_desc>
 		</div>
+		-->
 		<pun_navlinks>
 		<pun_status>
 	</div>



More information about the Xfce4-commits mailing list