aboutsummaryrefslogtreecommitdiffstats
path: root/moon_gui/static/app/policy/edit/parameter/rules/rules-list.tpl.html
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2020-06-03 10:06:52 +0200
committerThomas Duval <thomas.duval@orange.com>2020-06-03 10:06:52 +0200
commit7bb53c64da2dcf88894bfd31503accdd81498f3d (patch)
tree4310e12366818af27947b5e2c80cb162da93a4b5 /moon_gui/static/app/policy/edit/parameter/rules/rules-list.tpl.html
parentcbea4e360e9bfaa9698cf7c61c83c96a1ba89b8c (diff)
Update to new version 5.4HEADstable/jermamaster
Signed-off-by: Thomas Duval <thomas.duval@orange.com> Change-Id: Idcd868133d75928a1ffd74d749ce98503e0555ea
Diffstat (limited to 'moon_gui/static/app/policy/edit/parameter/rules/rules-list.tpl.html')
-rwxr-xr-xmoon_gui/static/app/policy/edit/parameter/rules/rules-list.tpl.html134
1 files changed, 0 insertions, 134 deletions
diff --git a/moon_gui/static/app/policy/edit/parameter/rules/rules-list.tpl.html b/moon_gui/static/app/policy/edit/parameter/rules/rules-list.tpl.html
deleted file mode 100755
index 7f556f93..00000000
--- a/moon_gui/static/app/policy/edit/parameter/rules/rules-list.tpl.html
+++ /dev/null
@@ -1,134 +0,0 @@
-<div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
-
- <h4 data-translate="moon.policy.rules.edit.title">List of associated Subjects</h4>
-
- </div>
-
- <div class="panel-body">
-
- <div class="table-responsive" data-role="table">
-
- <table class="table table-striped table-hover" ng-table="list.table">
-
- <thead>
-
- <tr>
-
- <th class="customTables sortable"
- ng-class="{ 'sort-asc': list.table.isSortBy('description', 'asc'), 'sort-desc': list.table.isSortBy('description', 'desc') }"
- ng-click="list.table.sorting('description', list.table.isSortBy('description', 'asc') ? 'desc' : 'asc')">
- <div data-translate="moon.policy.rules.list.table.metaRule">Meta Rule</div>
- </th>
-
- <th class="customTables sortable">
- <div data-translate="moon.policy.rules.list.table.rule">Rule</div>
- </th>
-
- <th class="customTables sortable">
- <div data-translate="moon.policy.rules.list.table.instructions">Instruction</div>
- </th>
-
- <th class="customTables sortable">
- <div data-translate="moon.policy.rules.list.table.action.title">Actions</div>
- </th>
- </tr>
-
- </thead>
-
- <moon-loader ng-if="list.loadingRules"></moon-loader>
-
- <tbody ng-if="!list.loadingRules && !list.hasRules()">
- <tr>
- <td colspan="4"><span data-translate="moon.policy.rules.list.table.notFound">There is no Rules</span></td>
- </tr>
- </tbody>
-
- <tbody ng-if="!list.loadingRules && list.hasRules()">
-
- <tr ng-repeat="aRule in $data | filter:list.search.find | orderBy:sort:reverse">
- <td>
- <span ng-if="!list.getMetaRuleFromRule(aRule)">
- <moon-loader ng-if="!list.getMetaRuleFromRule(aRule)" ></moon-loader>
- <em data-translate="moon.policy.rules.list.table.loading.metaRule">Loading </em>
- </span>
-
- <span ng-if="list.getMetaRuleFromRule(aRule)">
- <span ng-bind="aRule.meta_rule.name"></span>
- </span>
- </td>
-
- <td>
-
- <span ng-if="!list.getMetaRuleFromRule(aRule)">
- <moon-loader ng-if="!list.getMetaRuleFromRule(aRule)" ></moon-loader>
- <em data-translate="moon.policy.rules.list.table.loading.metaRule">Loading </em>
- </span>
-
- <span ng-if="list.getMetaRuleFromRule(aRule)" ng-repeat="(key, value) in aRule.rule">
-
- <span ng-if="!list.getCategoryFromRuleIndex(key, aRule)">
- <moon-loader ng-if="!list.getCategoryFromRuleIndex(key, aRule)" ></moon-loader>
- </span>
-
- <span ng-if="list.getCategoryFromRuleIndex(key, aRule)">
- <span ng-if="aRule.rule_value[key].category.name" ng-bind="aRule.rule_value[key].category.name"></span>
- <span ng-if="aRule.rule_value[key].category.value.name" ng-bind="aRule.rule_value[key].category.value.name"></span>
- <span ng-if="key < aRule.rule.length-1">,</span>
- </span>
-
- </span>
-
- </td>
-
- <td>
- <pre ng-bind="aRule.instructions | json "></pre>
- </td>
-
- <td>
-
- <a href="" ng-if="!aRule.loader" ng-click="list.deleteRules(aRule)" >
- <span class="glyphicon glyphicon-transfer"></span>
- <span class="control-label" data-translate="moon.policy.rules.list.table.action.delete">Delete</span>
- </a>
-
- <div ng-if="aRule.loader">
-
- <moon-loader></moon-loader>
-
- </div>
-
- </td>
-
- </tr>
-
- </tbody>
-
- </table>
-
- </div>
-
- </div>
-
- </div>
-
- <div ng-if="list.editMode" class="panel panel-default">
-
- <div class="panel-heading">
-
- <h4 data-translate="moon.policy.rules.edit.action.add.title">Add a Rule</h4>
-
- </div>
-
- <div class="panel-body">.
-
- <moon-rules-edit policy="list.policy"></moon-rules-edit>
-
- </div>
-
- </div>
-
-</div> \ No newline at end of file