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.
28 lines
1.2 KiB
28 lines
1.2 KiB
mixin renderViewTitle (title, options)
|
|
.uk-navbar-container.uk-padding-remove.uk-position-fixed.uk-position-top
|
|
nav(uk-navbar)
|
|
.uk-navbar-left
|
|
.uk-navbar-item
|
|
div(uk-grid).uk-grid-small.uk-flex-middle
|
|
.uk-width-expand
|
|
.uk-text-large.uk-margin-remove.no-select
|
|
if options && options.iconClass
|
|
span.uk-margin-small-right
|
|
i(class= options.iconClass)
|
|
span= title
|
|
.uk-navbar-right
|
|
if options && options.href && options.prompt
|
|
.uk-navbar-item
|
|
a(href= options.href).uk-button.dtp-button-navbar.uk-button-small.uk-border-rounded
|
|
span
|
|
i.fas.fa-plus
|
|
span(class="uk-visible@s").uk-margin-small-left= options.prompt
|
|
if options && options.includeBackButton
|
|
.uk-navbar-item
|
|
button(type="button", onclick="window.history.back();").uk-button.dtp-button-navbar.uk-button-small.uk-border-rounded
|
|
span
|
|
i.fas.fa-chevron-left
|
|
span(class="uk-visible@s").uk-margin-small-left Back
|
|
//- section(uk-sticky).uk-section.uk-section-secondary.uk-section-xsmall
|
|
//- .uk-container.uk-container-expand
|