entongue
Version:
Entonge ======= (spanish: apilar, formar tongadas; translation to english: stacker)
54 lines (41 loc) • 1.98 kB
text/jade
extends layout
mixin btn(tag, cla, col, title)
button.btn.btn-default.btn-lg.eicon(data-tag="#{tag}", data-dismiss="modal")
i(class="#{cla}",style="color:#{col}")
= title
block content
#entongue_ok.alert.alert-success.alert-dismissable.hide
a.close(data-dismiss="alert",href="#",aria-hidden="true")×
strong Bien!
| Entongue grabado.
div
footer
.text-center
if secs_left_to_entongue == 0
a
span.fa.fa-th-large
| ENTONGAR
button#cant_entongue.btn.btn-primary.btn-lg.disabled.hide(style="width:90%; margin:10px auto; font-size:80%") No puedes entongar
span
| segundos
else
button#cant_entongue.btn.btn-primary.btn-lg.disabled(style="width:90%; margin:10px auto; font-size:80%") No puedes entongar
| por
span
| segundos
#myModal.modal.fade(tabindex="-1", role="dialog", aria-labelledby="myModalLabel", aria-hidden="true")
.modal-dialog
.modal-content
.modal-body
+btn( "jam", "fa fa-truck", "#BF003D", "Embotellamiento")
+btn( "riot", "fa fa-bullhorn", "#BF003D", "Protesta")
+btn( "party", "fa fa-gift", "#BF003D", "Fiesta")
+btn( "music", "fa fa-music", "#BF003D", "Recital")
+btn( "crawd", "fa fa-group", "#EE7339", "Tumulto")
script.
if (navigator.geolocation)
navigator.geolocation.getCurrentPosition(success);
else
alert('Geo Location is not supported');