Skip to content

Commit 1c207c9

Browse files
authored
Merge pull request #65 from SourceCodeOER/patch_dewita_v3
feat(ImportForm): add format description (import-export)
2 parents c9c8a72 + 7d74565 commit 1c207c9

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

components/Gestion/ImportForm.vue

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,22 @@
44
<h1>{{title}}</h1>
55

66
<p>
7-
Vous pouvez importer des exercices depuis cette interface en tenant compte de ce
8-
<a href="https://sourcecodeoer.github.io/sourcecode_api/#operation/createMultipleExercises" target="_blank">
9-
format</a>. Votre fichier doit être en UTF-8 !
7+
Vous pouvez importer des exercices depuis cette interface de deux façons (fichier en <b>UTF-8</b> !!) :
108
</p>
9+
10+
<ul>
11+
<li>
12+
<a href="https://sourcecodeoer.github.io/sourcecode_api/#operation/createMultipleExercises" target="_blank">
13+
Format d'import classique
14+
</a>
15+
</li>
16+
<li>
17+
<a href="https://sourcecodeoer.github.io/sourcecode_api/#operation/ExportExercises" target="_blank">
18+
Format d'export de ressources informatiques
19+
</a>
20+
</li>
21+
</ul>
22+
1123
<ValidationObserver ref="observer"
1224
tag="form"
1325
@submit.prevent="validateBeforeSubmit">
@@ -199,4 +211,13 @@
199211

200212
<style lang="scss" scoped>
201213
@import "../../assets/css/exercise-gestion";
214+
@import "../../assets/css/_variables";
215+
216+
a {
217+
color: $TERNARY_COLOR;
218+
}
219+
220+
ul {
221+
margin-bottom: 30px;
222+
}
202223
</style>

pages/administration/exercices/creer-exercice.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@
5757
}
5858
</script>
5959

60+
<style scoped>
61+
.wrapper {
62+
margin-bottom: 40px;
63+
}
64+
</style>

0 commit comments

Comments
 (0)