mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
34 lines
1.7 KiB
Plaintext
34 lines
1.7 KiB
Plaintext
.widget-container.fluid-height.stf-navigation(ng-controller='NavigationCtrl')
|
|
.heading
|
|
i.fa.fa-globe
|
|
span(translate) Navigation
|
|
span
|
|
button.btn.btn-xs.btn-danger-outline.pull-right(ng-click='clearSettings()', tooltip='{{ "Reset all browser settings" | translate }}')
|
|
i.fa.fa-trash-o
|
|
span(translate) Reset
|
|
//.button-spacer.pull-right
|
|
//i.fa.fa-refresh.pull-right(ng-click='refresh()', title='{{"Reload"|translate}}')
|
|
//i.fa.fa-step-forward.pull-right(ng-click='forward()', title='{{"Go Forward"|translate}}')
|
|
//i.fa.fa-step-backward.pull-right(ng-click='back()', title='{{"Go Back"|translate}}')
|
|
.widget-content.padded
|
|
form
|
|
.input-group
|
|
input.form-control(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', translate).btn.btn-primary-outline 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', translate).btn-link Clear
|
|
|
|
.btn-group(ng-if='$root.browser')
|
|
.btn-group
|
|
label.btn.btn-default-outline(ng-repeat='b in device.browser.apps', ng-model='$root.browser', btn-radio='b',
|
|
tooltip='{{b.name}} ({{b.developer}})')
|
|
img(ng-src='/static/browsers/icon/24x24/{{b.type}}.png', ng-show='b.type').browser-icon.pointer
|