Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCODOC_R6A06
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Milleville
SCODOC_R6A06
Commits
5cdfb360
Commit
5cdfb360
authored
2 years ago
by
Emmanuel Viennet
Browse files
Options
Downloads
Patches
Plain Diff
cosmetic
parent
f08a4130
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/static/css/parcour_formation.css
+6
-0
6 additions, 0 deletions
app/static/css/parcour_formation.css
app/templates/but/validation_rcues.j2
+9
-7
9 additions, 7 deletions
app/templates/but/validation_rcues.j2
with
15 additions
and
7 deletions
app/static/css/parcour_formation.css
+
6
−
0
View file @
5cdfb360
...
...
@@ -159,6 +159,12 @@ option.non_associe {
margin-bottom
:
8px
;
}
div
.ue_validation_code
{
display
:
inline-block
;
}
div
.ue_validation_code
div
.code
{
margin-left
:
12px
;
}
select
.validation_rcue
{
display
:
inline-block
;
margin-left
:
32px
;
...
...
This diff is collapsed.
Click to expand it.
app/templates/but/validation_rcues.j2
+
9
−
7
View file @
5cdfb360
...
...
@@ -13,7 +13,7 @@
{{ niv['ue_'+sem].acronyme }}
{% set validation = ue_validation_by_niveau.get((niv['niveau'].id, sem)) %}
<div class="ue_validation_code with_scoplement">
<div>
<div
class="code"
>
{% if validation %}
<b>{{validation.code}}</b>
{% else %}
...
...
@@ -80,7 +80,7 @@
</span>
{{niv['niveau'].libelle if niv['niveau'] else ''}}
</div>
<div class="rcue">
<div class="rcue"
style="position: relative;"
>
<div class="rcue_validation_code with_scoplement">
{% set validation = rcue_validation_by_niveau.get(niv['niveau'].id) %}
{% if validation %}
...
...
@@ -97,6 +97,7 @@
data-ue1_id="{{niv['ue_impair'].id}}"
data-ue2_id="{{niv['ue_pair'].id}}"
data-code="{{validation.code if validation else ''}}"
>
{% for code in rcue_codes %}
<option value="{{code}}"
...
...
@@ -123,10 +124,10 @@
{% endif %}
</div>
</div>
<div class="ue impair u{{annee}}1">
<div class="ue impair u{{annee}}1"
style="position: relative;"
>
{{ show_ue(niv, "impair", 2*annee-1) }}
</div>
<div class="ue pair u{{annee}}1">
<div class="ue pair u{{annee}}1"
style="position: relative;"
>
{{ show_ue(niv, "pair", 2*annee) }}
</div>
</div>
...
...
@@ -206,11 +207,12 @@ function record_rcue_validation(event, niveau_id) {
.then(response => response.json())
.then(data => {
if (data.status) {
/*
sco_message(data.message);
*/
sco_message(data.message);
/* revert menu to initial state */
event.target.value = event.target.dataset.ue_id;
event.target.value = event.target.dataset.code;
} else {
sco_message("code jury enregistré");
}
location.reload();
});
}
</script>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment