ui.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <div class="page-header">
  2. <h2>{{'options_tab_ui' | tr}}</h2>
  3. </div>
  4. <section class="settings-group">
  5. <h3>{{'options_group_miscOptions' | tr}}</h3>
  6. <div class="checkbox">
  7. <label>
  8. <input type="checkbox" ng-model="options[&quot;-confirmDeletion&quot;]"/><span>{{'options_confirmDeletion' | tr}}</span>
  9. </label>
  10. </div>
  11. <div class="checkbox">
  12. <label>
  13. <input id="refresh-on-profile-change" type="checkbox" ng-model="options[&quot;-refreshOnProfileChange&quot;]"/><span>{{'options_refreshOnProfileChange' | tr}}</span>
  14. </label>
  15. </div>
  16. <div class="checkbox">
  17. <label>
  18. <input type="checkbox" ng-model="options[&quot;-showInspectMenu&quot;]"/><span>{{'options_showInspectMenu' | tr}}</span>
  19. </label>
  20. </div>
  21. <div class="checkbox">
  22. <label>
  23. <input type="checkbox" ng-model="options[&quot;-addConditionsToBottom&quot;]"/><span>{{'options_addConditionsToBottom' | tr}}</span>
  24. </label>
  25. </div>
  26. </section>
  27. <section class="settings-group">
  28. <h3>{{'options_group_keyboardShortcut' | tr}}</h3>
  29. <p>
  30. <button type="button" role="button" ng-click="openShortcutConfig()" class="btn btn-default"><span class="glyphicon glyphicon-share-alt"></span> {{'options_menuShortcutConfigure' | tr}}
  31. </button> {{'options_menuShortcutHelp' | tr}}
  32. </p>
  33. <p class="help-block">{{'options_menuShortcutMore' | tr}}</p>
  34. </section>
  35. <section class="settings-group">
  36. <h3>{{'options_group_switchOptions' | tr}}</h3>
  37. <div class="form-group">
  38. <label>{{'options_startupProfile' | tr}}</label>
  39. <div omega-profile-select="options | profiles:&quot;all&quot;" ng-model="options[&quot;-startupProfileName&quot;]" default-text="{{'options_startupProfile_none' | tr}}" disp-name="dispNameFilter" style="display: inline-block;" options="options"></div>
  40. </div>
  41. <div class="checkbox">
  42. <label>
  43. <input type="checkbox" ng-model="options[&quot;-showConditionTypes&quot;]" ng-true-value="1" ng-false-value="0"/><span>{{'options_showConditionTypesAdvanced' | tr}}</span>
  44. </label>
  45. <p class="help-block">{{'options_showConditionTypesAdvancedHelp' | tr}}</p>
  46. </div>
  47. <div class="checkbox">
  48. <label>
  49. <input type="checkbox" ng-model="options[&quot;-enableQuickSwitch&quot;]"/><span>{{'options_quickSwitch' | tr}}</span>
  50. </label>
  51. </div>
  52. <div id="quick-switch-settings" ng-show="options[&quot;-enableQuickSwitch&quot;]" ng-controller="QuickSwitchCtrl" class="settings-group">
  53. <h4>{{'options_cycledProfiles' | tr}}</h4>
  54. <p class="help-block">{{'options_cycledProfilesHelp' | tr}}</p>
  55. <div ng-show="options[&quot;-quickSwitchProfiles&quot;].length &lt; 2" class="has-error">
  56. <p class="help-block">{{'options_cycledProfilesTooFew' | tr}}</p>
  57. </div>
  58. <ul ui-sortable="sortableOptions" ng-model="options[&quot;-quickSwitchProfiles&quot;]" class="cycle-profile-container cycle-enabled">
  59. <li ng-repeat="name in options[&quot;-quickSwitchProfiles&quot;]"><span omega-profile-inline="profileByName(name)" options="options" disp-name="dispNameFilter"></span></li>
  60. </ul>
  61. <h4>{{'options_notCycledProfiles' | tr}}</h4>
  62. <ul ui-sortable="sortableOptions" ng-model="notCycledProfiles" class="cycle-profile-container">
  63. <li ng-repeat="name in notCycledProfiles" class="bg-success"><span omega-profile-inline="profileByName(name)" options="options" disp-name="dispNameFilter"></span></li>
  64. </ul>
  65. </div>
  66. </section>