forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.html
More file actions
103 lines (89 loc) · 4.31 KB
/
Copy pathUser.html
File metadata and controls
103 lines (89 loc) · 4.31 KB
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
<div class="row">
<div class="col-sm-7">
<h1 class="pagetitle" translate lib="web">userdetails</h1>
</div>
</div>
<pre ng-show="ErrorMessage!=null">{{ ErrorMessage }}</pre>
<div ng-show="ctrl.errormessage != ''"" class=" alert alert-danger" role="alert">{{ctrl.errormessage}}</div>
<form ng-submit="ctrl.submit()" class="form-horizontal" role="form" autocomplete="off">
<div class="form-group">
<label for="name" class="col-sm-2 control-label" translate lib="web">name</label>
<div class="col-sm-4">
<input ng-model="ctrl.model.name" class="form-control input-md" ng-disabled="ctrl.loading==true" />
</div>
</div>
<div class="form-group">
<label for="username" class="col-sm-2 control-label" translate lib="web">username</label>
<div class="col-sm-4">
<input ng-model="ctrl.model.username" class="form-control input-md" ng-disabled="ctrl.loading==true"
autocomplete="new-password" />
</div>
</div>
<div class="form-group">
<label for="newpassword" class="col-sm-2 control-label" translate lib="web">password</label>
<div class="col-sm-4">
<input ng-model="ctrl.model.newpassword" type="password" class="form-control input-md"
ng-disabled="ctrl.loading==true" />
</div>
</div>
<div class="form-group" ng-show="ctrl.model.sid != '' && ctrl.model.sid != null && ctrl.model.sid != undefined">
<label for="sid" class="col-sm-2 control-label" translate lib="web">SID</label>
<div class="col-sm-4">
<input ng-model="ctrl.model.sid" class="form-control input-md" ng-disabled="ctrl.loading==true" />
</div>
</div>
<div class="form-group"
ng-show="ctrl.model.firebasetoken != '' && ctrl.model.firebasetoken != null && ctrl.model.firebasetoken != undefined">
<label for="sid" class="col-sm-2 control-label" translate lib="web">Firebase Token</label>
<div class="col-sm-4">
<input ng-model="ctrl.model.firebasetoken" class="form-control input-md" ng-disabled="ctrl.loading==true" />
</div>
</div>
<div class="form-group"
ng-show="ctrl.model.onesignalid != '' && ctrl.model.onesignalid != null && ctrl.model.onesignalid != undefined">
<label for="sid" class="col-sm-2 control-label" translate lib="web">OneSignal Id</label>
<div class="col-sm-4">
<input ng-model="ctrl.model.onesignalid" class="form-control input-md" ng-disabled="ctrl.loading==true" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" translate lib="web">providerids</label>
<div class="col-sm-4">
</div>
</div>
<div class="form-group" ng-repeat="id in ctrl.model.federationids">
<label class="col-sm-2 control-label" translate lib="web"></label>
<div class="col-sm-4">
{{ id }}
<button type="button" ng-disabled="ctrl.loading==true" class="btn btn-danger" ng-click="ctrl.deleteid(id)"
translate lib="web">delete</button>
</div>
</div>
<div class="form-inline">
<div class="form-group mb-2">
<label class="sr-only" translate lib="web">AddFederationId</label>
</div>
<div class="form-group mx-sm-3 mb-2">
<input ng-model="ctrl.newid" type="text" class="form-control" placeholder="New identity typically email"
autocomplete="new-password">
</div>
<button type="button" class="btn btn-success mb-2" ng-disabled="ctrl.loading==true" ng-click="ctrl.addid()">add
identity</button>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" ng-disabled="ctrl.loading==true" class="btn btn-success" translate
lib="web">save</button>
</div>
</div>
<div class="form-inline" ng-repeat="m in ctrl.memberof">
<label class="col-sm-1 control-label" translate lib="web">memberof</label>
<div class="col-sm-3">
{{ m.name }}
</div>
<div class="col-sm-2">
<button ng-click=" ctrl.RemoveMember(m)" type="button" ng-disabled="ctrl.loading==true"
class="btn btn-success" translate lib="web">remove</button>
</div>
</div>
</form>