@c8y/ng1-modules 1018.156.0 → 1018.159.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,30 @@
1
- <div class="row" data-ng-controller="applicationSettingsCtrl">
1
+ <div
2
+ class="row"
3
+ data-ng-controller="applicationSettingsCtrl"
4
+ >
2
5
  <c8y-breadcrumbs-set>
3
- <c8y-breadcrumbs-item label="{{ 'Application' | translate }}" icon="cog"></c8y-breadcrumbs-item>
4
- <c8y-breadcrumbs-item label="{{ 'Settings' | translate }}" icon="cog"></c8y-breadcrumbs-item>
6
+ <c8y-breadcrumbs-item
7
+ icon="cog"
8
+ label="{{ 'Application' | translate }}"
9
+ ></c8y-breadcrumbs-item>
10
+ <c8y-breadcrumbs-item
11
+ icon="cog"
12
+ label="{{ 'Settings' | translate }}"
13
+ ></c8y-breadcrumbs-item>
5
14
  </c8y-breadcrumbs-set>
6
15
  <div class="col-xs-12 col-sm-12 col-md-6">
7
- <form name="defaultAppForm" data-ng-submit="updateDefaultApp()">
16
+ <form
17
+ name="defaultAppForm"
18
+ data-ng-submit="updateDefaultApp()"
19
+ >
8
20
  <div class="card card--fullpage">
9
21
  <div class="card-header separator p-l-16 p-r-16">
10
- <div class="card-title" translate>Default application</div>
22
+ <div
23
+ class="card-title"
24
+ translate
25
+ >
26
+ Default application
27
+ </div>
11
28
  </div>
12
29
  <div class="inner-scroll">
13
30
  <div class="card-block p-l-16 p-r-16">
@@ -26,14 +43,14 @@
26
43
  <div class="c8y-list__item__check p-l-0 m-t-auto m-b-auto">
27
44
  <label class="c8y-radio">
28
45
  <input
29
- type="radio"
46
+ ng-class="{
47
+ active: applicationSettings.defaultApplication === application
48
+ }"
30
49
  id="{{ 'apps' + $index }}"
31
50
  name="defaultApp"
51
+ type="radio"
32
52
  ng-model="applicationSettings.defaultApplication"
33
53
  ng-value="application"
34
- ng-class="{
35
- active: applicationSettings.defaultApplication === application
36
- }"
37
54
  />
38
55
  <span data-cy="applicationSettingsCtrl--input-span"></span>
39
56
  </label>
@@ -62,9 +79,9 @@
62
79
  </div>
63
80
  <div class="card-footer separator p-l-16 p-r-16">
64
81
  <button
82
+ class="btn btn-primary"
65
83
  title="{{ 'Save default application' | translate }}"
66
84
  type="submit"
67
- class="btn btn-primary"
68
85
  ng-disabled="defaultAppForm.$invalid || defaultAppForm.$pristine"
69
86
  >
70
87
  {{ 'Save default application' | translate }}
@@ -76,28 +93,44 @@
76
93
 
77
94
  <div class="col-xs-12 col-sm-12 col-md-6">
78
95
  <form
96
+ class="card"
79
97
  name="accessForm"
80
98
  data-ng-submit="saveAccessControl(allow_origin)"
81
99
  novalidate
82
- class="card"
83
100
  >
84
101
  <div class="card card--fullpage">
85
102
  <div class="card-header separator p-l-16 p-r-16">
86
- <div class="card-title" translate>Access control</div>
103
+ <div
104
+ class="card-title"
105
+ translate
106
+ >
107
+ Access control
108
+ </div>
87
109
  </div>
88
110
  <div class="inner-scroll">
89
111
  <div class="card-block p-l-16 p-r-16">
90
- <p class="m-b-24 text-pre-line" ng-bind-html="helpText | translate"></p>
112
+ <p
113
+ class="m-b-24 text-pre-line"
114
+ ng-bind-html="helpText | translate"
115
+ ></p>
91
116
  <div class="form-group m-b-8">
92
- <label for="allowedDomain" translate>Allowed domain</label>
117
+ <label
118
+ for="allowedDomain"
119
+ translate
120
+ >
121
+ Allowed domain
122
+ </label>
93
123
  <input
124
+ class="form-control"
94
125
  id="allowedDomain"
126
+ placeholder="{{ placeholderText }}"
95
127
  type="text"
96
- class="form-control"
97
128
  data-ng-model="allow_origin.value"
98
- placeholder="{{ placeholderText }}"
99
129
  />
100
- <p class="help-block" translate>
130
+ <p
131
+ class="help-block"
132
+ translate
133
+ >
101
134
  Be careful not to lock yourself out of the platform.
102
135
  </p>
103
136
  </div>
@@ -105,9 +138,9 @@
105
138
  </div>
106
139
  <div class="card-footer separator p-l-16 p-r-16">
107
140
  <button
141
+ class="btn btn-primary"
108
142
  title="{{ 'Save access control' | translate }}"
109
143
  type="submit"
110
- class="btn btn-primary"
111
144
  ng-disabled="accessForm.$invalid || accessForm.$pristine"
112
145
  >
113
146
  {{ 'Save access control' | translate }}