forked from jfeliua/corubrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocu_fr.html
82 lines (78 loc) · 2.33 KB
/
docu_fr.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<link rel="stylesheet" href="https://ssl.gstatic.com/docs/script/css/add-ons1.css">
<html>
<head>
<base target="_top">
<script>
// Prevent forms from submitting.
function preventFormSubmit() {
var forms = document.querySelectorAll('form');
for (var i = 0; i < forms.length; i++) {
forms[i].addEventListener('submit', function(event) {
event.preventDefault();
});
}
}
window.addEventListener('load', preventFormSubmit);
function handleFormSubmit(formObject) {
google.script.run.withSuccessHandler().docunotes(formObject);
}
</script>
</head>
<body>
<h2>Document de résultats</h2>
Sélectionnez les options du document:
<form id="enviament" onsubmit="handleFormSubmit(this)">
<div class="block form-group">
<label for="select">Note finale à ajouter</label>
<select id="select" name="nf">
<option value="0">Ne pas ajouter</option>
<option value="1">Moyenne</option>
<option value="2">Note la plus basse</option>
</select>
</div>
<h3>Type d'évaluation</h3>
<div>
<input type="checkbox" id="checkbox1"name="av">
<label for="checkbox1">Autoévaluation</label>
</div>
<div>
<input type="checkbox" id="checkbox2"name="co">
<label for="checkbox2">Évaluation par les pairs</label>
</div>
<div>
<input type="checkbox" id="checkbox3"name="pf">
<label for="checkbox3">Évaluation par l'enseignant</label>
</div>
<div class="block form-group">
<label for="select2">Note globale</label>
<select id="select2" name="ng">
<option value="0">En pas ajouter</option>
<option value="1">Ajouter</option>
</select>
</div>
<div class="block form-group">
<label for="select3">Carte radar</label>
<select id="select3" name="de">
<option value="0">En pas ajouter</option>
<option value="1">Ajouter</option>
</select>
</div>
<h3>Commentaires à ajouter</h3>
<div>
<input type="checkbox" id="checkbox4"name="cav">
<label for="checkbox4">Commentaires de l'élève-même</label>
</div>
<div>
<input type="checkbox" id="checkbox5"name="cco">
<label for="checkbox5">Commentaires des pairs</label>
</div>
<div>
<input type="checkbox" id="checkbox6"name="cpf">
<label for="checkbox6">Commentaires de l'enseignant</label>
</div>
<p><input type="submit" class="action" value="Engendrer"></p>
</form>
<div id="output"></div>
</body>
</html>