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",
"fr": "anglais",
"de": "Englisch",
"it": "inglese"
"it": "inglese",
"cy": "saesneg"
},
"fr": {
"en": "French",
@ -35,9 +36,28 @@
"it": {
"en": "Italian",
"fr": "italien",
"de": "Italienier",
"de": "Italiener",
"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": {
"en": "{name} is at revision {rev}",
"fr": "{name} est à révision {rev}",

View File

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

View File

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