2013-04-18 18:12:01 +02:00
|
|
|
!!!
|
|
|
|
html(lang='#{curr839}')
|
|
|
|
head
|
|
|
|
meta(charset='utf-8')
|
|
|
|
script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js")
|
|
|
|
link(rel="stylesheet", type="text/css", href="http://fonts.googleapis.com/css?family=Source+Sans+Pro")
|
|
|
|
link(rel="stylesheet", type="text/css", href="/bootstrap/css/bootstrap.min.css")
|
|
|
|
link(rel='stylesheet', type='text/css', href='/styles.css')
|
|
|
|
link(rel="stylesheet", href="/project.css")
|
|
|
|
title #{pagetitle}
|
2013-04-21 22:14:37 +02:00
|
|
|
script
|
|
|
|
$(document).ready(function() {
|
|
|
|
$.get("https://api.github.com/repos/#{repo}/pulls", function(data) {
|
|
|
|
if ($.parseJSON(data).length) { $("#pullreq").show();}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2013-04-18 18:12:01 +02:00
|
|
|
body
|
|
|
|
div.container
|
|
|
|
div#page
|
|
|
|
div#title #{pagetitle}
|
|
|
|
div.container#main
|
|
|
|
p.intro
|
2013-04-18 18:54:09 +02:00
|
|
|
#{dquote}
|
2013-04-21 14:18:24 +02:00
|
|
|
section#git
|
2013-04-21 18:34:26 +02:00
|
|
|
h2 #{development}
|
2013-04-21 22:14:37 +02:00
|
|
|
p#pullreq
|
|
|
|
a(href="https://github.com/"+repo+"/pulls") #{pullreqs}
|
|
|
|
p#revnum
|
2013-04-21 01:27:50 +02:00
|
|
|
#{revnum}
|
|
|
|
pre#gitdiff
|
|
|
|
#{diff}
|
2013-04-24 11:27:12 +02:00
|
|
|
p#branch
|
|
|
|
#{branch}
|
2013-04-21 18:34:26 +02:00
|
|
|
h3 #{milestonehead}
|
2013-04-21 01:27:50 +02:00
|
|
|
table#milestones.center
|
|
|
|
tr
|
|
|
|
th #{milestonename}
|
|
|
|
th #{milestoneprog}
|
|
|
|
th #{openmilestone}
|
|
|
|
th #{closedmilestone}
|
|
|
|
each milestone in milestones
|
2013-04-21 14:18:24 +02:00
|
|
|
- var wdth = ((milestone.closed_issues/(milestone.open_issues + milestone.closed_issues))*100)
|
2013-04-21 22:14:37 +02:00
|
|
|
tr(id="milestone"+milestone.number)
|
2013-04-21 01:27:50 +02:00
|
|
|
td
|
2013-04-21 18:34:26 +02:00
|
|
|
a(href="https://github.com/"+repo+"/issues?milestone="+milestone.number)
|
2013-04-21 14:18:24 +02:00
|
|
|
#{milestone.title}
|
2013-04-21 01:27:50 +02:00
|
|
|
td
|
|
|
|
div.progress(class=milestone.state)
|
2013-04-21 17:11:34 +02:00
|
|
|
div.progress-inner(style="width:"+wdth+"%")(class=milestone.state)
|
2013-04-21 01:27:50 +02:00
|
|
|
|
2013-04-21 17:11:34 +02:00
|
|
|
print #{Math.round(wdth)+"%"}
|
2013-04-21 01:27:50 +02:00
|
|
|
td #{milestone.open_issues}
|
|
|
|
td #{milestone.closed_issues}
|
2013-04-23 02:31:36 +02:00
|
|
|
a(href="https://github.com/"+repo+"/")
|
2013-04-21 18:34:26 +02:00
|
|
|
#{propaganda}
|
|
|
|
h3 #{languagetranshead}
|
|
|
|
table#translations
|
2013-04-21 16:28:33 +02:00
|
|
|
tr
|
2013-04-21 16:53:04 +02:00
|
|
|
th #{languagecurr}
|
|
|
|
th #{languagenati}
|
2013-04-21 17:11:34 +02:00
|
|
|
unless (curr839 == "en")
|
|
|
|
th #{languageeng}
|
2013-04-21 16:53:04 +02:00
|
|
|
th #{languageprog}
|
|
|
|
th #{languagetrans}
|
2013-04-21 16:28:33 +02:00
|
|
|
each language in translation
|
|
|
|
- var w = ((language.count/translation.en.count)*100)
|
|
|
|
tr
|
|
|
|
td #{language.local}
|
|
|
|
td #{language.own}
|
2013-04-21 17:11:34 +02:00
|
|
|
unless (curr839 == "en")
|
|
|
|
td #{language.english}
|
2013-04-21 16:28:33 +02:00
|
|
|
td.prog
|
2013-04-21 16:53:04 +02:00
|
|
|
unless (language.iso == curr839)
|
|
|
|
div.progress(class="open")
|
|
|
|
div.progress-inner(style="width:"+w+"%")(class="open")
|
|
|
|
|
2013-04-21 17:11:34 +02:00
|
|
|
print #{Math.round(w)+"%"}
|
2013-04-21 16:28:33 +02:00
|
|
|
else
|
2013-04-21 16:53:04 +02:00
|
|
|
div.progress(class="closed")
|
|
|
|
div.progress-inner(style="width:"+w+"%")(class="closed")
|
|
|
|
|
2013-04-21 17:11:34 +02:00
|
|
|
print #{Math.round(w)+"%"}
|
2013-04-21 16:28:33 +02:00
|
|
|
td #{language.count} / #{translation.en.count}
|
2013-04-21 18:34:26 +02:00
|
|
|
h3 #{credits}
|
2013-04-21 14:18:24 +02:00
|
|
|
#{thanks}
|
2013-04-21 22:14:37 +02:00
|
|
|
ul#credits
|
2013-04-21 14:18:24 +02:00
|
|
|
each author in authors
|
|
|
|
li
|
|
|
|
#{author}
|
2013-04-18 18:12:01 +02:00
|
|
|
section#config
|
2013-04-21 18:34:26 +02:00
|
|
|
h2 #{config}
|
|
|
|
ul
|
|
|
|
li #{currlang}
|
|
|
|
li #{debugmode}
|
|
|
|
each config in configList
|
|
|
|
li #{config}
|
|
|
|
h3 #{loadmod}
|
|
|
|
ul#modules
|
|
|
|
each module in modules
|
|
|
|
li #{module}
|
2013-04-18 18:12:01 +02:00
|
|
|
section#footer
|
|
|
|
p
|
|
|
|
#{currver}
|