aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_gui/static/app/project/action/project-view.tpl.html
blob: 3228c915312052c4cd45923fd592fd194e493c67 (plain)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<div ng-controller="ProjectViewController as view" class="modal" tabindex="-1" data-role="modalViewProject">

	<div class="modal-dialog">

		<div class="modal-content">

			<div class="modal-header">
				<button type="button" class="close" ng-click="$hide()">&times;</button>
				<h4 class="modal-title" data-translate="moon.project.view.title" data-translate-values="{projectName: view.project.name}"></h4>
			</div>
			<div class="modal-body">
				<dl class="dl-horizontal">
					<dt>Id</dt>
					<dd ng-bind="view.project.id"></dd>
					<dt>Name</dt>
					<dd ng-bind="view.project.name"></dd>
					<dt>Is_domain</dt>
					<dd ng-bind="view.project.is_domain"></dd>
					<dt>Link</dt>
					<dd ng-bind="view.project.links.self"></dd>
					<dt>enabled</dt>
					<dd ng-bind="view.project.enabled"></dd>
					<dt>Parent id</dt>
					<dd ng-bind="view.project.parent_id"></dd>
					<dt>Domain id</dt>
					<dd ng-bind="view.project.domain_id"></dd>
					<dt>Description</dt>
					<dd ng-bind="view.project.description"></dd>
				</dl>
			</div>
			
			<!--<div class="modal-body">-->
			<!---->
				<!--&lt;!&ndash; objects &ndash;&gt;-->
			<!---->
				<!--<div class="row">-->
					<!--<div class="col-md-12">-->
						<!--<h1 class="pull-left" data-translate="moon.project.view.object.title">Objects</h1>-->
					<!--</div>-->
				<!--</div>-->
												<!---->
				<!--<div class="row top05">-->
					<!--<div class="col-md-3"><label data-translate="moon.project.view.object.name">Name</label></div>-->
					<!--<div class="col-md-7"><label data-translate="moon.project.view.object.description">Description</label></div>-->
					<!--<div class="col-md-2"><label data-translate="moon.project.view.object.enabled">Enabled</label></div>-->
				<!--</div>-->
				<!---->
				<!--<div class="row" ng-if="view.objectsLoading">-->
					<!--<div class="col-md-12"><img src="assets/img/ajax-loader.gif" /> <em data-translate="moon.project.view.object.loading">Loading Objects</em></div>-->
				<!--</div>-->
				<!---->
				<!--<div class="row" ng-if="!view.objectsLoading && !view.hasObjects()">-->
					<!--<div class="col-md-12" data-translate="moon.project.view.object.notFound">Objects not found</div>-->
				<!--</div>-->
				<!---->
				<!--<div class="row" ng-if="!view.objectsLoading && view.hasObjects()" ng-repeat="object in view.objects">-->
					<!--<div class="col-md-3">{{object.name}}</div> -->
					<!--<div class="col-md-7">{{object.description}}</div>-->
					<!--<div class="col-md-2">-->
						<!--<span ng-if="object.enabled" class="glyphicon glyphicon-ok"></span>-->
					<!--</div>-->
				<!--</div>-->
                <!---->
				<!--&lt;!&ndash; subjects &ndash;&gt;-->
				<!---->
				<!--<div class="row top10">-->
					<!--<div class="col-md-12">-->
						<!--<h1 class="pull-left" data-translate="moon.project.view.subject.title">Subjects</h1>-->
					<!--</div>-->
				<!--</div>-->
												<!---->
				<!--<div class="row top05">-->
					<!--<div class="col-md-3"><label data-translate="moon.project.view.subject.name">Name</label></div>-->
					<!--<div class="col-md-3"><label data-translate="moon.project.view.subject.domain">Domain</label></div>-->
					<!--<div class="col-md-4"><label data-translate="moon.project.view.subject.mail">Mail</label></div>-->
					<!--<div class="col-md-2"><label data-translate="moon.project.view.subject.enabled">Enabled</label></div>-->
				<!--</div>-->
				<!---->
				<!--<div class="row">-->
					<!--<div class="col-md-3">-->
						<!--<ui-select ng-model="view.selectedSubject" on-select="view.resolveRoles($item); view.resolveGroups($item)">-->
							<!--<ui-select-match placeholder="(None)">{{$select.selected.name}}</ui-select-match>-->
							<!--<ui-select-choices repeat="subject in view.subjects">-->
								<!--<div ng-value="subject">{{subject.name}}</div>-->
							<!--</ui-select-choices>-->
						<!--</ui-select>-->
						<!--<img ng-if="view.subjectsLoading" src="assets/img/ajax-loader.gif" />-->
					<!--</div> -->
					<!--<div class="col-md-3">{{view.selectedSubject.domain}}</div>-->
					<!--<div class="col-md-4">{{view.selectedSubject.mail}}</div>-->
					<!--<div class="col-md-2">-->
						<!--<div ng-if="view.selectedSubject != null">-->
							<!--<span ng-if="view.selectedSubject.enabled" class="glyphicon glyphicon-ok"></span>-->
						<!--</div>-->
					<!--</div>-->
				<!--</div>-->
                <!---->
                <!--&lt;!&ndash; roles &ndash;&gt;-->
                <!---->
               	<!--<div ng-if="view.hasSelectedSubject()">-->
                <!---->
	               	<!--<div class="row top10">-->
						<!--<div class="col-md-12">-->
							<!--<h1 class="pull-left" data-translate="moon.project.view.role.title">Roles</h1>-->
						<!--</div>-->
					<!--</div>-->
														<!---->
					<!--<div class="row top05">-->
					<!---->
						<!--<div class="col-md-3"><label data-translate="moon.project.view.role.value">Value</label></div>-->
		                <!--<div class="col-md-5"><label data-translate="moon.project.view.role.description">Description</label></div>-->
		                <!--<div class="col-md-2"><label data-translate="moon.project.view.role.assigned">Assigned</label></div>-->
		                <!--<div class="col-md-2"><label data-translate="moon.project.view.role.enabled">Enabled</label></div>-->
		                <!---->
					<!--</div>-->
					<!---->
					<!--<div class="row" ng-if="view.rolesLoading">-->
						<!--<div class="col-md-12"><img src="assets/img/ajax-loader.gif" /> <em data-translate="moon.project.view.role.loading">Loading Roles</em></div>-->
					<!--</div>-->
					<!---->
					<!--<div class="row" ng-if="!view.rolesLoading && !view.hasRoles()">-->
						<!--<div class="col-md-12" data-translate="moon.project.view.role.notFound">Roles not found</div>-->
					<!--</div>-->
					<!---->
					<!--<div class="row" ng-if="!view.rolesLoading && view.hasRoles()" ng-repeat="role in view.roles">-->
					 <!---->
	                 	<!--<div class="col-md-3" ng-bind="role.value"></div>-->
	                 	<!--<div class="col-md-5" ng-bind="role.description"></div>-->
	                 	<!--<div class="col-md-2">-->
	                    	<!--<span ng-if="view.isRoleAssigned(role)" class="glyphicon glyphicon-ok"></span>-->
	                    <!--</div>-->
	                 	<!--<div class="col-md-2">-->
	                 		<!--<span ng-if="role.enabled" class="glyphicon glyphicon-ok"></span>-->
	                    <!--</div>-->
			                    	                                <!---->
	                <!--</div>-->
                <!---->
                <!--</div>-->
                                <!---->
                <!--&lt;!&ndash; groups &ndash;&gt;-->
                <!---->
               	<!--<div ng-if="view.hasSelectedSubject()">-->
                <!---->
	               	<!--<div class="row top10">-->
						<!--<div class="col-md-12">-->
							<!--<h1 class="pull-left" data-translate="moon.project.view.group.title">Groups</h1>-->
						<!--</div>-->
					<!--</div>-->
														<!---->
					<!--<div class="row top05">-->
					<!---->
						<!--<div class="col-md-3"><label data-translate="moon.project.view.group.value">Value</label></div>-->
		                <!--<div class="col-md-5"><label data-translate="moon.project.view.group.description">Description</label></div>-->
		                <!--<div class="col-md-2"><label data-translate="moon.project.view.group.assigned">Assigned</label></div>-->
		                <!--<div class="col-md-2"><label data-translate="moon.project.view.group.enabled">Enabled</label></div>-->
		                <!---->
					<!--</div>-->
					<!---->
					<!--<div class="row" ng-if="view.groupsLoading">-->
						<!--<div class="col-md-12"><img src="assets/img/ajax-loader.gif" /> <em data-translate="moon.project.view.group.loading">Loading Groups</em></div>-->
					<!--</div>-->
					<!---->
					<!--<div class="row" ng-if="!view.groupsLoading && !view.hasGroups()">-->
						<!--<div class="col-md-12" data-translate="moon.project.view.group.notFound">Groups not found</div>-->
					<!--</div>-->
					<!---->
					<!--<div class="row" ng-if="!view.groupsLoading && view.hasGroups()" ng-repeat="group in view.groups">-->
					 <!---->
	                 	<!--<div class="col-md-3">{{group.value}}</div>-->
	                 	<!--<div class="col-md-5">{{group.description}}</div>-->
	                 	<!--<div class="col-md-2">-->
	                    	<!--<span ng-if="view.isGroupAssigned(group)" class="glyphicon glyphicon-ok"></span>-->
	                    <!--</div>-->
	                 	<!--<div class="col-md-2">-->
	                 		<!--<span ng-if="group.enabled" class="glyphicon glyphicon-ok"></span>-->
	                    <!--</div>-->
			                    	                                <!---->
	                <!--</div>-->
                <!---->
                <!--</div>-->
                                				<!---->
			<!--</div>-->
			<!---->
			<div class="modal-footer top10">
				<div class="btn-toolbar" style="float: right;">
					<button ng-click="$hide()" class="btn btn-default" data-translate="moon.project.view.action.close">Close</button>
				</div>
			</div>
			
		</div>
		
	</div>
	
</div>