forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -315,7 +315,7 @@
|
|||||||
padding: 20px;
|
padding: 20px;
|
||||||
border: 1px solid #888;
|
border: 1px solid #888;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
height: 40%;
|
height: 320px;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
||||||
|
@ -129,6 +129,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
|
<button id="finish" class="btnPrompt">Terminer la résolution</button>
|
||||||
<button id="delete" class="btnPrompt" disabled>Supprimer</button>
|
<button id="delete" class="btnPrompt" disabled>Supprimer</button>
|
||||||
<button id="split" class="btnPrompt" disabled>Séparer</button>
|
<button id="split" class="btnPrompt" disabled>Séparer</button>
|
||||||
<button id="edit" class="btnPrompt" disabled>Modifier l'état</button>
|
<button id="edit" class="btnPrompt" disabled>Modifier l'état</button>
|
||||||
@ -157,6 +158,7 @@
|
|||||||
this.deleteBtn.addEventListener('click', () => { this.deleteAssiduiteModal() });
|
this.deleteBtn.addEventListener('click', () => { this.deleteAssiduiteModal() });
|
||||||
this.editBtn.addEventListener('click', () => { this.editAssiduiteModal() });
|
this.editBtn.addEventListener('click', () => { this.editAssiduiteModal() });
|
||||||
this.splitBtn.addEventListener('click', () => { this.splitAssiduiteModal() });
|
this.splitBtn.addEventListener('click', () => { this.splitAssiduiteModal() });
|
||||||
|
document.querySelector("#myModal #finish").addEventListener('click', () => { this.close() })
|
||||||
|
|
||||||
document.querySelector('#myModal .close').addEventListener('click', () => { this.close() })
|
document.querySelector('#myModal .close').addEventListener('click', () => { this.close() })
|
||||||
|
|
||||||
@ -311,7 +313,7 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
openPromptModal("Entrée demandée", fieldSet, success, () => { }, "#37f05f");
|
openPromptModal("Séparation de l'assiduité sélectionnée", fieldSet, success, () => { }, "#23aa40");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -355,7 +357,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
//Affichage du prompt
|
//Affichage du prompt
|
||||||
openPromptModal("Entrée demandée", fieldSet, success, () => { }, "#37f05f");
|
openPromptModal("Modification de l'état de l'assiduité sélectionnée", fieldSet, success, () => { }, "#23aa40");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -149,9 +149,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btnPrompt:disabled {
|
.btnPrompt:disabled {
|
||||||
opacity: 0.7;
|
color: black;
|
||||||
|
opacity: 0.8;
|
||||||
background-color: whitesmoke;
|
background-color: whitesmoke;
|
||||||
background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, rgba(81, 81, 81, 0.61) 5px, rgba(81, 81, 81, 0.61) 10px)
|
background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, rgba(81, 81, 81, 0.337) 5px, rgba(81, 81, 81, 0.337) 10px)
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -935,6 +935,6 @@ def _get_etuds_dem_def(formsemestre):
|
|||||||
json_str += template.replace("£", str(etud[0])).replace("$", etud[1])
|
json_str += template.replace("£", str(etud[0])).replace("$", etud[1])
|
||||||
|
|
||||||
if json_str != "{":
|
if json_str != "{":
|
||||||
json_str = json_str[:-1] + "}"
|
json_str = json_str[:-1]
|
||||||
|
|
||||||
return json_str
|
return json_str + "}"
|
||||||
|
Loading…
Reference in New Issue
Block a user