ZeroOmega/omega-web/src/partials/ui.jade

48 lines
2.1 KiB
Plaintext
Raw Normal View History

2014-09-20 11:49:04 -04:00
.page-header
h2 {{'options_tab_ui' | tr}}
section.settings-group
h3 {{'options_group_miscOptions' | tr}}
div.checkbox
label
input(type='checkbox' ng-model='options["-confirmDeletion"]')
span {{'options_confirmDeletion' | tr}}
div.checkbox
label
input#refresh-on-profile-change(type='checkbox' ng-model='options["-refreshOnProfileChange"]')
span {{'options_refreshOnProfileChange' | tr}}
section.settings-group
h3 {{'options_group_switchOptions' | tr}}
div.form-group
label {{'options_startupProfile' | tr}}
= ' '
div(omega-profile-select='options | profiles:"all"' ng-model='options["-startupProfileName"]'
default-text="{{'options_startupProfile_none' | tr}}" disp-name='$profile.name | dispName'
style='display: inline-block;')
div.checkbox
label
input(type='checkbox' ng-model='options["-showConditionTypes"]' ng-true-value='1' ng-false-value='0' omega-int2str)
span {{'options_showConditionTypesAdvanced' | tr}}
p.help-block
| {{'options_showConditionTypesAdvancedHelp' | tr}}
2014-09-20 11:49:04 -04:00
div.checkbox
label
input(type='checkbox' ng-model='options["-enableQuickSwitch"]')
span {{'options_quickSwitch' | tr}}
#quick-switch-settings.settings-group(ng-show='options["-enableQuickSwitch"]' ng-controller='QuickSwitchCtrl')
h4 {{'options_cycledProfiles' | tr}}
p.help-block {{'options_cycledProfilesHelp' | tr}}
div.has-error(ng-show='options["-quickSwitchProfiles"].length < 2')
p.help-block {{'options_cycledProfilesTooFew' | tr}}
ul.cycle-profile-container.cycle-enabled(ui-sortable="sortableOptions"
ng-model='options["-quickSwitchProfiles"]')
li(ng-repeat='name in options["-quickSwitchProfiles"]')
2014-10-25 11:41:39 -04:00
span(omega-profile-icon='profileByName(name)')
2014-09-20 11:49:04 -04:00
= ' '
| {{name | dispName}}
h4 {{'options_notCycledProfiles' | tr}}
ul.cycle-profile-container(ui-sortable="sortableOptions" ng-model='notCycledProfiles')
li.bg-success(ng-repeat='name in notCycledProfiles')
2014-10-25 11:41:39 -04:00
span(omega-profile-icon='profileByName(name)')
2014-09-20 11:49:04 -04:00
= ' '
| {{name | dispName}}