@cronapp/templates 2.9.1 → 2.9.2-SP.2
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.
- package/file/crud/phonegap_crud_view/__FileName__.view.html.ftl +9 -9
- package/package.json +1 -1
- package/project/M/cronapp-lyceum-project-mobile-cordova/__copydata.ftl +29 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/__linksInherit +9 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/project.svg +190 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/src/main/resources/application.properties.ftl +27 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/template.properties +52 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/template_en_US.properties +32 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/template_pt_BR.properties +31 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/logged/user.view.html +4 -4
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/login.view.html.ftl +80 -31
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/__copydata.ftl +8 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/menu.view.html +2 -2
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/public/menu.view.html +2 -2
- package/project/M/cronapp-rad-project-mobile-cordova/template.properties +1 -0
- package/project/W/cronapp-rad-project/Dockerfile +11 -7
- package/project/W/cronapp-rad-project/diagram/app.umlcd +2 -2
- package/project/W/cronapp-rad-project/pom.xml.ftl +7 -0
- package/project/W/cronapp-rad-project/src/main/java/app/entity/ApplicationUser.java +2 -2
- package/project/W/cronapp-rad-project/src/main/java/app/entity/Login.java +1 -1
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/privacy/Cookies.blockly +43 -2
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/privacy/Cookies.blockly.js +22 -0
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/logged/home.view.html.ftl +2 -2
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/login.view.html.ftl +53 -51
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/__copydata.ftl +7 -0
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/home.view.html.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/privacy/cookies.view.html +1 -1
- package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/views/home.view.html.ftl +2 -2
- package/templates/low-code/data-layer/ENTITIES.ftl +42 -22
- package/templates/low-code/data-layer/ENTITIESPK.ftl +4 -4
- package/file/view.html/EmptyCrudHtml/__FileName__.view.html.ftl +0 -69
- package/file/view.html/EmptyCrudHtml/template.properties +0 -7
- package/file/view.html/EmptyCrudHtml/template_pt_BR.properties +0 -4
- package/file/view.html/EmptyCrudHtml/view.html.png +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<#-- Verificar se existem parametros -->
|
|
2
|
+
file=home.view.html
|
|
3
|
+
file=menu.view.html
|
|
4
|
+
<#if authentication?lower_case != "sso" && authentication?lower_case != "saml">
|
|
5
|
+
file=reset-password-email.view.html
|
|
6
|
+
file=reset-password.view.html
|
|
7
|
+
file=signup.view.html
|
|
8
|
+
</#if>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<ion-view class="pane" role="region">
|
|
2
2
|
<ion-content data-container="true" data-component="crn-ion-content" class="scroll-content menu-view">
|
|
3
|
-
<
|
|
3
|
+
<div class=" disable-user-behavior list">
|
|
4
4
|
<!-- Menu -->
|
|
5
5
|
<div class="component-holder" data-component="crn-navbar" id="menu-blue">
|
|
6
6
|
<div class="nav navbar-nav">
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
</div>
|
|
11
11
|
</div>
|
|
12
12
|
<!-- Menu -->
|
|
13
|
-
</
|
|
13
|
+
</div>
|
|
14
14
|
</ion-content>
|
|
15
15
|
</ion-view>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<ion-view class="pane">
|
|
2
2
|
<ion-content data-container="true" data-component="crn-ion-content" class="scroll-content menu-view">
|
|
3
|
-
<
|
|
3
|
+
<div class=" disable-user-behavior list">
|
|
4
4
|
<!-- Menu -->
|
|
5
5
|
<div class="component-holder" data-component="crn-navbar" id="menu-blue">
|
|
6
6
|
<div class="nav navbar-nav">
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
</cron-mobile-menu>
|
|
11
11
|
</div>
|
|
12
12
|
<!-- Menu -->
|
|
13
|
-
</
|
|
13
|
+
</div>
|
|
14
14
|
</ion-content>
|
|
15
15
|
</ion-view>
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
+
## Consulte a documentação do Docker em https://docs.cronapp.io para informações sobre o conteúdo desse arquivo.
|
|
2
|
+
|
|
1
3
|
FROM alpine:3.12.0 as maven_builder
|
|
2
4
|
RUN apk add --no-cache --update-cache maven openjdk11 npm git bash
|
|
3
5
|
WORKDIR /app
|
|
4
6
|
ADD pom.xml /app/pom.xml
|
|
5
7
|
RUN git config --global url."https://".insteadOf git://
|
|
6
|
-
# Usando repositórios externo - JAR e NPM
|
|
7
|
-
RUN mvn dependency:go-offline -B
|
|
8
|
-
ADD . /app
|
|
9
|
-
# Consulte https://docs.cronapp.io e busque por Novos parâmetros para gerar .war para mais informações sobre o TIER e CONTEXT_USE
|
|
10
8
|
ARG TIER
|
|
11
9
|
ARG CONTEXT_USE
|
|
12
10
|
ARG MOBILE_APP
|
|
11
|
+
|
|
12
|
+
## Para repositório EXTERNO não é necessário alterações.
|
|
13
|
+
## Para repositório INTERNO comente as linhas 16, 17 e 18 e retire os comentários nas linhas 21, 22, 23 e 24.
|
|
14
|
+
|
|
15
|
+
## Usando repositórios externo - JAR e NPM
|
|
16
|
+
RUN mvn dependency:go-offline -B
|
|
17
|
+
ADD . /app
|
|
13
18
|
RUN cd /app && mvn package -X -Dcronapp.profile=${TIER} -Dcronapp.useContext=${CONTEXT_USE} -Dcronapp.mobileapp=${MOBILE_APP}
|
|
14
|
-
|
|
19
|
+
|
|
20
|
+
## Usando repositórios interno - JAR e NPM
|
|
15
21
|
#ADD settings.xml $HOME/.m2/settings.xml
|
|
16
22
|
#RUN npm config set registry https://my.registry.com/your-repository/name && mvn -s /app/settings.xml dependency:go-offline -B
|
|
17
23
|
#ADD . /app
|
|
18
|
-
#ARG TIER
|
|
19
|
-
#ARG CONTEXT_USE
|
|
20
24
|
#RUN cd /app && mvn -s /app/settings.xml package -X -Dcronapp.profile=${TIER} -Dcronapp.useContext=${CONTEXT_USE} -Dcronapp.mobileapp=${MOBILE_APP}
|
|
21
25
|
|
|
22
26
|
FROM tomcat:9.0.17-jre11
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"referencedColumnName": "",
|
|
360
360
|
"isSearchable": false,
|
|
361
361
|
"sequence": "",
|
|
362
|
-
"isCascade":
|
|
362
|
+
"isCascade": true,
|
|
363
363
|
"isVersion": false,
|
|
364
364
|
"storageId": "",
|
|
365
365
|
"storageKey": "",
|
|
@@ -1308,7 +1308,7 @@
|
|
|
1308
1308
|
"referencedColumnName": "",
|
|
1309
1309
|
"isSearchable": false,
|
|
1310
1310
|
"sequence": "",
|
|
1311
|
-
"isCascade":
|
|
1311
|
+
"isCascade": true
|
|
1312
1312
|
}
|
|
1313
1313
|
],
|
|
1314
1314
|
"id": "2016ad54-a0f9-4337-ad10-694a48f0435c",
|
|
@@ -189,6 +189,13 @@
|
|
|
189
189
|
<groupId>io.cronapp</groupId>
|
|
190
190
|
<artifactId>cronapp-framework-auditlog</artifactId>
|
|
191
191
|
</dependency>
|
|
192
|
+
<#if ((lyceum??) && (lyceum?lower_case) == "true") >
|
|
193
|
+
<dependency>
|
|
194
|
+
<groupId>io.cronapp.plugins.0D605BA-0E1B-4814-AECE-5A793A49976</groupId>
|
|
195
|
+
<artifactId>lyceumx-api</artifactId>
|
|
196
|
+
<version>1.0.0-SNAPSHOT</version>
|
|
197
|
+
</dependency>
|
|
198
|
+
</#if>
|
|
192
199
|
</dependencies>
|
|
193
200
|
<repositories>
|
|
194
201
|
<repository>
|
|
@@ -37,7 +37,7 @@ public class ApplicationUser implements Serializable {
|
|
|
37
37
|
* @generated
|
|
38
38
|
*/
|
|
39
39
|
@ManyToOne
|
|
40
|
-
@JoinColumn(name="application_id", nullable = true, referencedColumnName = "id", insertable=true, updatable=true, foreignKey = @ForeignKey(name = "", foreignKeyDefinition = "FOREIGN KEY (application_id) REFERENCES APPLICATION (id)"))
|
|
40
|
+
@JoinColumn(name = "application_id", nullable = true, referencedColumnName = "id", insertable = true, updatable = true, foreignKey = @ForeignKey(name = "APPLICATION_USER_APPLICATION_ID_APPLICATION_ID", foreignKeyDefinition = "FOREIGN KEY (application_id) REFERENCES APPLICATION (id) ON DELETE CASCADE"))
|
|
41
41
|
|
|
42
42
|
private Application application;
|
|
43
43
|
|
|
@@ -45,7 +45,7 @@ public class ApplicationUser implements Serializable {
|
|
|
45
45
|
* @generated
|
|
46
46
|
*/
|
|
47
47
|
@ManyToOne
|
|
48
|
-
@JoinColumn(name="user_id", nullable = true, referencedColumnName = "id", insertable=true, updatable=true, foreignKey = @ForeignKey(name = "", foreignKeyDefinition = "FOREIGN KEY (user_id) REFERENCES USER (id)"))
|
|
48
|
+
@JoinColumn(name = "user_id", nullable = true, referencedColumnName = "id", insertable = true, updatable = true, foreignKey = @ForeignKey(name = "APPLICATION_USER_USER_ID_USER_ID", foreignKeyDefinition = "FOREIGN KEY (user_id) REFERENCES USER (id) ON DELETE CASCADE"))
|
|
49
49
|
|
|
50
50
|
private User user;
|
|
51
51
|
|
|
@@ -58,7 +58,7 @@ public class Login implements Serializable {
|
|
|
58
58
|
* @generated
|
|
59
59
|
*/
|
|
60
60
|
@ManyToOne
|
|
61
|
-
@JoinColumn(name="user_id", nullable = false, referencedColumnName = "id", insertable=true, updatable=true)
|
|
61
|
+
@JoinColumn(name = "user_id", nullable = false, referencedColumnName = "id", insertable = true, updatable = true, foreignKey = @ForeignKey(name = "LOGIN_USER_ID_USER_ID", foreignKeyDefinition = "FOREIGN KEY (user_id) REFERENCES USER (id) ON DELETE CASCADE"))
|
|
62
62
|
|
|
63
63
|
private User user;
|
|
64
64
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><blockly audit="false" blocklyType="WEB" bpmnAble="false" formTarget="src/main/webapp/views/public/privacy/cookies.view.html" resourceType="JS" ruleDescription="Cookies" ruleName="Cookies" ruleSynchronous="false" ruleTimeout="" ruleType="I" soap="false" swagger="false">
|
|
2
|
-
<metadata scale="1" scrollx="
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><blockly audit="false" blocklyType="WEB" bpmnAble="false" formTarget="src/main/webapp/views/public/privacy/cookies.view.html" library="false" resourceType="JS" ruleDescription="Cookies" ruleName="Cookies" ruleSynchronous="false" ruleTimeout="" ruleType="I" soap="false" swagger="false">
|
|
2
|
+
<metadata scale="1" scrollx="225.20000000000005" scrolly="-727.9999999999999" target="4,jQlG7DhFXI`(beTz@O"/>
|
|
3
3
|
<block asynccall="false" colour="#fca03b" id="fHKQ4}K963e^Op)eRLp}" origintype="procedures_defnoreturn" output="false" tooltip="Cria uma função que não tem retorno." type="procedures_defnoreturn" x="-307" y="173">
|
|
4
4
|
<field customattributes="" name="NAME">openPreferences</field>
|
|
5
5
|
<comment h="80" pinned="false" w="160">Descreva esta função...</comment>
|
|
@@ -414,4 +414,45 @@
|
|
|
414
414
|
</block>
|
|
415
415
|
</value>
|
|
416
416
|
</block>
|
|
417
|
+
<block asynccall="false" colour="#fca03b" id="4,jQlG7DhFXI`(beTz@O" origintype="procedures_defreturn" output="false" tooltip="Cria uma função que possui um valor de retorno." type="procedures_defreturn" x="-134" y="937">
|
|
418
|
+
<field customattributes="" name="NAME">checkCookies</field>
|
|
419
|
+
<statement name="STACK">
|
|
420
|
+
<block asynccall="false" colour="#0088ee" dependencyby="4,jQlG7DhFXI`(beTz@O" id="pyk-m!-J9(E=xf;~ZGG`" origintype="variables_set" output="false" tooltip="Define esta variável para o valor da entrada." type="variables_set">
|
|
421
|
+
<field customattributes="" name="VAR">haveCookies</field>
|
|
422
|
+
<value name="VALUE">
|
|
423
|
+
<block asynccall="false" colour="#487f7f" dependencyby="4,jQlG7DhFXI`(beTz@O" id="4T]]m|CJ#ioH7OIi5#z8" multilayer="false" namespace="cronapi.util.checkSavedCookies" origintype="procedures_callreturn" output="true" returntype="ObjectType.STRING" tooltip="%3Cdiv%20class=%22name%22%3E%3Cstrong%3ENome:%3C/strong%3E%3Cdiv%3EVerificar%20cookie%20salvo%3C/div%3E%3C/div%3E%3Cdiv%20class=%22description%22%3E%3Cstrong%3EDescri%C3%A7%C3%A3o:%3C/strong%3E%3Cdiv%3EBloco%20que%20verifica%20se%20a%20chave%20j%C3%A1%20est%C3%A1%20salva%20no%20cookie%20de%20sess%C3%A3o%3C/div%3E%3C/div%3E%3Cdiv%20class=%22params%22%3E%3Cstrong%3EParam%C3%AAtro:%3C/strong%3E%3Cdiv%3E%3Cspan%3E%20-%20Chave%20:%20Texto%3C/span%3E%3Cbr%3E%3C/div%3E%3C/div%3E%3Cdiv%20class=%22return%22%3E%3Cstrong%3ERetorno:%3C/strong%3E%3Cdiv%3E%3Cspan%3E%20-%20Texto%3C/span%3E%3C/div%3E%3C/div%3E%3Cdiv%20class=%22link%22%3E%3Cstrong%3EAjuda:%3C/strong%3E%3Cdiv%20class=%22tooltip-link%22%3E%3Ca%20target=%22_blank%22%20href=%22http://localhost:8080/help?type=blockly&amp;id=cronapi.util.checkSavedCookies%22%3EAjuda%3C/a%3E%3C/div%3E%3C/div%3E" type="procedures_callreturn">
|
|
424
|
+
<mutation name="{{cronapi.util.checkSavedCookies}}" return-raw-type="undefined">
|
|
425
|
+
<arg cronapi-raw-type="undefined" cronapi-type="ObjectType.STRING" name="Chave"/>
|
|
426
|
+
</mutation>
|
|
427
|
+
<value name="ARG0">
|
|
428
|
+
<shadow asynccall="false" colour="#5ba593" dependencyby="4,jQlG7DhFXI`(beTz@O" id="0;w@pe}Di^%S$h[EaV{C" origintype="text" output="true" tooltip="function () { [native code] }" type="text">
|
|
429
|
+
<field customattributes="" name="TEXT">cookieEssencial</field>
|
|
430
|
+
</shadow>
|
|
431
|
+
</value>
|
|
432
|
+
</block>
|
|
433
|
+
</value>
|
|
434
|
+
<next>
|
|
435
|
+
<block asynccall="false" colour="#5b80a5" dependencyby="4,jQlG7DhFXI`(beTz@O" id="!qU$?O2|eMlx~nBo#=QD" origintype="controls_if" output="false" tooltip="function () { [native code] }" type="controls_if">
|
|
436
|
+
<value name="IF0">
|
|
437
|
+
<block asynccall="false" colour="#0088ee" dependencyby="4,jQlG7DhFXI`(beTz@O" id="]fhJw;raU3u:ag=WJV@%" origintype="variables_get" output="true" tooltip="Retorna o valor desta variável." type="variables_get">
|
|
438
|
+
<field customattributes="" name="VAR">haveCookies</field>
|
|
439
|
+
</block>
|
|
440
|
+
</value>
|
|
441
|
+
<statement name="DO0">
|
|
442
|
+
<block asynccall="false" colour="#934848" dependencyby="4,jQlG7DhFXI`(beTz@O" id="7?*aVNb1C:GDm7u{NQ*]" multilayer="true" namespace="cronapi.screen.hideComponent" origintype="procedures_callnoreturn" output="false" returntype="ObjectType.VOID" tooltip="%3Cdiv%20class=%22name%22%3E%3Cstrong%3ENome:%3C/strong%3E%3Cdiv%3EEsconder%20componente%3C/div%3E%3C/div%3E%3Cdiv%20class=%22description%22%3E%3Cstrong%3EDescri%C3%A7%C3%A3o:%3C/strong%3E%3Cdiv%3EFun%C3%A7%C3%A3o%20que%20esconde%20um%20componente%20da%20tela%3C/div%3E%3C/div%3E%3Cdiv%20class=%22params%22%3E%3Cstrong%3EParam%C3%AAtro:%3C/strong%3E%3Cdiv%3E%3Cspan%3E%20-%20Identificador%20:%20Objeto%3C/span%3E%3Cdiv%3E%20Identificador%20do%20componente%20a%20ser%20modificado%3C/div%3E%3C/div%3E%3C/div%3E%3Cdiv%20class=%22link%22%3E%3Cstrong%3EAjuda:%3C/strong%3E%3Cdiv%20class=%22tooltip-link%22%3E%3Ca%20target=%22_blank%22%20href=%22http://localhost:8080/help?type=blockly&amp;id=cronapi.screen.hideComponent%22%3EAjuda%3C/a%3E%3C/div%3E%3C/div%3E" type="procedures_callnoreturn">
|
|
443
|
+
<mutation name="{{cronapi.screen.hideComponent}}" return-raw-type="undefined">
|
|
444
|
+
<arg cronapi-raw-type="undefined" cronapi-type="ObjectType.OBJECT" name="Identificador"/>
|
|
445
|
+
</mutation>
|
|
446
|
+
<value name="ARG0">
|
|
447
|
+
<block asynccall="false" colour="#934848" dependencyby="4,jQlG7DhFXI`(beTz@O" id="%cIxo-!u*2HHl.6yPKIh" origintype="ids_from_screen" output="true" type="ids_from_screen">
|
|
448
|
+
<field customattributes="" name="SELECT">dialogCookies</field>
|
|
449
|
+
</block>
|
|
450
|
+
</value>
|
|
451
|
+
</block>
|
|
452
|
+
</statement>
|
|
453
|
+
</block>
|
|
454
|
+
</next>
|
|
455
|
+
</block>
|
|
456
|
+
</statement>
|
|
457
|
+
</block>
|
|
417
458
|
</blockly>
|
|
@@ -127,3 +127,25 @@ window.blockly.js.blockly.privacy.Cookies.checkCookieEssencials = async function
|
|
|
127
127
|
}
|
|
128
128
|
return isChecked;
|
|
129
129
|
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @function checkCookies
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
*
|
|
136
|
+
*
|
|
137
|
+
* @author Root
|
|
138
|
+
* @since 29/08/2022 14:21:06
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
window.blockly.js.blockly.privacy.Cookies.checkCookiesArgs = [];
|
|
142
|
+
window.blockly.js.blockly.privacy.Cookies.checkCookies = async function() {
|
|
143
|
+
var haveCookies;
|
|
144
|
+
//
|
|
145
|
+
haveCookies = this.cronapi.util.checkSavedCookies('cookieEssencial');
|
|
146
|
+
//
|
|
147
|
+
if (haveCookies) {
|
|
148
|
+
//
|
|
149
|
+
this.cronapi.screen.hideComponent("dialogCookies");
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
<ul class="dropdown-menu">
|
|
42
42
|
<li><a href="" class="component-holder" ng-click="cronapi.screen.showModal('modalPassword')" data-component="crn-anchor">{{"Home.view.ChangePassword" | translate}}</a></li>
|
|
43
43
|
<#if mutual?? && mutual?lower_case == "sim" && (enterprise)!false>
|
|
44
|
-
<li><a ng-click="cronapi.client('js.blockly.MutualAuth.signup').run()" href="" data-component="crn-anchor"
|
|
44
|
+
<li><a ng-click="cronapi.client('js.blockly.MutualAuth.signup').run()" href="" data-component="crn-anchor">{{'LinkCertificate' | translate}}</a></li>
|
|
45
45
|
</#if>
|
|
46
|
-
<li><a ng-click="logout()" href="" data-component="crn-anchor"
|
|
46
|
+
<li><a ng-click="logout()" href="" data-component="crn-anchor">{{"Home.view.Logout" | translate}}</a></li>
|
|
47
47
|
</ul>
|
|
48
48
|
</li>
|
|
49
49
|
</ul>
|
package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/login.view.html.ftl
CHANGED
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
<a ng-click="cronapi.screen.showModal('forgotPasswordModal')" class="reset-password cron-link component-holder col-xs-12 col-md-12" target="_self"
|
|
40
|
+
data-replace="true" data-component="crn-anchor" id="crn-botao-cadastre">{{'ResetPassword' | translate}}
|
|
41
|
+
</a>
|
|
40
42
|
|
|
41
|
-
|
|
42
|
-
data-replace="true" data-component="crn-anchor" id="crn-botao-cadastre">{{'ResetPassword' | translate}}
|
|
43
|
-
</a>
|
|
43
|
+
</#if>
|
|
44
44
|
|
|
45
45
|
<div class="messages">
|
|
46
46
|
<div ng-show="message.error" class="help-block" data-container="true">
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
<span class="" text-theme="">{{"Login.view.Login" | translate}}</span>
|
|
59
59
|
</button>
|
|
60
60
|
</div>
|
|
61
|
+
<a href="#/public/signup" class="sign-up cron-link component-holder col-md-12 col-xs-12"
|
|
62
|
+
target="_self" data-replace="true" data-component="crn-anchor" id="crn-anchor-login-signup">
|
|
63
|
+
{{'Signup.view.Signup' | translate}}
|
|
64
|
+
</a>
|
|
61
65
|
</#if>
|
|
62
|
-
<a href="#/public/signup" class="sign-up cron-link component-holder col-md-12 col-xs-12"
|
|
63
|
-
target="_self" data-replace="true" data-component="crn-anchor" id="crn-anchor-login-signup">
|
|
64
|
-
{{'Signup.view.Signup' | translate}}
|
|
65
|
-
</a>
|
|
66
66
|
|
|
67
67
|
</form>
|
|
68
68
|
<div class="" data-container="true"></div>
|
|
@@ -142,54 +142,56 @@
|
|
|
142
142
|
</div>
|
|
143
143
|
</div>
|
|
144
144
|
|
|
145
|
-
|
|
146
|
-
<div class="modal
|
|
147
|
-
<div class="modal-
|
|
148
|
-
<div class="modal-
|
|
149
|
-
<
|
|
150
|
-
<
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<h2 class="modal-title">{{'ForgotPassword' | translate}}</h2>
|
|
155
|
-
</div>
|
|
156
|
-
<div class="modal-body">
|
|
157
|
-
<form class="form-validation" autocomplete="off" name="forgotPasswordForm" role="form">
|
|
158
|
-
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
159
|
-
<div class="text-danger wrapper text-center" ng-show="authError">
|
|
160
|
-
</div>
|
|
161
|
-
<div class="list-group list-group-sm">
|
|
162
|
-
<div class="">
|
|
163
|
-
<label for="forgotPasswordEmail">
|
|
164
|
-
{{'ForgotPasswordEmail' | translate}}
|
|
165
|
-
</label>
|
|
166
|
-
<input type="email" class="form-control k-textbox" id="forgotPasswordEmail"
|
|
167
|
-
aria-label="{{'ForgotPasswordEmail' | translate}}" ng-required="true"
|
|
168
|
-
ng-model="forgotPasswordEmail.value"/>
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
</form>
|
|
172
|
-
</div>
|
|
173
|
-
<div class="modal-footer">
|
|
174
|
-
<div class="component-holder ng-scope col-md-12" data-component="crn-button" id="crn-button-save">
|
|
175
|
-
<button class="btn k-button btn-primary" type="submit"
|
|
176
|
-
ng-click="cronapi.client('js.blockly.UserControl.resetPassword').names('7afdf898').run(forgotPasswordEmail.value)" xattr-fullsize=""
|
|
177
|
-
aria-label="{{'Save' | translate}}" xattr-theme="btn-primary" xattr-disabled="" ng-disabled="form.$invalid || vm.dataLoading">
|
|
178
|
-
<i class="glyphicon glyphicon-ok"></i>
|
|
179
|
-
<span>{{'Save' | translate}}</span>
|
|
145
|
+
<#if authentication?lower_case != "sso" && authentication?lower_case != "saml">
|
|
146
|
+
<div class="modal fade" id="forgotPasswordModal">
|
|
147
|
+
<div class="modal-dialog">
|
|
148
|
+
<div class="modal-content">
|
|
149
|
+
<div class="modal-header">
|
|
150
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="{{'Home.view.Close' | translate}}">
|
|
151
|
+
<span aria-hidden="true">
|
|
152
|
+
×
|
|
153
|
+
</span>
|
|
180
154
|
</button>
|
|
155
|
+
<h2 class="modal-title">{{'ForgotPassword' | translate}}</h2>
|
|
181
156
|
</div>
|
|
182
|
-
<div class="
|
|
183
|
-
<
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
<
|
|
188
|
-
|
|
157
|
+
<div class="modal-body">
|
|
158
|
+
<form class="form-validation" autocomplete="off" name="forgotPasswordForm" role="form">
|
|
159
|
+
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
160
|
+
<div class="text-danger wrapper text-center" ng-show="authError">
|
|
161
|
+
</div>
|
|
162
|
+
<div class="list-group list-group-sm">
|
|
163
|
+
<div class="">
|
|
164
|
+
<label for="forgotPasswordEmail">
|
|
165
|
+
{{'ForgotPasswordEmail' | translate}}
|
|
166
|
+
</label>
|
|
167
|
+
<input type="email" class="form-control k-textbox" id="forgotPasswordEmail"
|
|
168
|
+
aria-label="{{'ForgotPasswordEmail' | translate}}" ng-required="true"
|
|
169
|
+
ng-model="forgotPasswordEmail.value"/>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</form>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="modal-footer">
|
|
175
|
+
<div class="component-holder ng-scope col-md-12" data-component="crn-button" id="crn-button-save">
|
|
176
|
+
<button class="btn k-button btn-primary" type="submit"
|
|
177
|
+
ng-click="cronapi.client('js.blockly.UserControl.resetPassword').names('7afdf898').run(forgotPasswordEmail.value)" xattr-fullsize=""
|
|
178
|
+
aria-label="{{'Save' | translate}}" xattr-theme="btn-primary" xattr-disabled="" ng-disabled="form.$invalid || vm.dataLoading">
|
|
179
|
+
<i class="glyphicon glyphicon-ok"></i>
|
|
180
|
+
<span>{{'Save' | translate}}</span>
|
|
181
|
+
</button>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="component-holder ng-scope col-md-12" data-component="crn-button" id="crn-button-close">
|
|
184
|
+
<button class="btn k-button btn-danger" type="button" data-dismiss="modal"
|
|
185
|
+
xattr-fullsize="" aria-label="{{'Home.view.Close' | translate}}" xattr-theme="btn-danger"
|
|
186
|
+
xattr-disabled="">
|
|
187
|
+
<i class="glyphicon glyphicon-remove"></i>
|
|
188
|
+
<span>{{'Home.view.Close' | translate}}</span>
|
|
189
|
+
</button>
|
|
190
|
+
</div>
|
|
189
191
|
</div>
|
|
190
192
|
</div>
|
|
191
193
|
</div>
|
|
192
194
|
</div>
|
|
193
|
-
|
|
195
|
+
</#if>
|
|
194
196
|
|
|
195
197
|
<div ng-include="'./views/public/privacy/cookies.view.html'"></div>
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
</nav>
|
|
22
22
|
</div>
|
|
23
|
-
<div class="container-fluid main-view <#if !(menuPosition??) || menuPosition == "Horizontal">main-view-horizontal<#else>main-view-vertical</#if>">
|
|
23
|
+
<div ui-view class="container-fluid main-view <#if !(menuPosition??) || menuPosition == "Horizontal">main-view-horizontal<#else>main-view-vertical</#if>">
|
|
24
24
|
<h1 class="title text-left h3" xattr-position="text-left" xattr-type="h3" data-component="crn-text-component" id="crn-text-component-public-home">{{'Home.view.Home' | translate}}</h1>
|
|
25
25
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div id="starter" ng-destroy="" data-component="crn-start" screen-params="">
|
|
1
|
+
<div id="starter" ng-destroy="" data-component="crn-start" screen-params="" ng-init="cronapi.client('js.blockly.privacy.Cookies.checkCookies').run()">
|
|
2
2
|
<div class="privacy-view">
|
|
3
3
|
<div id="dialogCookies" class="dialog-cookies alert alert-dismissible text-center" role="alert" ng-init="">
|
|
4
4
|
<div class="cookiealert-container">
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<div class="container-fluid">
|
|
8
8
|
<div class="navbar-header">
|
|
9
9
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar, #navbar2" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
|
|
10
|
-
<a class="component-holder ng-binding ng-scope navbar-brand" data-component="crn-image" ng-click="cronapi.screen.changeView('#/home', [])"> <img alt="{{'Home.view.Home' | translate}}" src="node_modules/cronapp-framework-js/img/cronapp-logo-login.png"
|
|
10
|
+
<a class="component-holder ng-binding ng-scope navbar-brand" data-component="crn-image" ng-click="cronapi.screen.changeView('#/home', [])"> <img alt="{{'Home.view.Home' | translate}}" src="node_modules/cronapp-framework-js/img/cronapp-logo-login.png" id="crn-navbar-logo" data-component="crn-image"> </a>
|
|
11
11
|
</div>
|
|
12
12
|
<div id="navbar" class="navbar-collapse collapse float-left-desktop">
|
|
13
13
|
<ul class="nav navbar-nav" style="float:none">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</#list>
|
|
27
27
|
</#if>
|
|
28
28
|
<li>
|
|
29
|
-
<cron-dynamic-menu class="component-holder" data-component="crn-dynamic-menu" options="{"subMenuOptions":[{"id":"1h85bvnhg7511","name":"Home","title":"{{'Home.view.Home' | translate}}","iconClass":"fa fa-home","action":"cronapi.screen.changeView('#/home', [])","level":1,"menuItems":[]}]}">Dynamic Menu</cron-dynamic-menu>
|
|
29
|
+
<cron-dynamic-menu id="crn-dynamic-menu-home" class="component-holder" data-component="crn-dynamic-menu" options="{"subMenuOptions":[{"id":"1h85bvnhg7511","name":"Home","title":"{{'Home.view.Home' | translate}}","iconClass":"fa fa-home","action":"cronapi.screen.changeView('#/home', [])","level":1,"menuItems":[]}]}">Dynamic Menu</cron-dynamic-menu>
|
|
30
30
|
</li>
|
|
31
31
|
|
|
32
32
|
</ul>
|