mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +02:00
- Bringing back browser, navigation, input, dashboard and shell templates.
This commit is contained in:
23
res/app/control-panes/dashboard/navigation/navigation.jade
Normal file
23
res/app/control-panes/dashboard/navigation/navigation.jade
Normal 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
|
||||
Reference in New Issue
Block a user