/
ObjectPolicyPanel.html
75 lines (64 loc) · 3.1 KB
/
ObjectPolicyPanel.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!--
~ Copyright (c) 2010-2017 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<wicket:panel xmlns:wicket="http://wicket.apache.org">
<form wicket:id="mainForm" class="form-horizontal" style="margin: 15px">
<div class="form-group" wicket:id="type" />
<div class="form-group">
<label class="col-md-4 control-label">
<wicket:message key="ObjectPolicyDialog.subtype" />
</label>
<div class="col-md-8">
<div class="input-group">
<input type="text" class="form-control input-sm" wicket:id="subtype">
</div>
</div>
</div>
<div class="form-group" wicket:id="objectTemplate" />
<div class="form-group" wicket:id="conflictResolutionContainer">
<label class="col-md-4 control-label">
<wicket:message key="ObjectPolicyDialog.conflictResolution" />
</label>
<div class="col-md-8">
<wicket:message key="ObjectPolicyDialog.present" />
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label">
<wicket:message key="ObjectPolicyDialog.propertyConstraint" />
</label>
<wicket:container wicket:id="repeater">
<div class="col-md-6" wicket:id="textWrapper">
<div class="input-group">
<input type="text" class="form-control input-sm" wicket:id="property">
<span class="input-group-addon">
<input type="checkbox" wicket:id="oidBound">
</span>
</div>
</div>
<div class="col-md-2" wicket:id="buttonGroup">
<span class="btn-group">
<a class="btn btn-danger btn-sm" wicket:id="remove"><i class="glyphicon glyphicon-minus"/></a>
<a class="btn btn-success btn-sm" wicket:id="add"><i class="glyphicon glyphicon-plus"/></a>
</span>
</div>
</wicket:container>
</div>
<p align="right">
<a class="btn btn-primary btn-sm" wicket:id="saveButton" about="objectPolicySaveButton"/>
<a class="btn btn-default btn-sm" wicket:id="cancelButton"/>
</p>
</form>
</wicket:panel>