Erste Funktionalität der Menükarte per GET/POST, keine API; Umstrukturierung der Tabelle als Bootstrap-div; HTML/CSS-Cleanup

This commit is contained in:
Sebastian Seedorf
2016-03-25 13:33:42 +01:00
parent 92a5ff8eda
commit f99271ee01
202 changed files with 25173 additions and 853 deletions

View File

@@ -1,10 +1,10 @@
//- Input control with form-group wrapper
mixin input(type,id,placeholder,label)
mixin input(type,id,placeholder,label,name)
.form-group
label(for="#{id}") #{label}
input.form-control(type="#{type}",id="#{id}",placeholder="#{placeholder}")
input.form-control(type="#{type}",id="#{id}",placeholder="#{placeholder}",name="#{name}")
//- Simple form input control without a form-group
//- Simple form input control without a form-group
mixin input-simple(type,id,placeholder,label)
input.form-control(type="#{type}",id="#{id}",placeholder="#{placeholder}")
@@ -15,7 +15,7 @@ mixin checkbox(text)
input(type="checkbox")
= text
//- Checkbox - Inline style
//- Checkbox - Inline style
mixin checkbox-inline(text)
.checkbox-inline
input(type="checkbox")
@@ -55,9 +55,9 @@ mixin input-group(prepend,append)
mixin icon-btn(icon)
button.btn.btn-default(type="button",aria-label="#{icon}")
+icon(icon)
//- Badges
mixin badge(text)
span.badge= text

View File

@@ -1,8 +1,9 @@
//- Navbar mixins by Kezz Bracey
//- https://github.com/tutsplus/baking-bootstrap-snippets-with-jade
//- Author: http://tutsplus.com/authors/kezz-bracey
mixin navbar(name, id, style)
mixin navbar(name, id, style, href)
- var style = (typeof style === 'undefined') ? "default" : style
- var href = (typeof style === 'undefined') ? "#" : href
nav( role="navigation", class=["navbar", "navbar-" + style] )
.navbar-header
button.navbar-toggle.collapsed( type="button", data-toggle="collapse", data-target="#" + id, aria-expanded="false", aria-controls="navbar")
@@ -10,7 +11,7 @@ mixin navbar(name, id, style)
span.icon-bar
span.icon-bar
span.icon-bar
a.navbar-brand(href="#")= name
a.navbar-brand(href=href)= name
.collapse.navbar-collapse( id=id )
ul.nav.navbar-nav
@@ -44,7 +45,7 @@ mixin navbar-fixed(name,id,style)
span.icon-bar
span.icon-bar
span.icon-bar
a.navbar-brand(href='#') Project name
a.navbar-brand(href='#')= name
.collapse.navbar-collapse( id=id )
ul.nav.navbar-nav
block
@@ -59,8 +60,8 @@ mixin navbar-static(name,id,style)
span.icon-bar
span.icon-bar
span.icon-bar
a.navbar-brand(href='#') Project name
a.navbar-brand(href='#')= name
.collapse.navbar-collapse( id=id )
ul.nav.navbar-nav
block
//- End navbar mixins
//- End navbar mixins