Statusmeldungen hinzugefügt; Reservierungen funktionabel; kleine Bugfixes
This commit is contained in:
@@ -3,6 +3,11 @@ doctype html
|
||||
extends ../node_modules/jade-bootstrap/_bootstrap
|
||||
|
||||
|
||||
mixin textarea-val(id,placeholder,label,name,value,rows)
|
||||
.form-group
|
||||
label(for="#{id}") #{label}
|
||||
textarea.form-control(id="#{id}",placeholder="#{placeholder}",name="#{name}",rows="#{rows}")= value
|
||||
|
||||
mixin input-val(type,id,placeholder,label,name,value)
|
||||
.form-group
|
||||
label(for="#{id}") #{label}
|
||||
@@ -13,6 +18,13 @@ mixin input-val-simple(type,id,placeholder,label,name,value)
|
||||
input.form-control(type="#{type}",id="#{id}",placeholder="#{placeholder}",name="#{name}",value="#{value}")
|
||||
|
||||
|
||||
mixin status-message(type, message, reasons)
|
||||
div(class="alert alert-#{type}" role="alert")= message
|
||||
if reasons
|
||||
ul
|
||||
each val in reasons
|
||||
li= val
|
||||
|
||||
|
||||
|
||||
mixin navbar-main(style)
|
||||
@@ -50,7 +62,8 @@ mixin loginBox
|
||||
.col-sm-7.text-center
|
||||
a.btn.btn-default(href="/login#admin") Admin-Panel
|
||||
|
||||
|
||||
|
||||
|
||||
block styles
|
||||
//link(rel="stylesheet",type="text/css",href="/bin/bootstrap/css/bootstrap.min.css")
|
||||
link(rel="stylesheet",type="text/css",href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css")
|
||||
|
||||
Reference in New Issue
Block a user