Change space in population table
From a <table> inside a single <h2> and spacing based on html encoded stuff, to an <ul> with light css styling. ----- More cleanup changes for the rest of the page to come in next PR.
This commit is contained in:
@@ -6,25 +6,22 @@ block content
|
||||
| who learn to code and help nonprofits.
|
||||
.spacer
|
||||
.row
|
||||
.col-xs-12.col-sm-10.col-sm-offset-1.col-md-6.col-md-offset-3
|
||||
h2
|
||||
table.population-table.img-center
|
||||
tr
|
||||
td Established: 
|
||||
td
|
||||
span.text-primary #{daysRunning} 
|
||||
| days ago
|
||||
tr
|
||||
td Population:   
|
||||
td
|
||||
span.text-primary #{camperCount} 
|
||||
| campers
|
||||
tr
|
||||
td Completed:   
|
||||
td
|
||||
span.text-primary #{globalCompletedCount} 
|
||||
| challenges
|
||||
|
||||
.col-xs-12.col-sm-10.col-sm-offset-1.col-md-6.col-md-offset-3
|
||||
ul.population-table
|
||||
li
|
||||
span.tag Established:	
|
||||
span.text-primary #{daysRunning}
|
||||
| days ago
|
||||
li
|
||||
span.tag Population:	
|
||||
span.text-primary #{camperCount}
|
||||
| campers
|
||||
li
|
||||
span.tag Completed:	
|
||||
span.text-primary #{globalCompletedCount}
|
||||
| challenges
|
||||
|
||||
.spacer
|
||||
.row
|
||||
.col-xs-12.col-sm-10.col-sm-offset-1.col-md-6.col-md-offset-3
|
||||
h2 Free Code Camp around the web:
|
||||
|
Reference in New Issue
Block a user