From 67d4a7b3b0ee8d7eb41b1b4c846691de78c73203 Mon Sep 17 00:00:00 2001 From: Douglas Gardner Date: Tue, 23 Apr 2013 00:31:36 +0000 Subject: [PATCH] Add footer to pages linking to ./project --- public/styles.css | 15 +++++++++++++++ views/layout.jade | 3 +++ views/project/project.jade | 4 ++++ 3 files changed, 22 insertions(+) diff --git a/public/styles.css b/public/styles.css index 39703bb..8e8dfaa 100644 --- a/public/styles.css +++ b/public/styles.css @@ -223,3 +223,18 @@ div.imgwrap > img { .thumbnail:hover > div.imgwrap > span.nicks { display: inline; } + +/* footer */ +#footer { + margin-top:5px; + margin-right:10px; + margin-left:10px; +} +#footer a { + float:right; + padding-left:2px; + padding-right:2px; + background-color:#f5f5f5; + border-radius:3px; +} + diff --git a/views/layout.jade b/views/layout.jade index bb3cf2e..ad2d14e 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -14,6 +14,9 @@ html(lang='en') a(href='/') #{name} web interface div.container#main block content + div#footer + a#project(href='/project') About + script(type="text/javascript", src="/bootstrap/js/bootstrap.min.js") script(type="text/javascript", src="/d3/d3.v3.min.js") script(type="text/javascript", src="/script.js") diff --git a/views/project/project.jade b/views/project/project.jade index 79aea22..04b06b0 100644 --- a/views/project/project.jade +++ b/views/project/project.jade @@ -54,6 +54,10 @@ html(lang='#{curr839}') td #{milestone.closed_issues} h4 #{languagetranshead} table + a(href="https://github.com/"+repo+"/") + #{propaganda} + h3 #{languagetranshead} + table#translations tr th #{languagecurr} th #{languagenati}