]> oss.titaniummirror.com Git - oss-web.git/commitdiff
Git integration is looking quite good now.
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 17 Dec 2009 17:14:57 +0000 (10:14 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Fri, 18 Dec 2009 17:07:16 +0000 (10:07 -0700)
in/gitweb/git-logo.png
in/gitweb/githeader.md [new file with mode: 0644]
in/gitweb/gitweb.css
in/style/bodyheader.tmpl [new file with mode: 0644]
in/style/default.css
in/style/none.tmpl [new file with mode: 0644]

index f4ede2e944868b9a08401dafeb2b944c7166fd0a..63fc01da04b3895e3ae2d5dba623f7e09925c4a6 100644 (file)
Binary files a/in/gitweb/git-logo.png and b/in/gitweb/git-logo.png differ
diff --git a/in/gitweb/githeader.md b/in/gitweb/githeader.md
new file mode 100644 (file)
index 0000000..de487ab
--- /dev/null
@@ -0,0 +1,3 @@
+title: OSS Projects Repository
+template: bodyheader
+ctime: 2009-12-17
index 40f6a020f432d129a5fd3a94aeae80b4b03c877f..3689284c93cb643a44743c56a713dff3899a319d 100644 (file)
@@ -1,3 +1,17 @@
+/* =============================================
+  Clear - Accessibilty
+================================================ */
+
+* {
+       margin: 0;
+       padding: 0;
+       border: 0;
+}
+
+/* =============================================
+  Main Blocks
+================================================ */
+
 body {
        font-family: sans-serif;
        font-size: small;
@@ -6,6 +20,129 @@ body {
        color: #494949;
 }
 
+/* =============================================
+  Header
+================================================ */
+
+#header {
+       font-family: "Times New Roman", Times, serif;
+       font-size: 14px;
+       margin-bottom: 18px;
+       width: 955px;
+       margin-left: auto;
+       margin-right: auto;
+       padding: 16px 0;
+       height: 86px;
+}
+
+#homeLink {
+       float: left;
+       width: 280px;
+       padding-right: 21px;
+}
+
+#homeLink a .homeLinkText {
+       display: none;
+}
+
+#homeLink a {
+       display: block;
+       width: 280px;
+       height: 86px;
+       background-image: url(/style/banner.jpg);
+       background-repeat: no-repeat;
+       background-position: 0px 5px;
+}
+
+#homeLink a:hover {
+       background-position: 0px -112px;
+}
+
+#homeLink a:active,
+#homeLink.onClick a {
+       background-position: 0px -110px;
+}
+
+/* =============================================
+  Top Info
+================================================ */
+
+#topInfo {
+       float: right;
+}
+
+#topInfo p {
+       color: #444444;
+       line-height: 18px;
+       margin-bottom: 18px;
+       text-align: right;
+}
+
+#topInfo h2 {
+       color: #23292F;
+       font-size: 38px;
+       font-style: italic;
+       font-weight: normal;
+       margin-top: 6px;
+       line-height: 40px;
+       text-align: right;
+}
+
+#topInfo a {
+       color: #4A80BE;
+       text-decoration: none;
+}
+
+#topInfo a:hover {
+       text-decoration: underline;
+}
+
+
+/* =============================================
+  Bread Crumbs
+================================================ */
+
+#breadCrumbs {
+       width: 100%;
+       float: right;
+       margin-top: 8px;
+       border-top: 1px solid #d4d4d4;
+}
+
+#breadCrumbs p {
+       color: #444444;
+       line-height: 18px;
+       margin-top: 2px;
+       text-align: right;
+}
+
+#breadCrumbs a {
+       color: #4A80BE;
+       text-decoration: none;
+}
+
+#breadCrumbs a:hover {
+       text-decoration: underline;
+}
+
+
+/* =============================================
+  Titles
+================================================ */
+
+h2 {
+       color: #23292F;
+       font-size: 38px;
+       font-style: italic;
+       font-weight: normal;
+       margin-top: 6px;
+       line-height: 40px;
+}
+
+/* =============================================
+  Original gitweb CSS, modified (body is at top)
+================================================ */
+
 a {
        color: #4a80be;
        text-decoration: none;
diff --git a/in/style/bodyheader.tmpl b/in/style/bodyheader.tmpl
new file mode 100644 (file)
index 0000000..e3a3ef9
--- /dev/null
@@ -0,0 +1,35 @@
+<%def name="contents()">\
+${body}
+</%def>\
+#######################################################################
+<div id="header">
+
+<div id="homeLink" class="none">
+<a rel="home" href="/"><span class="homeLinkText">Home</span></a>
+</div> <!-- close homeLink -->
+
+<div id="topInfo"><p>
+<a href="http://www.titaniummirror.com">Corporate Website</a><br />
+support@this.domain
+</p>
+<h2>${file.title}</h2>
+</div> <!-- close topInfo -->
+
+<div id="breadCrumbs">
+<p>
+<%
+  res = get_breadcrumbs()
+%>
+% if len(res) > 1:
+%   for page, link in get_breadcrumbs():
+%     if page == file:
+        ${page.linktitle}
+%     else:
+        <a href="${link}">${page.linktitle}</a> :
+%     endif
+%   endfor
+% endif
+</p>
+</div> <!-- close breadCrumbs -->
+
+</div> <!-- close header -->
index b51756b55c15e933f1ad5730b22f32a90658d59b..3bca6295b04c80b64a728e5ce0d7d17f29f78091 100644 (file)
@@ -650,9 +650,9 @@ hr {
 #footer {\r
        margin: 18px 0 0 0;\r
        border-top: 1px solid #d4d4d4;\r
-       background-color: #F0F2F6;\r
+       //background-color: #F0F2F6;\r
        padding-bottom: 20px;\r
-       border-bottom: 1px solid #d4d4d4;\r
+       //border-bottom: 1px solid #d4d4d4;\r
 }\r
 \r
 #footerInner {\r
diff --git a/in/style/none.tmpl b/in/style/none.tmpl
new file mode 100644 (file)
index 0000000..9cba21f
--- /dev/null
@@ -0,0 +1,5 @@
+<%def name="contents()">\
+${body}
+</%def>\
+#######################################################################
+${self.contents()}