Commit 4184f77d by Saliya Randunu

fixes in sign up page error fields

parent 50954a06
......@@ -4618,10 +4618,25 @@ span.right-img {
/*error message*/
.message-common{padding: 24px 38px 24px 33px;margin: 15px -1.5%;}
.message-common{padding:20px;margin: 15px -1.5%;}
.bottom-zero{bottom:0;transition:0.3s;}
.success-message{background-color: #67b413;box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);}
.error-message{background-color: #f9513d;box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);}
/*.error-message{background-color: #f9513d;box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);}*/
.error-message {
height: 109px;
border-radius: 2px;
background-color: #F9623D;
box-shadow: 0 3px 5px 0 rgba(0,0,0,0.02);
color: #FFFFFF;
font-size: 18px;
font-weight: 500;
line-height: 22px;
text-align: center;
}
.error-message .message-txt {
font-size: 17px;
display: block;
}
.status-message{background-color: #03a0e7;box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);}
.notification-message{background-color: #fdb641;box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);}
.message-txt{color: #ffffff;font-size: 20px;margin-left: 19px;width: 90%;}
......@@ -5412,6 +5427,29 @@ div.errorField .input-append .add-on {
background-color: #f2dede;
border-color: #b94a48;
}
span.errorField .checkbox,
span.errorField .radio,
span.errorField input,
span.errorField select,
span.errorField textarea {
border-color: #F9623D;
}
span.errorField .checkbox:focus,
span.errorField .radio:focus,
span.errorField input:focus,
span.errorField select:focus,
span.errorField textarea:focus {
border-color: #F9623D;
}
span.errorField ~ label{
color: #F9623D;
}
.styled_checkboxes .errorField span.redask {display: none;}
.styled_checkboxes .errorField + span > label:before {border-color: #F9623D; }
.dashboard-content-area .message-common {
margin: 0px;
}
......
......@@ -152,9 +152,9 @@
<NODE name="ORMErrorConfig::ADMIN_PORTAL" factory="Participant" class="oneit.servlets.forms.ErrorReportConfig">
<format item="field.*.error.pageHeader_performa_errorPrefix">
<![CDATA[<div class="error-message message-common"><img src="${contextRoot}/images/error-alert.png" class="alert-icon" /><span class="message-txt" style="font-weight: bold">${translateLabel:Errors_Occurred:Errors occurred, please correct them and try again}</span><br/>]]>
<![CDATA[<div class="error-message message-common"><img src="${contextRoot}/images/error-alert.png" class="alert-icon" /><span class="message-txt" style="font-weight: bold">${translateLabel:Errors_Occurred:Errors occurred, please correct them and try again}</span>]]>
</format>
<format item="field.*.error.pageHeader_performa_errorText"><![CDATA[<br/><span class="message-txt">?</span>]]></format>
<format item="field.*.error.pageHeader_performa_errorText"><![CDATA[<span class="message-txt">?</span>]]></format>
<format item="field.*.error.pageHeader_performa_errorSuffix"><![CDATA[</div>]]></format>
<format item="form.*.pageHeader_notifyPrefix"><![CDATA[<div class="success-message message-common"><img src="images/success-alert.png" class="alert-icon" /><span class="message-txt">]]></format>
<format item="form.*.pageHeader_notifySuffix"><![CDATA[</span></div>]]></format>
......
......@@ -75,7 +75,7 @@
<div class="form-group text-left">
<div class="styled_checkboxes">
<div class="checkbox checkbox-primary">
<oneit:ormInput obj="<%= companyUser %>" id="privacy-policy-agreed" attributeName="PrivacyPolicyAgreed" type="checkbox" required="true"/>
<oneit:ormInput obj="<%= companyUser %>" id="privacy-policy-agreed" attributeName="PrivacyPolicyAgreed" type="checkbox" />
<oneit:recalcClass htmlTag="span" classScript="companyUser.showPrivacyPolicyAgreed() ? 'checked': 'unchecked'" companyUser="<%= companyUser %>">
<label for="privacy-policy-agreed">
<oneit:label GUIName="I have read and agree to the " />
......@@ -88,7 +88,7 @@
<div class="form-group text-left">
<div class="styled_checkboxes">
<div class="checkbox checkbox-primary">
<oneit:ormInput obj="<%= companyUser %>" id="conditions-agreed" attributeName="ConditionsAgreed" type="checkbox" required="true"/>
<oneit:ormInput obj="<%= companyUser %>" id="conditions-agreed" attributeName="ConditionsAgreed" type="checkbox" />
<oneit:recalcClass htmlTag="span" classScript="companyUser.showConditionsAgreed() ? 'checked': 'unchecked'" companyUser="<%= companyUser %>">
<label for="conditions-agreed">
<oneit:label GUIName="I have read and agree to the " />
......
......@@ -161,7 +161,7 @@
<div class="form-group text-left">
<div class="styled_checkboxes">
<div class="checkbox checkbox-primary">
<oneit:ormInput obj="<%= candidate %>" id="privacy-policy-agreed" attributeName="PrivacyPolicyAgreed" type="checkbox" required="true"/>
<oneit:ormInput obj="<%= candidate %>" id="privacy-policy-agreed" attributeName="PrivacyPolicyAgreed" type="checkbox" />
<oneit:recalcClass htmlTag="span" classScript="candidate.showPrivacyPolicyAgreed() ? 'checked': 'unchecked'" candidate="<%= candidate %>">
<label for="privacy-policy-agreed">
<oneit:label GUIName="I have read and agree to the " />
......@@ -174,7 +174,7 @@
<div class="form-group text-left">
<div class="styled_checkboxes">
<div class="checkbox checkbox-primary">
<oneit:ormInput obj="<%= candidate %>" id="conditions-agreed" attributeName="ConditionsAgreed" type="checkbox" required="true"/>
<oneit:ormInput obj="<%= candidate %>" id="conditions-agreed" attributeName="ConditionsAgreed" type="checkbox" />
<oneit:recalcClass htmlTag="span" classScript="candidate.showConditionsAgreed() ? 'checked': 'unchecked'" candidate="<%= candidate %>">
<label for="conditions-agreed">
<oneit:label GUIName="I have read and agree to the " />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment