update sites, update style, added percentage complete.
This commit is contained in:
parent
5aee161e2e
commit
fe53e623a9
7223
data/unesco.xml
7223
data/unesco.xml
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@ a {
|
|||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title h3 {
|
.title h2,h3 {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
margin-left: 36px;
|
margin-left: 36px;
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,11 @@ block content
|
|||||||
a(href="/visits") #{visits.length}
|
a(href="/visits") #{visits.length}
|
||||||
| /
|
| /
|
||||||
a(href="/sites") #{totalSites}
|
a(href="/sites") #{totalSites}
|
||||||
|
|
||||||
|
- var num = (visits.length/totalSites) * 100
|
||||||
|
- var percent = num.toFixed(2);
|
||||||
|
h2= percent + "% Complete"
|
||||||
|
|
||||||
|
|
||||||
- var sitesVisited = [];
|
- var sitesVisited = [];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user