3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

Merge branch 'master' of github.com:reality/depressionbot

This commit is contained in:
reality 2013-04-18 23:11:07 +00:00
commit 75657c5782
3 changed files with 31 additions and 10 deletions

View File

@ -18,7 +18,8 @@
"en": "English", "en": "English",
"fr": "anglais", "fr": "anglais",
"de": "Englisch", "de": "Englisch",
"it": "inglese" "it": "inglese",
"cy": "saesneg"
}, },
"fr": { "fr": {
"en": "French", "en": "French",
@ -35,9 +36,28 @@
"it": { "it": {
"en": "Italian", "en": "Italian",
"fr": "italien", "fr": "italien",
"de": "Italienier", "de": "Italiener",
"it": "italiano" "it": "italiano"
}, },
"cy": {
"en": "Welsh",
"fr": "gallois",
"de": "Walisisch",
"it": "gallese",
"cy": "cymraeg"
},
"na'vi": {
"en": "Na'vi",
"fr": "na'vi",
"de": "Na'vi",
"it": "Na'vi"
},
"es": {
"en": "Spanish",
"fr": "espagnole",
"de": "Spanisch",
"it": "spagnolo"
},
"revnum": { "revnum": {
"en": "{name} is at revision {rev}", "en": "{name} is at revision {rev}",
"fr": "{name} est à révision {rev}", "fr": "{name} est à révision {rev}",

View File

@ -9,6 +9,7 @@ div#main {
} }
h2,h3,h4,h5,h6,.center { h2,h3,h4,h5,h6,.center {
text-align:center; text-align:center;
text-transform:lowercase;
} }
table#milestones { table#milestones {
margin:auto; margin:auto;
@ -24,6 +25,7 @@ p.intro {
border-radius:4px; border-radius:4px;
} }
div.progress.open { div.progress.open {
background-color: #f4fff4;
background-image: linear-gradient(to bottom,#f4fff4,#f9fff9); background-image: linear-gradient(to bottom,#f4fff4,#f9fff9);
} }
div.progress { div.progress {
@ -32,18 +34,22 @@ div.progress {
} }
div.progress-inner.open { div.progress-inner.open {
width:20%; width:20%;
background-color: #3fff3f;
background-image: linear-gradient(to bottom,#3fff3f,#7fff7f); background-image: linear-gradient(to bottom,#3fff3f,#7fff7f);
} }
div.progress.closed { div.progress.closed {
background-color: #fff5f5;
background-image: linear-gradient(to bottom,#fff5f5,#fff9f9); background-image: linear-gradient(to bottom,#fff5f5,#fff9f9);
} }
div.progress-inner.closed { div.progress-inner.closed {
background-color: #ff3f3f;
background-image: linear-gradient(to bottom,#ff3f3f,#ff7f7f); background-image: linear-gradient(to bottom,#ff3f3f,#ff7f7f);
width:20%; width:20%;
} }
#config { #config {
text-align:center; text-align:center;
text-transform:lowercase;
} }
li { li {
@ -54,10 +60,6 @@ li {
display:inline-block; display:inline-block;
} }
* {
text-shadow:none;
}
#footer { #footer {
font-size:80%; font-size:80%;
} }

View File

@ -40,7 +40,9 @@ html(lang='#{curr839}')
- var pc = "%" - var pc = "%"
- var wdth = ((milestone.closed_issues/(milestone.open_issues + milestone.closed_issues))*100) - var wdth = ((milestone.closed_issues/(milestone.open_issues + milestone.closed_issues))*100)
tr(id=mstone+milestone.number) tr(id=mstone+milestone.number)
td #{milestone.title} td
a(href=milestone.url)
#{milestone.title}
td td
div.progress(class=milestone.state) div.progress(class=milestone.state)
div.progress-inner(style=wd+wdth+pc)(class=milestone.state) div.progress-inner(style=wd+wdth+pc)(class=milestone.state)
@ -59,6 +61,3 @@ html(lang='#{curr839}')
section#footer section#footer
p p
#{currver} #{currver}
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")