Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aiccra dev a2 392 ipi 2.3 #2515

Merged
merged 3 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,16 @@

<section class="container">

<div class="modal-deliverable modal-evidences" style="display: none">
<div class="modal-deliverable ui-dialog modal-evidences" style="display: none">
<div class="content-modal">
<div class="button-exit close-modal-evidences">
<div class="x-close-modal" ></div>
<div class="ui-dialog-titlebar">
<p class="title-modal-evidences">Remove cluster</p>
<div class="button-exit close-modal-evidences">
<div class="x-close-modal" ></div>
</div>
</div>
<p class="title-modal-evidences">Remove cluster</p>


<div class="text-modal-evidences">
<p>It is not possible to remove the shared cluster from the list, this cluster has already been submitted and has trainees related.</p>
<br>
Expand All @@ -124,12 +128,15 @@
</div>
</div>

<div class=" modal-deliverable modal-indicator" style="display: none">
<div class=" modal-deliverable ui-dialog modal-indicator" style="display: none">
<div class="content-modal">
<div class="button-exit close-modal-indicator">
<div class="x-close-modal" ></div>
<div class="ui-dialog-titlebar">
<p class="title-modal-evidences title-modal-indicator">Remove Indicator</p>
<div class="button-exit close-modal-indicator">
<div class="x-close-modal" ></div>
</div>
</div>
<p class="title-modal-evidences title-modal-indicator">Remove Indicator</p>

<div class="text-modal-evidences text-modal-indicator">
<p>It is not possible to remove the indicator from the list, since this deliverable has shared clusters that have already been submitted and have related trainees.</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,11 @@
<input type="hidden" name="${customName}[${index}].project.id" value="${(cluster.project.id)!0}" clusterIdParticipant="${(cluster.project.id)!0}"/>
<div class="form-group row" clusterIdParticipant="${(cluster.project.id)!0}">
<div class="col-md-2">
<div class="text-area-container">
<div class="text-area-container text-flex-column">
[@customForm.text name=(list[index].project.acronym)!"" /]
[#if action.isSubmit(cluster.project.id)]
<p style="font-style: italic; font-size: 10px;">Cluster submitted.</p>
[/#if]
</div>
<br>
</div>
Expand Down
2 changes: 1 addition & 1 deletion marlo-web/src/main/webapp/WEB-INF/global/macros/forms.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
[#if editable]
[#-- Condition to add input group to field --]
[#if inputGroupText != ""]<div class="input-group"><span class="input-group-addon">${inputGroupText}</span>[/#if]
<input type="${type}" id="${name}" name="${name}" value="${customValue}" class="form-control input-sm ${className} ${required?string('required','optional')}" [#if readOnly] readonly="readonly"[/#if] [#if disabled]disabled="disabled"[/#if] [#if placeholder?has_content]placeholder="[@s.text name=placeholder /]"[/#if]"/>
<input type="${type}" id="${name}" name="${name}" value="${customValue}" class="form-control input-sm ${className} ${required?string('required','optional')} ${disabled?string('fieldDisabled', '')}" [#if readOnly] readonly="readonly"[/#if] [#if disabled]disabled="disabled"[/#if] [#if placeholder?has_content]placeholder="[@s.text name=placeholder /]"[/#if]"/>
[#if inputGroupText != ""]</div>[/#if]
[#-- End condition --]
[#else]
Expand Down
18 changes: 11 additions & 7 deletions marlo-web/src/main/webapp/crp/css/projects/projectDeliverable.css
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,10 @@ div.fieldFocus-deliverable {


.button-exit{
float: right;
position: absolute;
float: inline-end;
top: 50px;
right: 10px;
font-size: 18px;
cursor: pointer;
}
Expand All @@ -1012,17 +1015,18 @@ div.fieldFocus-deliverable {
right: 0;
border-radius: 0px 3px 0px 8px;
cursor: pointer;
margin: -23px -40px 0px 0px;
margin: -23px 0px 0px 0px;
}

.title-modal-evidences{
font-size: 19px;
font-weight: 600;
margin-top: -8px;
padding: .6em 1em .6em 1em;
}

.text-modal-evidences{
margin-top: 25px;
padding: .6em 1em .6em 1em;
}

.text-modal-evidences p{
Expand All @@ -1033,21 +1037,21 @@ div.fieldFocus-deliverable {
background-color: #fff;
width: 600px;
max-width: 100%;
padding: 30px 50px;
border-radius: 15px;
border: 2px solid rgba(43, 166, 203, 1);
/* text-align: center; */
overflow: hidden;
}

.container-buttons-evidences{
float: right;
display: flex;
padding: .6em 1em .6em 1em;
}

.button-pdf-modal{
background-color: #ffffff;
min-width: 160px;
height: 40px;
min-width: 100px;
height: 30px;
text-align: center;
display: flex;
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ if(remainingYouth == 0 && remainingAfrican == 0 && remainingFemales == 0 && rema
$('input[name="deliverable.deliverableInfo.remainingPending"]').val('false');
}
else{
$('.remaining-container').css('color', '#FFC300');
$('.remaining-container').css('color', '#ECB00C');
$('.doneParticipant').css('display', 'none');
$('.alertParticipant').css('display', 'flex');
$('input[name="deliverable.deliverableInfo.remainingPending"]').val('true');
Expand Down
12 changes: 12 additions & 0 deletions marlo-web/src/main/webapp/global/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,13 @@ div.fieldFocus {
margin: 20px 0 !important;
}

div input.fieldDisabled {
background-color: #eee !important;
opacity: 1 !important;
color: #5A5A5A !important;
border: none !important;
}

/* Table default style*/
table.default {
margin: 0px 0 !important;
Expand Down Expand Up @@ -7376,6 +7383,11 @@ img.fileIcon {
width: 100%;
}

.text-flex-column{
display: flex;
flex-flow: column;
}

.commentNumberContainer {
display: none;
flex-flow: column;
Expand Down
Loading