<div ng-controller="SwitchProfileCtrl">
<section ng-show="conditionHelp.show" ng-init="expandedSection = {id: 0}" class="condition-help-section settings-group">
<h3>{{'options_group_conditionHelp' | tr}}
<button type="button" ng-click="conditionHelp.show = false" class="close close-condition-help"><span aria-hidden="true">×</span><span class="sr-only">{{'dialog_close' | tr}}</span></button>
</h3>
<div ng-repeat="group in (showConditionTypes == 0 ? basicConditionTypes : advancedConditionTypes)" class="condition-help">
<h4 ng-show="!!('condition_group_' + group.group | tr)"><a ng-click="expandedSection.id = $index" role="button"><span ng-class="{'glyphicon-chevron-down': expandedSection.id == $index, 'glyphicon-chevron-right': expandedSection.id != $index}" class="glyphicon"></span> {{'condition_group_' + group.group | tr}}</a></h4>
<dl ng-show="expandedSection.id == $index">
<dt ng-repeat-start="type in group.types">{{'condition_' + type | tr}}</dt>
<dd ng-repeat-end="ng-repeat-end">
<div ng-bind-html=""condition_help_" + type | tr"></div>
<div ng-if="isUrlConditionType[type]" class="text-danger"><span class="glyphicon glyphicon-alert"></span> <span ng-bind-html=""condition_alert_fullUrlLimitation" | tr"></span>
</div>
</dd>
</dl>
</div>
</section>
<section class="settings-group">
<h3>{{'options_group_switchRules' | tr}}
<button ng-click="toggleSource()" ng-class="editSource ? "btn-primary active" : "btn-default"" class="btn"><span class="glyphicon glyphicon-edit"></span> {{'options_profileEditSource' | tr}}
</button> <a ng-show="editSource" target="_blank" title="{{"options_profileEditSourceHelp" | tr}}" href="{{"options_profileEditSourceHelpUrl" | tr}}" class="btn btn-link btn-sm clear-padding toggle-condition-help"><span class="glyphicon glyphicon-question-sign"></span></a>
</h3>
<div ng-show="source.error" class="alert alert-danger width-limit"><span class="glyphicon glyphicon-remove"></span> {{source.error.message}}
</div>
<div ng-show="!!hasUrlConditions" class="alert alert-danger"><span class="glyphicon glyphicon-alert"></span> <span ng-bind-html=""condition_alert_fullUrlLimitation" | tr"></span>
</div>
<div ng-show="editSource" class="rules-source">
<textarea ng-model="source.code" rows="20" ng-change="source.touched = true; $root.optionsDirty = true" class="monospace form-control width-limit"></textarea>
</div>
<div ng-if="loadRules" ng-show="!editSource" class="table-responsive switch-rules-wrapper">
<table class="switch-rules table table-bordered table-condensed width-limit-xl">
<thead>
<tr>
<th style="white-space: nowrap">{{'options_sort' | tr}}</th>
<th class="condition-type-th">{{'options_conditionType' | tr}}
<button title="{{"options_showConditionTypeHelp" | tr}}" ng-click="conditionHelp.show = !conditionHelp.show" class="btn btn-link btn-sm clear-padding toggle-condition-help"><span class="glyphicon glyphicon-question-sign"></span></button>
</th>
<th>{{'options_conditionDetails' | tr}}</th>
<th>{{'options_resultProfile' | tr}}</th>
<th>{{'options_conditionActions' | tr}}</th>
<th ng-if="showNotes">{{'options_ruleNote' | tr}}</th>
</tr>
</thead>
<tbody ui-sortable="sortableOptions" ng-model="profile.rules">
<tr ng-repeat="rule in profile.rules" class="switch-rule-row">
<td class="sort-bar"><span class="glyphicon glyphicon-sort"></span></td>
<td ng-class="{"has-icon": isUrlConditionType[rule.condition.conditionType]}">
<select ng-model="rule.condition.conditionType" ng-options="type.type as ("condition_" + type.type | tr) group by (type.group | tr) for type in conditionTypes" class="form-control"></select><a ng-href="{{"condition_alert_fullUrlLimitationLink" | tr}}" target="_blank" ng-if="isUrlConditionType[rule.condition.conditionType]" class="icon-wrapper"><span class="glyphicon glyphicon-alert text-danger"></span></a>
</td>
<td ng-switch="rule.condition.conditionType" ng-class="{"has-warning": conditionHasWarning(rule.condition)}"><span ng-switch-when="FalseCondition"><span ng-show="!!rule.condition.pattern">
<input ng-model="rule.condition.pattern" disabled="disabled" title="{{'condition_details_FalseCondition' | tr}}" class="form-control"/></span><span ng-show="!rule.condition.pattern">{{'condition_details_FalseCondition' | tr}}</span></span><span ng-switch-when="HostLevelsCondition" class="host-levels-details">
<input type="number" min="1" max="99" ng-model="rule.condition.minValue" required="required" class="form-control"/> <span>{{'options_hostLevelsBetween' | tr}}</span>
<input type="number" max="99" min="1" ng-model="rule.condition.maxValue" required="required" class="form-control"/></span><span ng-switch-when="IpCondition">
<input type="text" ng-model="rule.condition" required="required" omega-ip2str="omega-ip2str" placeholder="127.0.0.1/8" ui-validate="{pattern: "validateIpCondition(rule.condition, $value)"}" class="form-control"/></span><span ng-switch-when="TimeCondition" class="host-levels-details">
<input type="number" min="0" max="23" ng-model="rule.condition.startHour" required="required" class="form-control"/> <span>{{'options_hourBetween' | tr}}</span>
<input type="number" min="0" max="23" ng-model="rule.condition.endHour" required="required" class="form-control"/></span><span ng-switch-when="WeekdayCondition" class="host-levels-details">
<label ng-repeat="selected in getWeekdayList(rule.condition) track by $index" class="checkbox-inline">
<input type="checkbox" ng-model="selected" ng-change="updateDay(rule.condition, $index, selected)"/>{{"options_weekDayShort_" + $index | tr}}
</label></span>
<input ng-model="rule.condition.pattern" ng-switch-default="ng-switch-default" required="required" ui-validate="{pattern: "validateCondition(rule.condition, $value)"}" class="form-control"/>
</td>
<td class="switch-rule-row-target">
<div omega-profile-select="options | profiles:profile" ng-model="rule.profileName" disp-name="dispNameFilter" options="options" ng-class="{disabled: rule.condition.conditionType == "NeverCondition"}"></div>
</td>
<td>
<button title="{{'options_deleteRule' | tr}}" ng-click="removeRule($index)" class="btn btn-danger btn-sm"><span class="glyphicon glyphicon-trash"></span></button>
<button title="{{'options_cloneRule' | tr}}" ng-click="cloneRule($index)" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-duplicate"></span></button>
<button title="{{'options_ruleNote' | tr}}" ng-if="!showNotes" ng-click="addNote($index)" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-comment"></span></button>
</td>
<td ng-if="showNotes">
<input ng-model="rule.note" class="form-control"/>
</td>
</tr>
</tbody>
<tbody>
<tr>
<td style="border-right: none;"></td>
<td style="border-left: none;" colspan="4" ng-attr-colspan="{{showNotes ? 5 : 4}}">
<button ng-click="addRule()" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-plus"></span> <span>{{'options_addCondition' | tr}}</span>
</button>
</td>
</tr>
</tbody>
<tbody ng-if="attached" class="switch-attached">
<tr>
<td style="border-right: none;
没有合适的资源?快使用搜索试试~ 我知道了~
SwitchyOmega-Chromium
共113个文件
js:52个
html:30个
css:8个
1星 需积分: 0 104 下载量 200 浏览量
更新于2023-07-04
收藏 914KB ZIP 举报
SwitchyOmega-Chromium
收起资源包目录
SwitchyOmega-Chromium (113个子文件)
AUTHORS 598B
COPYING 34KB
bootstrap.min.css 118KB
spectrum.css 15KB
shepherd-theme-arrows.css 10KB
options.css 9KB
ladda-themeless.min.css 8KB
index.css 4KB
popup.css 4KB
dialog.css 2KB
glyphicons-halflings-regular.eot 20KB
profile_switch.html 12KB
popup.html 11KB
new_profile.html 4KB
io.html 4KB
ui.html 3KB
options.html 3KB
profile_fixed.html 3KB
profile_pac.html 3KB
fixed_auth_edit.html 2KB
index.html 2KB
profile.html 2KB
profile_rule_list.html 2KB
about.html 2KB
general.html 2KB
rename_profile.html 2KB
replace_profile.html 1KB
omega_profile_select.html 1KB
profile_virtual.html 993B
rule_remove_confirm.html 857B
options_welcome.html 810B
proxy_not_controllable.html 793B
delete_attached.html 788B
cannot_delete_profile.html 720B
delete_profile.html 710B
rule_reset_confirm.html 706B
apply_options_confirm.html 634B
background.html 626B
reset_options_confirm.html 604B
input_group_clear.html 575B
profile_unsupported.html 131B
omega_webext_proxy_script.min.js 721KB
omega_pac.min.js 716KB
omega_target.min.js 328KB
omega_target_chromium_extension.min.js 195KB
angular.min.js 171KB
jquery.min.js 85KB
spectrum.js 76KB
omega.js 64KB
ui-bootstrap-tpls.min.js 64KB
tether.js 47KB
jquery-ui-1.10.4.custom.min.js 37KB
angular-ui-router.min.js 32KB
shepherd.min.js 29KB
angular-animate.min.js 26KB
jsondiffpatch.min.js 21KB
popup.js 15KB
background.js 15KB
Blob.js 14KB
spin.js 10KB
profiles.js 9KB
omega_target_web.js 8KB
angular-sanitize.min.js 7KB
omega_decoration.js 6KB
dropdown.js 5KB
sortable.min.js 4KB
keyboard.js 3KB
ladda.min.js 3KB
switch_profile_guide.js 3KB
ngProgress.min.js 3KB
options.js 3KB
angular-locale_zh-cn.js 3KB
angular-locale_en-us.js 3KB
angular-locale_zh-tw.js 3KB
angular-locale_zh-hk.js 3KB
omega_target_popup.js 2KB
FileSaver.min.js 2KB
omega_debug.js 2KB
options_guide.js 2KB
angular-loader.min.js 2KB
angular-spectrum-colorpicker.min.js 2KB
proxy_not_controllable.js 2KB
script.min.js 2KB
index.js 2KB
validate.min.js 1KB
jquery.ui.touch-punch.min.js 1KB
angular-ladda.min.js 1KB
background_preload.js 1003B
keyboard_help.js 802B
loader.js 671B
i18n.js 517B
draw_omega.js 500B
log_error.js 347B
messages.json 48KB
messages.json 38KB
messages.json 37KB
messages.json 37KB
messages.json 37KB
messages.json 36KB
manifest.json 2KB
共 113 条
- 1
- 2
资源推荐
资源预览
资源评论
2020-12-11 上传
172 浏览量
193 浏览量
2021-02-27 上传
2019-08-11 上传
144 浏览量
5星 · 资源好评率100%
170 浏览量
161 浏览量
5星 · 资源好评率100%
114 浏览量
5星 · 资源好评率100%
5星 · 资源好评率100%
172 浏览量
5星 · 资源好评率100%
174 浏览量
2018-07-22 上传
181 浏览量
资源评论
- 临江仙他哥2024-10-25损坏了浪费我时间
- docosplay2024-02-26不能用呀 #毫无价值
Orange-one
- 粉丝: 11
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 无线充电仿真 maxwell Simplorer无线充电,无线电能传输,WPT Ansys教程
- 在虚拟机中安装windows系统
- 圣诞节主题的Python脚本,模拟圣诞节的几个活动,比如圣诞树装饰、圣诞老人赠送礼物、以及一个简单的小游戏
- 三星S10+adb文件.rar
- 豆瓣Top电影爬虫程序(Python Scrapy)
- 称重系统,过磅软件,地磅程序,c#源码
- 屏幕截图 2024-12-21 172527.png
- 屏幕截图 2024-12-21 171923.png
- 屏幕截图 2024-12-21 172919.png
- 屏幕截图 2024-12-21 165859.png
- 屏幕截图 2024-12-21 165634.png
- 屏幕截图 2024-12-21 165910.png
- 屏幕截图 2024-12-21 170026.png
- 屏幕截图 2024-12-21 170007.png
- 屏幕截图 2024-12-21 170031.png
- 屏幕截图 2024-12-21 170434.png
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功