aboutsummaryrefslogtreecommitdiffstats
path: root/moon_gui/static/app/model/edit/metarules/metarules-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/model/edit/metarules/metarules-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/model/edit/metarules/metarules-list.tpl.html')
-rwxr-xr-xmoon_gui/static/app/model/edit/metarules/metarules-list.tpl.html138
1 files changed, 0 insertions, 138 deletions
diff --git a/moon_gui/static/app/model/edit/metarules/metarules-list.tpl.html b/moon_gui/static/app/model/edit/metarules/metarules-list.tpl.html
deleted file mode 100755
index ebe307c3..00000000
--- a/moon_gui/static/app/model/edit/metarules/metarules-list.tpl.html
+++ /dev/null
@@ -1,138 +0,0 @@
-<div>
-
-
- <div><h4 data-translate="moon.model.metarules.title">List of Meta Rules</h4></div>
-
- <div class="table-responsive" data-role="table">
- <table class="table table-striped table-hover" ng-table="list.table">
-
- <colgroup>
- <col class="col-md-2" />
- <col class="col-md-2" />
- <col class="col-md-1" />
- <col class="col-md-1" />
- <col class="col-md-1" />
- <col class="col-md-2" />
- </colgroup>
-
- <thead>
-
- <tr>
-
- <th class="customTables sortable"
- ng-class="{ 'sort-asc': list.table.isSortBy('name', 'asc'), 'sort-desc': list.table.isSortBy('name', 'desc') }"
- ng-click="list.table.sorting('name', list.table.isSortBy('name', 'asc') ? 'desc' : 'asc')">
- <div data-translate="moon.model.metarules.table.name">Name</div>
- </th>
-
- <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.model.metarules.table.description">Description</div>
- </th>
-
- <th class="customTables sortable">
- <div data-translate="moon.model.metarules.table.metadata.subject.number">Number of Subjects</div>
- </th>
-
- <th class="customTables sortable">
- <div data-translate="moon.model.metarules.table.metadata.object.number">Number of Subjects</div>
- </th>
-
- <th class="customTables sortable">
- <div data-translate="moon.model.metarules.table.metadata.action.number">Number of Actions</div>
- </th>
-
- <th class="customTables">
- <div data-translate="moon.model.metarules.action.title">Actions</div>
- </th>
- </tr>
-
- </thead>
-
- <tbody ng-if="!list.hasMetaRules()">
- <tr>
- <td colspan="2"><span data-translate="moon.model.metarules.table.notFound">There is no Meta Rules</span></td>
- </tr>
- </tbody>
-
- <tbody ng-if="list.hasMetaRules()">
-
- <tr ng-repeat="aMetaRules in $data | filter:list.search.find | orderBy:sort:reverse">
- <td ng-bind="aMetaRules.name"></td>
- <td ng-bind="aMetaRules.description"></td>
- <td ng-bind="aMetaRules.subject_categories.length"></td>
- <td ng-bind="aMetaRules.object_categories.length"></td>
- <td ng-bind="aMetaRules.action_categories.length"></td>
- <td>
-
- <div ng-if="list.editMode">
-
- <div ng-if="!value.loader" class="dropdown">
-
- <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">
- <span data-translate="moon.model.metadata.table.action.title">Actions</span>
- <span class="caret"></span>
- </button>
-
- <ul class="dropdown-menu">
-
- <li>
- <a href="" ng-click="list.unmap.showModal(aMetaRules)" >
- <span class="glyphicon glyphicon-transfer"></span>
- <span class="control-label" data-translate="moon.model.metarules.action.remove">Remove</span>
- </a>
- </li>
-
- <li>
- <a href="" ng-click="list.edit.showModal(aMetaRules)">
- <span class="glyphicon glyphicon-cog"></span>
- <span class="control-label" data-translate="moon.model.metarules.action.edit">Edit</span>
- </a>
- </li>
-
- </ul>
-
- </div>
-
- </div>
-
- <div ng-if="!list.editMode">
-
- <a href="" ng-click="list.showDetail(aMetaRules)">
-
- <span ng-if="aMetaRules.id !== list.getShowDetailValue().id">
- <span class="glyphicon glyphicon-eye-open"></span>
- <span class="control-label" data-translate="moon.model.metarules.action.detail.open">Consult</span>
- </span>
-
- <span ng-if="aMetaRules.id === list.getShowDetailValue().id">
- <span class="glyphicon glyphicon-eye-close"></span>
- <span class="control-label" data-translate="moon.model.metarules.action.detail.close">Close</span>
- </span>
-
- </a>
-
- </div>
-
- </td>
- </tr>
-
- </tbody>
-
- </table>
-
- <div ng-if="list.showDetailValue">
- <moon-meta-data-list edit-mode="list.editMode" meta-rule="list.getShowDetailValue()"></moon-meta-data-list>
- </div>
-
- </div>
-
- <div class="form-group" ng-if="list.editMode">
- <a href="" ng-click="list.map.showModal()" class="btn btn-default">
- <span class="glyphicon glyphicon-link"></span>
- <span data-translate="moon.model.metarules.action.settings">Settings</span>
- </a>
- </div>
-
-</div>