- Bringing back browser, navigation, input, dashboard and shell templates.

This commit is contained in:
Gunther Brunner
2014-03-27 21:30:27 +09:00
parent 840dc81f55
commit be6bdcd239
28 changed files with 236 additions and 22 deletions

View File

@@ -0,0 +1,23 @@
.widget-container.fluid-height.stf-navigation
.heading
i.fa.fa-globe
span(translate) Navigation
span(ng-controller='NavigationCtrl')
i.fa.fa-refresh.pull-right(ng-click='refresh()', title='{{"Reload"|translate}}', ng-if='$root.browser == "webview"')
i.fa.fa-step-forward.pull-right(ng-click='forward()', title='{{"Go Forward"|translate}}', ng-if='$root.browser == "webview"')
i.fa.fa-step-backward.pull-right(ng-click='back()', title='{{"Go Back"|translate}}', ng-if='$root.browser == "webview"')
.widget-content.padded
form
.input-group
input(type='text', placeholder='http://...', autocomplete='off', ng-model='textURL',
typeahead='url for url in urlHistory | filter:$viewValue').form-control
.input-group-btn
button(ng-click='openURL()', ng-disabled='!textURL').btn.btn-primary-outline(translate) Open
button(type='button', ng-disabled='!hasHistory()').btn.btn-primary-outline.dropdown-toggle
span.caret
ul.dropdown-menu
li(ng-repeat='url in urlHistory')
a(ng-click='insertURL(url)').btn-link {{url}}
li.divider
li
a(ng-click='clearHistory()', type='button').btn-link(translate) Clear