A web application allowing people to create an account, configure a profile, and share a list of URLs on that profile.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
434 B

//- common routines for all views everywhere
-
function formatCount(value) {
value = value || 0;
return (value < 1000) ? numeral(value).format('0,0') : numeral(value).format('0,0.0a');
}
mixin renderCell (label, value, className)
div(style="padding: 10px 20px;", title=`${label}: ${numeral(value).format('0,0')}`).uk-card.uk-card-default.uk-card-body.no-select
.uk-text-muted= label
div(class=className)= value