Gitlab CSE Unil

Commit 4eb21967 authored by M. Chardon's avatar M. Chardon
Browse files

documentation et optimisation css

parent 84afbb80
...@@ -116,6 +116,11 @@ $string['adminaxisimport'] = 'Avaibled axis to import'; ...@@ -116,6 +116,11 @@ $string['adminaxisimport'] = 'Avaibled axis to import';
$string['adminaxisimport_name'] = 'Name'; $string['adminaxisimport_name'] = 'Name';
$string['adminaxisimport_tool'] = 'Tools'; $string['adminaxisimport_tool'] = 'Tools';
$string['adminaxisimport_action'] = 'Import'; $string['adminaxisimport_action'] = 'Import';
$string['adminaxis_save'] = 'Save';
$string['adminaxis_cancel'] = 'Cancel';
$string['adminaxisdelete_question'] = 'Are you sur to delete the selected axis?';
$string['adminaxisdelete_ok'] = 'Yes';
$string['adminaxisdelete_ko'] = 'No';
$string['admintools'] = 'Tools'; $string['admintools'] = 'Tools';
$string['adminaddtool'] = 'Add a new tool'; $string['adminaddtool'] = 'Add a new tool';
$string['admintoolboxaction'] = 'Action'; $string['admintoolboxaction'] = 'Action';
......
...@@ -116,6 +116,11 @@ $string['adminaxisimport'] = 'Axes disponibles à l\'importation'; ...@@ -116,6 +116,11 @@ $string['adminaxisimport'] = 'Axes disponibles à l\'importation';
$string['adminaxisimport_name'] = 'Nom'; $string['adminaxisimport_name'] = 'Nom';
$string['adminaxisimport_tool'] = 'Outils'; $string['adminaxisimport_tool'] = 'Outils';
$string['adminaxisimport_action'] = 'Importer'; $string['adminaxisimport_action'] = 'Importer';
$string['adminaxis_save'] = 'Sauver';
$string['adminaxis_cancel'] = 'Annuler';
$string['adminaxisdelete_question'] = 'Êtes-vous sûr de supprimer l\'axe sélectionné ?';
$string['adminaxisdelete_ok'] = 'Oui';
$string['adminaxisdelete_ko'] = 'Non';
$string['admintools'] = 'Outils'; $string['admintools'] = 'Outils';
$string['adminaddtool'] = 'Ajout d\'un nouvel outil'; $string['adminaddtool'] = 'Ajout d\'un nouvel outil';
$string['admintoolboxaction'] = 'Action'; $string['admintoolboxaction'] = 'Action';
......
...@@ -499,3 +499,28 @@ ul.assignfeedback_editpdfplus_menu { ...@@ -499,3 +499,28 @@ ul.assignfeedback_editpdfplus_menu {
#editpdlplus_tool_item { #editpdlplus_tool_item {
margin-top: 15px; margin-top: 15px;
} }
#editpdlplus_tool_label {
cursor: default;
}
.assignfeedback_editpdfplus_widget_admin_tool_col2 {
padding-left: 15px;
width: 50%;
vertical-align: top;
}
.assignfeedback_editpdfplus_widget_admin_tool_col1 {
width: 50%;
vertical-align: top;
}
.assignfeedback_editpdfplus_widget_admin_tool_row {
padding-top: 20px;
}
#toolworkspace label {
width: 100%;
}
#toolworkspace .drawingcanvas {
background-repeat: no-repeat;
border-width: 1px;
border-style: solid;
height: 330px;
box-sizing: border-box;
}
\ No newline at end of file
{{! {{!
@template assignfeedback_editpdfplus/axis_form This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template assignfeedback_editpdfplus/axis_del_form
Admin template for remove one axis.
Context variables required for this template:
* courseid - Course id
* title - Title of the page (add or edit)
* render - form render for removing the axis
* id - form id
}} }}
<div class="panel panel-default"> <div class="panel panel-default">
...@@ -7,10 +31,10 @@ ...@@ -7,10 +31,10 @@
{{title}} {{title}}
</div> </div>
<div class="panel-body" style="text-align: center;"> <div class="panel-body" style="text-align: center;">
<p>Êtes-vous sûr de supprimer l'axe sélectionné ?</p> <p>{{# str }} adminaxisdelete_question, assignfeedback_editpdfplus {{/ str }}</p>
{{{render}}} {{{render}}}
<button type="button" class="btn btn-primary" id="axisDelSubmit">Oui</button> <button type="button" class="btn btn-primary" id="axisDelSubmit">{{# str }} adminaxisdelete_ok, assignfeedback_editpdfplus {{/ str }}</button>
<button type="button" class="btn btn-default" id="axisDelCancel">Non</button> <button type="button" class="btn btn-default" id="axisDelCancel">{{# str }} adminaxisdelete_ko, assignfeedback_editpdfplus {{/ str }}</button>
</div> </div>
</div> </div>
{{# js }} {{# js }}
......
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
</div> </div>
<div class="panel-body" style="text-align: center;"> <div class="panel-body" style="text-align: center;">
{{{render}}} {{{render}}}
<button type="button" class="btn btn-primary" id="axisFormSubmit">Sauver</button> <button type="button" class="btn btn-primary" id="axisFormSubmit">{{# str }} adminaxis_save, assignfeedback_editpdfplus {{/ str }}</button>
<button type="button" class="btn btn-default" id="axisFormCancel">Annuler</button> <button type="button" class="btn btn-default" id="axisFormCancel">{{# str }} adminaxis_cancel, assignfeedback_editpdfplus {{/ str }}</button>
</div> </div>
</div> </div>
{{# js }} {{# js }}
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment