V 4.3.2 (premier versement : modification interface pour la fenêtre

évaluation)
This commit is contained in:
pablo rodriguez 2022-12-03 16:14:35 +01:00
parent 1cbe975044
commit 5d1b94e098
50 changed files with 799 additions and 245 deletions

Binary file not shown.

7
bin/.gitignore vendored
View File

@ -1,2 +1,7 @@
/fenetres/
/evaluer/
/nofeedback.png
/nofeedback.svg
/nofeedbackmini.png
/nodetail.png
/nodetail.svg
/nodetailmini.png

Binary file not shown.

BIN
bin/dossieretudiant.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

140
bin/dossieretudiant.svg Normal file
View File

@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
inkscape:export-filename="ou.png"
sodipodi:docname="dossieretudiant.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
id="svg8"
version="1.1"
viewBox="0 0 11.90625 11.90625"
height="45"
width="45"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<pattern
id="EMFhbasepattern"
patternUnits="userSpaceOnUse"
width="6"
height="6"
x="0"
y="0" />
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
units="px"
inkscape:guide-bbox="true"
showguides="true"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="mm"
inkscape:cy="29.257603"
inkscape:cx="27.962594"
inkscape:zoom="10.424641"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1">
<sodipodi:guide
id="guide25"
orientation="0,-1"
position="94.049365,180.07197"
inkscape:locked="false" />
<sodipodi:guide
position="8.9572181,11.534441"
orientation="0,-1"
id="guide4043"
inkscape:locked="false" />
<sodipodi:guide
position="-4.2589037,4.1320607"
orientation="0,-1"
id="guide315"
inkscape:locked="false" />
<sodipodi:guide
position="1.0787715,2.8911402"
orientation="0,-1"
id="guide373"
inkscape:locked="false" />
<sodipodi:guide
position="11.558135,1.7718565"
orientation="1,0"
id="guide428"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1">
<path
id="rect363"
style="fill:#ffdd55;stroke:#d4aa00;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="M 0.58190715,0.41949439 V 3.1927264 11.459984 H 11.381558 V 2.0277783 H 5.6090268 V 0.41949439 Z"
sodipodi:nodetypes="cccccccc" />
<g
id="g379"
transform="matrix(0.01113254,0,0,0.01113254,0.33749402,1.6862516)"
style="fill:#000000;stroke-width:23.7666">
<g
transform="matrix(0.08797553,0,0,-0.08797553,110.05744,434.06317)"
id="g377"
style="fill:#000000;stroke-width:27.0149">
<path
d="M 3122.6,4604.2 C 2231.7,4380.5 1476.5,4187.4 1444,4174 c -68.8,-28.7 -114.7,-107.1 -114.7,-193.1 0,-42.1 19.1,-76.5 63.1,-120.4 l 61.2,-61.2 554.4,-63.1 c 305.9,-34.4 1152.8,-128.1 1883.1,-210.3 l 1328.7,-149.1 1508.4,380.5 c 827.8,208.4 1514.1,378.5 1523.7,378.5 9.6,0 17.2,-275.3 17.2,-636.6 V 2864.5 L 8078,2673.3 c -286.8,-284.9 -286.8,-237.1 -3.8,-804.9 191.2,-382.4 242.8,-470.3 290.6,-495.2 78.4,-40.1 158.7,-36.3 217.9,11.5 68.8,53.5 489.4,892.8 489.4,973.1 0,89.9 -40.1,147.2 -227.5,334.6 l -174,172.1 v 806.8 808.7 l -53.5,59.3 -53.5,61.2 L 6690,4807 c -1028.6,114.7 -1888.9,206.5 -1909.9,206.5 -21,-0.2 -766.6,-185.6 -1657.5,-409.3 z"
id="path367"
style="fill:#000000;stroke-width:27.0149" />
<path
d="m 6340.2,3243 -1099.3,-275.3 -1344,149.1 -1344,149.1 v -569.7 -569.7 l -103.2,-99.4 C 2260.4,1839.7 2170.6,1596.9 2157.2,1218.4 2140,816.9 2229.9,493.8 2411.5,293.1 2484,212.7 2642.7,121 2711.5,121 c 17.2,0 32.5,-15.3 32.5,-32.5 0,-63.1 191.2,-510.5 298.2,-697.8 369,-651.9 892.8,-1091.7 1491.2,-1248.4 290.6,-76.5 642.4,-76.5 933,0 728.4,191.2 1345.9,803 1693.9,1676.7 51.7,133.7 95.7,256.1 95.7,273.3 0,15.3 15.3,28.7 34.4,28.7 66.9,0 225.6,91.8 298.3,172.1 181.6,200.7 271.5,523.8 256.2,925.3 -15.3,380.5 -110.9,629 -307.8,808.7 l -80.3,70.7 -9.6,709.3 -9.6,709.3 z M 3222,2375 c 229.4,-65 602.2,-135.7 908.1,-174 137.7,-15.3 435.9,-24.8 869.9,-24.8 694,0 869.9,13.4 1328.7,97.5 216,38.2 575.5,130 686.4,172.1 34.4,13.4 36.3,3.8 22.9,-273.4 l -13.4,-286.8 49.7,-59.3 c 32.5,-40.1 76.5,-65 130,-74.6 70.7,-15.3 86,-26.8 133.8,-114.7 149.1,-277.2 135.8,-812.5 -22.9,-1036.2 -40.1,-57.4 -45.9,-57.4 -154.9,-45.9 -107.1,9.6 -114.7,7.6 -170.2,-45.9 -30.6,-32.5 -65,-95.6 -78.4,-141.5 -239,-948.3 -887.1,-1692 -1604,-1844.9 -166.3,-34.4 -443.6,-34.4 -613.7,1.9 -671,141.5 -1267.5,774.3 -1540.9,1634.6 -38.2,120.4 -78.4,244.7 -89.9,275.3 -36.3,99.4 -187.4,156.8 -281,107.1 -51.6,-28.7 -124.3,66.9 -175.9,235.2 -63.1,196.9 -61.2,560.2 1.9,739.9 61.2,174 99.4,221.8 191.2,237.1 51.6,7.6 89.9,30.6 124.3,70.7 l 49.7,59.3 -11.5,288.7 c -13.4,277.2 -13.4,286.8 22.9,273.4 19.3,-7.7 126.3,-40.2 237.2,-70.8 z"
id="path369"
style="fill:#000000;stroke-width:27.0149" />
<path
d="m 3841.4,1279.5 c -72.6,-72.7 -84.1,-147.2 -38.2,-239 44,-82.2 103.2,-97.5 391.9,-97.5 233.2,0 269.6,3.8 311.6,38.2 114.7,89.9 109,254.3 -11.5,326.9 -51.6,30.6 -97.5,36.3 -323.1,36.3 h -265.7 z"
id="path371"
style="fill:#000000;stroke-width:27.0149" />
<path
d="m 5504.7,1308.2 c -68.8,-42.1 -110.9,-143.4 -91.7,-219.9 5.7,-26.8 38.2,-70.7 68.8,-97.5 53.5,-45.9 66.9,-47.8 321.2,-47.8 288.7,0 340.3,13.4 388.1,95.6 53.5,87.9 42.1,166.3 -32.5,240.9 l -65,65 h -263.8 c -227.6,0 -273.5,-5.7 -325.1,-36.3 z"
id="path373"
style="fill:#000000;stroke-width:27.0149" />
<path
d="m 2352.1,-1601.6 c -326.9,-114.7 -663.4,-242.8 -749.4,-282.9 -265.7,-128.1 -478,-281 -713.1,-518.1 C 576,-2714.3 381,-3025.9 251,-3415.9 145.9,-3735.2 122.9,-3869 111.4,-4270.5 l -11.4,-367.1 68.8,-68.8 66.9,-66.9 H 5000 9764.3 l 66.9,66.9 68.8,68.8 -11.5,367.1 c -9.6,296.3 -19.1,405.3 -57.4,567.8 -128.1,535.3 -344.1,927.2 -728.4,1309.6 -233.2,233.3 -420.6,367.1 -709.3,506.6 -214.1,103.3 -1332.5,497.1 -1412.8,497.1 -36.3,0 -95.6,-42 -227.5,-166.3 -409.1,-384.3 -759,-585 -1229.3,-705.5 -183.5,-47.8 -244.7,-53.5 -504.7,-55.4 -424.4,0 -674.9,57.4 -1061.1,248.5 -242.8,120.5 -462.7,277.2 -711.2,512.4 -151,141.5 -187.4,166.3 -239,164.4 -34.3,-1.9 -328.8,-95.6 -655.7,-210.3 z"
id="path375"
style="fill:#000000;stroke-width:27.0149" />
</g>
</g>
<path
style="fill:none;stroke:#ff0000;stroke-width:0.965;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 3.5278992,6.2436203 9.388521,11.365016 v 0"
id="path817" />
<path
style="fill:none;stroke:#ff0000;stroke-width:0.965;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 9.4139013,6.2943814 3.5532799,11.415776 v 0"
id="path1376" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.3 KiB

BIN
bin/dossieretudiantmini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
icons/dossieretudiant.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

140
icons/dossieretudiant.svg Normal file
View File

@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
inkscape:export-filename="ou.png"
sodipodi:docname="dossieretudiant.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
id="svg8"
version="1.1"
viewBox="0 0 11.90625 11.90625"
height="45"
width="45"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<pattern
id="EMFhbasepattern"
patternUnits="userSpaceOnUse"
width="6"
height="6"
x="0"
y="0" />
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
units="px"
inkscape:guide-bbox="true"
showguides="true"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="mm"
inkscape:cy="29.257603"
inkscape:cx="27.962594"
inkscape:zoom="10.424641"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1">
<sodipodi:guide
id="guide25"
orientation="0,-1"
position="94.049365,180.07197"
inkscape:locked="false" />
<sodipodi:guide
position="8.9572181,11.534441"
orientation="0,-1"
id="guide4043"
inkscape:locked="false" />
<sodipodi:guide
position="-4.2589037,4.1320607"
orientation="0,-1"
id="guide315"
inkscape:locked="false" />
<sodipodi:guide
position="1.0787715,2.8911402"
orientation="0,-1"
id="guide373"
inkscape:locked="false" />
<sodipodi:guide
position="11.558135,1.7718565"
orientation="1,0"
id="guide428"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1">
<path
id="rect363"
style="fill:#ffdd55;stroke:#d4aa00;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
d="M 0.58190715,0.41949439 V 3.1927264 11.459984 H 11.381558 V 2.0277783 H 5.6090268 V 0.41949439 Z"
sodipodi:nodetypes="cccccccc" />
<g
id="g379"
transform="matrix(0.01113254,0,0,0.01113254,0.33749402,1.6862516)"
style="fill:#000000;stroke-width:23.7666">
<g
transform="matrix(0.08797553,0,0,-0.08797553,110.05744,434.06317)"
id="g377"
style="fill:#000000;stroke-width:27.0149">
<path
d="M 3122.6,4604.2 C 2231.7,4380.5 1476.5,4187.4 1444,4174 c -68.8,-28.7 -114.7,-107.1 -114.7,-193.1 0,-42.1 19.1,-76.5 63.1,-120.4 l 61.2,-61.2 554.4,-63.1 c 305.9,-34.4 1152.8,-128.1 1883.1,-210.3 l 1328.7,-149.1 1508.4,380.5 c 827.8,208.4 1514.1,378.5 1523.7,378.5 9.6,0 17.2,-275.3 17.2,-636.6 V 2864.5 L 8078,2673.3 c -286.8,-284.9 -286.8,-237.1 -3.8,-804.9 191.2,-382.4 242.8,-470.3 290.6,-495.2 78.4,-40.1 158.7,-36.3 217.9,11.5 68.8,53.5 489.4,892.8 489.4,973.1 0,89.9 -40.1,147.2 -227.5,334.6 l -174,172.1 v 806.8 808.7 l -53.5,59.3 -53.5,61.2 L 6690,4807 c -1028.6,114.7 -1888.9,206.5 -1909.9,206.5 -21,-0.2 -766.6,-185.6 -1657.5,-409.3 z"
id="path367"
style="fill:#000000;stroke-width:27.0149" />
<path
d="m 6340.2,3243 -1099.3,-275.3 -1344,149.1 -1344,149.1 v -569.7 -569.7 l -103.2,-99.4 C 2260.4,1839.7 2170.6,1596.9 2157.2,1218.4 2140,816.9 2229.9,493.8 2411.5,293.1 2484,212.7 2642.7,121 2711.5,121 c 17.2,0 32.5,-15.3 32.5,-32.5 0,-63.1 191.2,-510.5 298.2,-697.8 369,-651.9 892.8,-1091.7 1491.2,-1248.4 290.6,-76.5 642.4,-76.5 933,0 728.4,191.2 1345.9,803 1693.9,1676.7 51.7,133.7 95.7,256.1 95.7,273.3 0,15.3 15.3,28.7 34.4,28.7 66.9,0 225.6,91.8 298.3,172.1 181.6,200.7 271.5,523.8 256.2,925.3 -15.3,380.5 -110.9,629 -307.8,808.7 l -80.3,70.7 -9.6,709.3 -9.6,709.3 z M 3222,2375 c 229.4,-65 602.2,-135.7 908.1,-174 137.7,-15.3 435.9,-24.8 869.9,-24.8 694,0 869.9,13.4 1328.7,97.5 216,38.2 575.5,130 686.4,172.1 34.4,13.4 36.3,3.8 22.9,-273.4 l -13.4,-286.8 49.7,-59.3 c 32.5,-40.1 76.5,-65 130,-74.6 70.7,-15.3 86,-26.8 133.8,-114.7 149.1,-277.2 135.8,-812.5 -22.9,-1036.2 -40.1,-57.4 -45.9,-57.4 -154.9,-45.9 -107.1,9.6 -114.7,7.6 -170.2,-45.9 -30.6,-32.5 -65,-95.6 -78.4,-141.5 -239,-948.3 -887.1,-1692 -1604,-1844.9 -166.3,-34.4 -443.6,-34.4 -613.7,1.9 -671,141.5 -1267.5,774.3 -1540.9,1634.6 -38.2,120.4 -78.4,244.7 -89.9,275.3 -36.3,99.4 -187.4,156.8 -281,107.1 -51.6,-28.7 -124.3,66.9 -175.9,235.2 -63.1,196.9 -61.2,560.2 1.9,739.9 61.2,174 99.4,221.8 191.2,237.1 51.6,7.6 89.9,30.6 124.3,70.7 l 49.7,59.3 -11.5,288.7 c -13.4,277.2 -13.4,286.8 22.9,273.4 19.3,-7.7 126.3,-40.2 237.2,-70.8 z"
id="path369"
style="fill:#000000;stroke-width:27.0149" />
<path
d="m 3841.4,1279.5 c -72.6,-72.7 -84.1,-147.2 -38.2,-239 44,-82.2 103.2,-97.5 391.9,-97.5 233.2,0 269.6,3.8 311.6,38.2 114.7,89.9 109,254.3 -11.5,326.9 -51.6,30.6 -97.5,36.3 -323.1,36.3 h -265.7 z"
id="path371"
style="fill:#000000;stroke-width:27.0149" />
<path
d="m 5504.7,1308.2 c -68.8,-42.1 -110.9,-143.4 -91.7,-219.9 5.7,-26.8 38.2,-70.7 68.8,-97.5 53.5,-45.9 66.9,-47.8 321.2,-47.8 288.7,0 340.3,13.4 388.1,95.6 53.5,87.9 42.1,166.3 -32.5,240.9 l -65,65 h -263.8 c -227.6,0 -273.5,-5.7 -325.1,-36.3 z"
id="path373"
style="fill:#000000;stroke-width:27.0149" />
<path
d="m 2352.1,-1601.6 c -326.9,-114.7 -663.4,-242.8 -749.4,-282.9 -265.7,-128.1 -478,-281 -713.1,-518.1 C 576,-2714.3 381,-3025.9 251,-3415.9 145.9,-3735.2 122.9,-3869 111.4,-4270.5 l -11.4,-367.1 68.8,-68.8 66.9,-66.9 H 5000 9764.3 l 66.9,66.9 68.8,68.8 -11.5,367.1 c -9.6,296.3 -19.1,405.3 -57.4,567.8 -128.1,535.3 -344.1,927.2 -728.4,1309.6 -233.2,233.3 -420.6,367.1 -709.3,506.6 -214.1,103.3 -1332.5,497.1 -1412.8,497.1 -36.3,0 -95.6,-42 -227.5,-166.3 -409.1,-384.3 -759,-585 -1229.3,-705.5 -183.5,-47.8 -244.7,-53.5 -504.7,-55.4 -424.4,0 -674.9,57.4 -1061.1,248.5 -242.8,120.5 -462.7,277.2 -711.2,512.4 -151,141.5 -187.4,166.3 -239,164.4 -34.3,-1.9 -328.8,-95.6 -655.7,-210.3 z"
id="path375"
style="fill:#000000;stroke-width:27.0149" />
</g>
</g>
<path
style="fill:none;stroke:#ff0000;stroke-width:0.965;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 3.5278992,6.2436203 9.388521,11.365016 v 0"
id="path817" />
<path
style="fill:none;stroke:#ff0000;stroke-width:0.965;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 9.4139013,6.2943814 3.5532799,11.415776 v 0"
id="path1376" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
icons/nodetail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

180
icons/nodetail.svg Normal file
View File

@ -0,0 +1,180 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="51.200001"
inkscape:export-xdpi="51.200001"
inkscape:export-filename="nofeedback.png"
sodipodi:docname="nodetail.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
id="svg8"
version="1.1"
viewBox="0 0 11.90625 11.90625"
height="45"
width="45"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<pattern
id="EMFhbasepattern"
patternUnits="userSpaceOnUse"
width="6"
height="6"
x="0"
y="0" />
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
units="px"
inkscape:guide-bbox="true"
showguides="true"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="mm"
inkscape:cy="23.659557"
inkscape:cx="67.399406"
inkscape:zoom="8.2419125"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1">
<sodipodi:guide
id="guide25"
orientation="0,-1"
position="94.049365,180.07197"
inkscape:locked="false" />
<sodipodi:guide
position="8.9572181,11.534441"
orientation="0,-1"
id="guide4043"
inkscape:locked="false" />
<sodipodi:guide
position="-4.2589037,4.1320607"
orientation="0,-1"
id="guide315"
inkscape:locked="false" />
<sodipodi:guide
position="1.0787715,2.8911402"
orientation="0,-1"
id="guide373"
inkscape:locked="false" />
<sodipodi:guide
position="11.558135,1.7718565"
orientation="1,0"
id="guide428"
inkscape:locked="false" />
<sodipodi:guide
position="5.2326549,-0.74200777"
orientation="1,0"
id="guide3446"
inkscape:locked="false" />
<sodipodi:guide
position="17.624095,12.098863"
orientation="1,0"
id="guide3516"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1">
<rect
style="fill:#ffffff;stroke:none;stroke-width:0.965;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="rect377"
width="10.678919"
height="11.017167"
x="0.61403924"
y="0.46577585" />
<g
id="g3526"
transform="translate(-0.32102177,-0.51363483)">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-size:3.22953px;line-height:1.2;font-family:arial;-inkscape-font-specification:'arial Heavy';fill:#ff0000;stroke:#000000;stroke-width:0.264583"
x="4.3559556"
y="7.7761049"
id="text3444"><tspan
sodipodi:role="line"
id="tspan3442"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:arial;-inkscape-font-specification:'arial Heavy';fill:#ff0000;stroke:#000000;stroke-width:0.264583"
x="4.3559556"
y="7.7761049">ERR</tspan></text>
<ellipse
style="fill:#ff0000;stroke:#000000;stroke-width:0.25;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;paint-order:fill markers stroke;stop-color:#000000"
id="path3510"
cx="2.1668973"
cy="6.6202235"
rx="1.4285469"
ry="1.444598" />
</g>
<g
id="g3521"
transform="translate(-0.32102177,-0.64204354)">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-size:3.22953px;line-height:1.2;font-family:arial;-inkscape-font-specification:'arial Heavy';fill:#ff0000;stroke:#000000;stroke-width:0.264583"
x="4.0991383"
y="4.2448654"
id="text3450"><tspan
sodipodi:role="line"
id="tspan3448"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:arial;-inkscape-font-specification:'arial Heavy';fill:#00ff00;stroke:#000000;stroke-width:0.264583"
x="4.0991383"
y="4.2448654">COR</tspan></text>
<ellipse
style="fill:#00ff00;stroke:#000000;stroke-width:0.25;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;paint-order:fill markers stroke;stop-color:#000000"
id="ellipse3512"
cx="2.1668973"
cy="3.0897722"
rx="1.4285469"
ry="1.444598" />
</g>
<g
id="g3542"
transform="translate(-0.35312395,6.7414572)">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-size:3.22953px;line-height:1.2;font-family:arial;-inkscape-font-specification:'arial Heavy';fill:#ff0000;stroke:#000000;stroke-width:0.264583"
x="4.0991383"
y="4.2448654"
id="text3538"><tspan
sodipodi:role="line"
id="tspan3536"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-family:arial;-inkscape-font-specification:'arial Heavy';fill:#00ff00;stroke:#000000;stroke-width:0.264583"
x="4.0991383"
y="4.2448654">COR</tspan></text>
<ellipse
style="fill:#00ff00;stroke:#000000;stroke-width:0.25;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;paint-order:fill markers stroke;stop-color:#000000"
id="ellipse3540"
cx="2.1668973"
cy="3.0897722"
rx="1.4285469"
ry="1.444598" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
icons/nodetailmini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
icons/nofeedback.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

178
icons/nofeedback.svg Normal file
View File

@ -0,0 +1,178 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
inkscape:export-filename="nofeedback.png"
sodipodi:docname="nofeedback.svg"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
id="svg8"
version="1.1"
viewBox="0 0 11.90625 11.90625"
height="45"
width="45"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<marker
style="overflow:visible"
id="Arrow1"
refX="0"
refY="0"
orient="auto-start-reverse"
inkscape:stockid="Arrow1"
markerWidth="7"
markerHeight="7"
viewBox="0 0 4.0606602 6.7071068"
inkscape:isstock="true"
inkscape:collect="always"
preserveAspectRatio="xMidYMid">
<path
style="fill:none;stroke:context-stroke;stroke-width:1;stroke-linecap:butt"
d="M 3,-3 0,0 3,3"
id="path5057"
transform="rotate(180,0.125,0)"
sodipodi:nodetypes="ccc" />
</marker>
<pattern
id="EMFhbasepattern"
patternUnits="userSpaceOnUse"
width="6"
height="6"
x="0"
y="0" />
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="-8"
inkscape:window-x="-8"
inkscape:window-height="1009"
inkscape:window-width="1920"
units="px"
inkscape:guide-bbox="true"
showguides="true"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="mm"
inkscape:cy="23.659557"
inkscape:cx="68.734047"
inkscape:zoom="8.2419125"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:pagecheckerboard="0"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1">
<sodipodi:guide
id="guide25"
orientation="0,-1"
position="94.049365,180.07197"
inkscape:locked="false" />
<sodipodi:guide
position="8.9572181,11.534441"
orientation="0,-1"
id="guide4043"
inkscape:locked="false" />
<sodipodi:guide
position="-4.2589037,4.1320607"
orientation="0,-1"
id="guide315"
inkscape:locked="false" />
<sodipodi:guide
position="1.0787715,2.8911402"
orientation="0,-1"
id="guide373"
inkscape:locked="false" />
<sodipodi:guide
position="11.558135,1.7718565"
orientation="1,0"
id="guide428"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1">
<rect
style="fill:#ffffff;stroke:none;stroke-width:0.965;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stop-color:#000000"
id="rect377"
width="10.678919"
height="11.017167"
x="0.61403924"
y="0.46577585" />
<g
id="g379"
transform="matrix(0.00882858,0,0,0.00882858,2.7664564,4.0629307)"
style="fill:#000000;stroke-width:29.9689">
<g
transform="matrix(0.08797553,0,0,-0.08797553,110.05744,434.06317)"
id="g377"
style="fill:#000000;stroke-width:34.0649">
<path
d="M 3122.6,4604.2 C 2231.7,4380.5 1476.5,4187.4 1444,4174 c -68.8,-28.7 -114.7,-107.1 -114.7,-193.1 0,-42.1 19.1,-76.5 63.1,-120.4 l 61.2,-61.2 554.4,-63.1 c 305.9,-34.4 1152.8,-128.1 1883.1,-210.3 l 1328.7,-149.1 1508.4,380.5 c 827.8,208.4 1514.1,378.5 1523.7,378.5 9.6,0 17.2,-275.3 17.2,-636.6 V 2864.5 L 8078,2673.3 c -286.8,-284.9 -286.8,-237.1 -3.8,-804.9 191.2,-382.4 242.8,-470.3 290.6,-495.2 78.4,-40.1 158.7,-36.3 217.9,11.5 68.8,53.5 489.4,892.8 489.4,973.1 0,89.9 -40.1,147.2 -227.5,334.6 l -174,172.1 v 806.8 808.7 l -53.5,59.3 -53.5,61.2 L 6690,4807 c -1028.6,114.7 -1888.9,206.5 -1909.9,206.5 -21,-0.2 -766.6,-185.6 -1657.5,-409.3 z"
id="path367"
style="fill:#000000;stroke-width:34.0649" />
<path
d="m 6340.2,3243 -1099.3,-275.3 -1344,149.1 -1344,149.1 v -569.7 -569.7 l -103.2,-99.4 C 2260.4,1839.7 2170.6,1596.9 2157.2,1218.4 2140,816.9 2229.9,493.8 2411.5,293.1 2484,212.7 2642.7,121 2711.5,121 c 17.2,0 32.5,-15.3 32.5,-32.5 0,-63.1 191.2,-510.5 298.2,-697.8 369,-651.9 892.8,-1091.7 1491.2,-1248.4 290.6,-76.5 642.4,-76.5 933,0 728.4,191.2 1345.9,803 1693.9,1676.7 51.7,133.7 95.7,256.1 95.7,273.3 0,15.3 15.3,28.7 34.4,28.7 66.9,0 225.6,91.8 298.3,172.1 181.6,200.7 271.5,523.8 256.2,925.3 -15.3,380.5 -110.9,629 -307.8,808.7 l -80.3,70.7 -9.6,709.3 -9.6,709.3 z M 3222,2375 c 229.4,-65 602.2,-135.7 908.1,-174 137.7,-15.3 435.9,-24.8 869.9,-24.8 694,0 869.9,13.4 1328.7,97.5 216,38.2 575.5,130 686.4,172.1 34.4,13.4 36.3,3.8 22.9,-273.4 l -13.4,-286.8 49.7,-59.3 c 32.5,-40.1 76.5,-65 130,-74.6 70.7,-15.3 86,-26.8 133.8,-114.7 149.1,-277.2 135.8,-812.5 -22.9,-1036.2 -40.1,-57.4 -45.9,-57.4 -154.9,-45.9 -107.1,9.6 -114.7,7.6 -170.2,-45.9 -30.6,-32.5 -65,-95.6 -78.4,-141.5 -239,-948.3 -887.1,-1692 -1604,-1844.9 -166.3,-34.4 -443.6,-34.4 -613.7,1.9 -671,141.5 -1267.5,774.3 -1540.9,1634.6 -38.2,120.4 -78.4,244.7 -89.9,275.3 -36.3,99.4 -187.4,156.8 -281,107.1 -51.6,-28.7 -124.3,66.9 -175.9,235.2 -63.1,196.9 -61.2,560.2 1.9,739.9 61.2,174 99.4,221.8 191.2,237.1 51.6,7.6 89.9,30.6 124.3,70.7 l 49.7,59.3 -11.5,288.7 c -13.4,277.2 -13.4,286.8 22.9,273.4 19.3,-7.7 126.3,-40.2 237.2,-70.8 z"
id="path369"
style="fill:#000000;stroke-width:34.0649" />
<path
d="m 3841.4,1279.5 c -72.6,-72.7 -84.1,-147.2 -38.2,-239 44,-82.2 103.2,-97.5 391.9,-97.5 233.2,0 269.6,3.8 311.6,38.2 114.7,89.9 109,254.3 -11.5,326.9 -51.6,30.6 -97.5,36.3 -323.1,36.3 h -265.7 z"
id="path371"
style="fill:#000000;stroke-width:34.0649" />
<path
d="m 5504.7,1308.2 c -68.8,-42.1 -110.9,-143.4 -91.7,-219.9 5.7,-26.8 38.2,-70.7 68.8,-97.5 53.5,-45.9 66.9,-47.8 321.2,-47.8 288.7,0 340.3,13.4 388.1,95.6 53.5,87.9 42.1,166.3 -32.5,240.9 l -65,65 h -263.8 c -227.6,0 -273.5,-5.7 -325.1,-36.3 z"
id="path373"
style="fill:#000000;stroke-width:34.0649" />
<path
d="m 2352.1,-1601.6 c -326.9,-114.7 -663.4,-242.8 -749.4,-282.9 -265.7,-128.1 -478,-281 -713.1,-518.1 C 576,-2714.3 381,-3025.9 251,-3415.9 145.9,-3735.2 122.9,-3869 111.4,-4270.5 l -11.4,-367.1 68.8,-68.8 66.9,-66.9 H 5000 9764.3 l 66.9,66.9 68.8,68.8 -11.5,367.1 c -9.6,296.3 -19.1,405.3 -57.4,567.8 -128.1,535.3 -344.1,927.2 -728.4,1309.6 -233.2,233.3 -420.6,367.1 -709.3,506.6 -214.1,103.3 -1332.5,497.1 -1412.8,497.1 -36.3,0 -95.6,-42 -227.5,-166.3 -409.1,-384.3 -759,-585 -1229.3,-705.5 -183.5,-47.8 -244.7,-53.5 -504.7,-55.4 -424.4,0 -674.9,57.4 -1061.1,248.5 -242.8,120.5 -462.7,277.2 -711.2,512.4 -151,141.5 -187.4,166.3 -239,164.4 -34.3,-1.9 -328.8,-95.6 -655.7,-210.3 z"
id="path375"
style="fill:#000000;stroke-width:34.0649" />
</g>
</g>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.41635px;line-height:1.2;font-family:arial;-inkscape-font-specification:'arial Bold';fill:#000000;stroke-width:0.264584"
x="0.17541941"
y="3.558949"
id="text537"
transform="scale(0.94131726,1.0623411)"><tspan
sodipodi:role="line"
id="tspan535"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:arial;-inkscape-font-specification:'arial Bold';fill:#000000;stroke-width:0.264584"
x="0.17541941"
y="3.558949">HTML</tspan></text>
<path
style="fill:none;stroke:#00ff00;stroke-width:0.6;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1)"
d="M 0.83465664,4.1090786 0.80255444,6.7735594 H 3.788057"
id="path643" />
<path
style="fill:none;stroke:#ff0000;stroke-width:0.665;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 4.3387058,6.8843952 C 11.075251,11.428376 11.075251,11.428376 11.075251,11.428376"
id="path2422" />
<path
style="fill:none;stroke:#ff0000;stroke-width:0.665;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="m 11.038238,6.772658 c -6.7365462,4.54398 -6.7365462,4.54398 -6.7365462,4.54398"
id="path2426" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
icons/nofeedbackmini.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -22,8 +22,7 @@ import cXML.Run.UserStatus;
*/
public class commandes {
//** Application console par défaut.
//** Si la valeur ets false alors c'est une application avec inteface graphique.
//** Si la valeur est false alors c'est une application avec inteface graphique.
public static boolean console = true;
//** Le node du fichier d'analyse
@ -33,7 +32,7 @@ public class commandes {
public static node nodeCSV = null;
//**version
public static String version ="V4.3.1"; // La version actuelle
public static String version ="V4.3.2"; // La version actuelle
public static String branch = "Origin";
public static String Annee ="2022";

View File

@ -317,7 +317,7 @@ public class afficheText extends JEditorPane {
}
/**
* Affiche le nombre de point et la réppartition dans les node principaux.
* Affiche le nombre de point et la répartition dans les nodes principaux.</br>
* @param liste
*/
public void afficheListeDesPointsDansToutExercice(ArrayList<String> liste) {
@ -352,7 +352,7 @@ public class afficheText extends JEditorPane {
}
/**
* Affiche le chargement du fichier d'analyse
* Affiche le chargement du fichier d'analyse.</br>
*/
public void afficheChargementFichierAnalyse(){

View File

@ -42,6 +42,7 @@ import java.awt.Color;
import javax.swing.event.ChangeListener;
import javax.swing.event.ChangeEvent;
import java.awt.event.ActionListener;
import java.awt.Canvas;
@ -104,20 +105,31 @@ public class evaluate extends JFrame {
JPanel panelWest = new JPanel();
contentPane.add(panelWest, BorderLayout.WEST);
panelWest.setLayout(new MigLayout("", "[309px][]", "[38.00][71px][71px][][][71px][][74.00][][]"));
panelWest.setLayout(new MigLayout("", "[24px][260px]", "[71px][71px][36px][24px][24px][24px][24px][24px][24px][36px][24px][24px][24px][24px][][]"));
JLabel lblTITRE = new JLabel("<HTML><U>PARAMETRES</U></HTML>");
lblTITRE.setForeground(Color.RED);
lblTITRE.setFont(new Font("Tahoma", Font.BOLD, 16));
lblTITRE.setHorizontalAlignment(SwingConstants.CENTER);
panelWest.add(lblTITRE, "cell 0 0,alignx left,aligny center");
ImageIcon imgDossierEtudaint = new ImageIcon(getClass().getResource("/dossieretudiantmini.png") );
lblFileAnalyse = new JLabel("<HTML><B><U>Fichier de l'analyse</U></B> : </HTML>");
lblFileAnalyse.setHorizontalAlignment(SwingConstants.LEFT);
lblFileAnalyse.setFont(new Font("Tahoma", Font.BOLD, 14));
panelWest.add(lblFileAnalyse, "flowy,cell 0 1,alignx left,growy");
panelWest.add(lblFileAnalyse, "cell 1 0,alignx left,aligny top");
JLabel lblImageDossierEtudiant = new JLabel(imgDossierEtudaint);
panelWest.add(lblImageDossierEtudiant, "flowx,cell 0 2,alignx center,aligny center");
chckbxfichiersEtudiants = new JCheckBox("Les fichiers ne sont pas dans des dossiers nominatifs");
chckbxVerif = new JCheckBox("Vérification des historiques avant analyse");
chckbxVerif.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckbxVerif.isSelected()) {
commandes.verifHisto2=true;
}else {
commandes.verifHisto2=false;
}
}
});
chckbxfichiersEtudiants = new JCheckBox("<HTML>Les fichiers des étudiants<BR>ne sont pas dans des dossiers nominatifs<HTML>");
chckbxfichiersEtudiants.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckbxfichiersEtudiants.isSelected()) {
@ -129,42 +141,9 @@ public class evaluate extends JFrame {
});
chckbxfichiersEtudiants.setFont(new Font("Tahoma", Font.PLAIN, 12));
chckbxfichiersEtudiants.setToolTipText("Cochez si les fichiers des étudiants ne sont pas dans des dossier nominatifs");
panelWest.add(chckbxfichiersEtudiants, "flowy,cell 0 2,grow");
panelWest.add(chckbxfichiersEtudiants, "cell 1 2,growx,aligny center");
chckbxfichiersEtudiants.setSelected(commandes.fichierStudentMoodle);
lblChargementFichierCSV = new JLabel(" Chargement de la liste des étudiants");
panelWest.add(lblChargementFichierCSV, "cell 0 3,alignx left,aligny center");
lblFichierCSV = new JLabel("<HTML><B><U>Fichier CSV liste des étudiants</U></B></HTML> :");
lblFichierCSV.setFont(new Font("Tahoma", Font.BOLD, 14));
panelWest.add(lblFichierCSV, "flowy,cell 0 5,grow");
lblFichierSVG = new JLabel("<HTML><B><U>Fichier SVG</U></B> :</HTML>");
lblFichierSVG.setFont(new Font("Tahoma", Font.BOLD, 14));
panelWest.add(lblFichierSVG, "flowy,cell 0 7,growx");
chckCSVNotes = new JCheckBox("Créer un fichier CSV des notes");
chckCSVNotes.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckCSVNotes.isSelected()) {
commandes.ecritNoteCSV=true;
}else {
commandes.ecritNoteCSV=false;
}
}
});
chckCSVNotes.setToolTipText("Cochez si vous voulez importer les notes dans un fichier CSV.");
panelWest.add(chckCSVNotes, "cell 0 5,grow");
chckCSVNotes.setSelected(commandes.ecritNoteCSV);
lblPath = new JLabel();
lblPath.setHorizontalAlignment(SwingConstants.LEFT);
lblPath.setFont(new Font("Tahoma", Font.BOLD, 14));
lblPath.setText("<HTML><B><U>Dossier de l'analyse</U></B> : " + commandes.path.substring(commandes.path.lastIndexOf("\\")+1,commandes.path.length()) + "</HTML>");
panelWest.add(lblPath, "cell 0 1,grow");
chckbxnoFeedback = new JCheckBox("Pas de feedback");
chckbxnoFeedback.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
@ -175,12 +154,58 @@ public class evaluate extends JFrame {
}
}
});
ImageIcon imgDNoFeedBack = new ImageIcon(getClass().getResource("/nofeedbackmini.png") );
JLabel lblNoFeedBack = new JLabel(imgDNoFeedBack);
panelWest.add(lblNoFeedBack, "cell 0 3");
chckbxnoFeedback.setToolTipText("Cochez si vous ne voulez pas générer des feedbacks");
chckbxnoFeedback.setFont(new Font("Tahoma", Font.PLAIN, 12));
panelWest.add(chckbxnoFeedback, "cell 0 2,grow");
panelWest.add(chckbxnoFeedback, "cell 1 3,growx,aligny top");
chckbxnoFeedback.setSelected(commandes.sansFeeback);
chckbxNoDetail = new JCheckBox("Pas de détails dans les feedbacks");
chckbxNoDetail.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckbxNoDetail.isSelected()) {
commandes.noDetail=true;
}else {
commandes.noDetail=false;
}
}
});
ImageIcon imgDNoDetail = new ImageIcon(getClass().getResource("/nodetailmini.png") );
JLabel lblNoDeatail = new JLabel(imgDNoDetail);
panelWest.add(lblNoDeatail, "cell 0 4");
chckbxNoDetail.setToolTipText("Cochez si vous voulez que la table synthèse dans les feedbacks");
chckbxNoDetail.setFont(new Font("Tahoma", Font.PLAIN, 12));
panelWest.add(chckbxNoDetail, "cell 1 4,growx,aligny top");
chckbxNoDetail.setSelected(commandes.noDetail);
chckbxNoNote = new JCheckBox("Pas de note dans les feedbacks");
chckbxNoNote.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckbxNoNote.isSelected()) {
commandes.noNote=true;
}else {
commandes.noNote=false;
}
}
});
chckbxNoNote.setToolTipText("Cochez si vous voulez pas faire apparaître les notes dans les feedbacks");
chckbxNoNote.setFont(new Font("Tahoma", Font.PLAIN, 12));
panelWest.add(chckbxNoNote, "cell 1 5,grow");
chckbxNoNote.setSelected(commandes.noNote);
chckbxZipfeedback = new JCheckBox("Zip les feedbacks");
chckbxZipfeedback.addChangeListener(new ChangeListener() {
@ -194,57 +219,50 @@ public class evaluate extends JFrame {
});
chckbxZipfeedback.setToolTipText("Cochez si vous voulez placer tous les feedbacks dans une archive ZIP");
chckbxZipfeedback.setFont(new Font("Tahoma", Font.PLAIN, 12));
panelWest.add(chckbxZipfeedback, "cell 0 2,grow");
panelWest.add(chckbxZipfeedback, "cell 1 6,grow");
chckbxZipfeedback.setSelected(commandes.zipfeedback);
chckbxNoNote = new JCheckBox("Pas de note dans les feedbacks");
chckbxNoNote.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckbxNoNote.isSelected()) {
commandes.noNote=true;
}else {
commandes.noNote=false;
}
}
});
chckbxNoNote.setToolTipText("Cochez si vous voulez pas faire apparaître les notes dans les feedbacks");
chckbxNoNote.setFont(new Font("Tahoma", Font.PLAIN, 12));
panelWest.add(chckbxNoNote, "cell 0 2,grow");
chckbxNoNote.setSelected(commandes.noNote);
chckbxVerif = new JCheckBox("Vérification des historiques avant analyse");
chckbxVerif.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckbxVerif.isSelected()) {
commandes.verifHisto2=true;
}else {
commandes.verifHisto2=false;
}
}
});
chckbxVerif.setToolTipText("Cochez si vous voulez vérifier les échanges de fichiers entre les étudiants.");
chckbxVerif.setFont(new Font("Tahoma", Font.PLAIN, 12));
panelWest.add(chckbxVerif, "cell 0 2,grow");
panelWest.add(chckbxVerif, "flowy,cell 1 7,growx,aligny top");
chckbxVerif.setSelected(commandes.verifHisto2);
chckbxNoDetail = new JCheckBox("Pas de détails dans les feedbacks");
chckbxNoDetail.addChangeListener(new ChangeListener() {
lblChargementFichierCSV = new JLabel("Chargement de la liste des étudiants");
panelWest.add(lblChargementFichierCSV, "cell 1 8,alignx left,aligny center");
lblFichierCSV = new JLabel("<HTML><B><U>Fichier CSV liste des étudiants</U></B></HTML> :");
lblFichierCSV.setFont(new Font("Tahoma", Font.BOLD, 14));
panelWest.add(lblFichierCSV, "cell 1 9,grow");
chckCSVNotes = new JCheckBox("Créer un fichier CSV des notes");
chckCSVNotes.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckbxNoDetail.isSelected()) {
commandes.noDetail=true;
if(chckCSVNotes.isSelected()) {
commandes.ecritNoteCSV=true;
}else {
commandes.noDetail=false;
commandes.ecritNoteCSV=false;
}
}
});
chckCSVNotes.setToolTipText("Cochez si vous voulez importer les notes dans un fichier CSV.");
panelWest.add(chckCSVNotes, "flowx,cell 1 10,grow");
chckCSVNotes.setSelected(commandes.ecritNoteCSV);
lblFichierSVG = new JLabel("<HTML><B><U>Fichier SVG</U></B> :</HTML>");
lblFichierSVG.setFont(new Font("Tahoma", Font.BOLD, 14));
panelWest.add(lblFichierSVG, "cell 1 11,growx");
chckbxNoLogo = new JCheckBox("Pas de logo");
chckbxNoLogo.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckbxNoLogo.isSelected()) {
commandes.noLogo=true;
}else {
commandes.noLogo=false;
}
}
});
chckbxNoDetail.setToolTipText("Cochez si vous voulez que la table synthèse dans les feedbacks");
chckbxNoDetail.setFont(new Font("Tahoma", Font.PLAIN, 12));
panelWest.add(chckbxNoDetail, "cell 0 2");
chckbxNoDetail.setSelected(commandes.noDetail);
chckbxNewLogo = new JCheckBox("Nouveau logo");
@ -259,25 +277,20 @@ public class evaluate extends JFrame {
});
chckbxNewLogo.setToolTipText("Cochez si vous voulez remplacer le logo par celui au-dessus.");
chckbxNewLogo.setFont(new Font("Tahoma", Font.PLAIN, 12));
panelWest.add(chckbxNewLogo, "cell 0 7");
panelWest.add(chckbxNewLogo, "cell 1 12");
chckbxNewLogo.setSelected(commandes.newLogo);
chckbxNoLogo = new JCheckBox("Pas de logo");
chckbxNoLogo.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
if(chckbxNoLogo.isSelected()) {
commandes.noLogo=true;
}else {
commandes.noLogo=false;
}
}
});
chckbxNoLogo.setToolTipText("Cochez si vous voulez pas de logo dans les feedbacks.");
chckbxNoLogo.setFont(new Font("Tahoma", Font.PLAIN, 12));
panelWest.add(chckbxNoLogo, "cell 0 7");
panelWest.add(chckbxNoLogo, "cell 1 13");
chckbxNoLogo.setSelected(commandes.noLogo);
lblPath = new JLabel();
lblPath.setHorizontalAlignment(SwingConstants.LEFT);
lblPath.setFont(new Font("Tahoma", Font.BOLD, 14));
lblPath.setText("<HTML><B><U>Dossier de l'analyse</U></B> : " + commandes.path.substring(commandes.path.lastIndexOf("\\")+1,commandes.path.length()) + "</HTML>");
panelWest.add(lblPath, "cell 1 1,growx,aligny top");
JPanel panelCentre = new JPanel();
contentPane.add(panelCentre, BorderLayout.CENTER);
panelCentre.setLayout(new BorderLayout(0, 0));
@ -441,6 +454,10 @@ public class evaluate extends JFrame {
toolBar.add(btnInfoListeEtudiant);
JButton btnVerificationCSVavecFichierAnalyse = toolBar.add( actVerifCSV );
btnVerificationCSVavecFichierAnalyse.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
}
});
btnVerificationCSVavecFichierAnalyse.setIcon(new ImageIcon(evaluate.class.getResource("/resources/fichierCSVInfoXML.png")));
btnVerificationCSVavecFichierAnalyse.setHideActionText(true);
toolBar.add(btnVerificationCSVavecFichierAnalyse);
@ -492,7 +509,7 @@ public class evaluate extends JFrame {
/**
* Raffraichi les informations
* Raffraichi les informations.</br>
*/
private void refreshLabel() {
if(!commandes.fichierAnalyseValide) {
@ -522,16 +539,16 @@ public class evaluate extends JFrame {
txtpnmessages.afficheChargementFichierAnalyse();
}
lblPath.setText("<HTML><B><U>Dossier de l'analyse</U></B> : " + commandes.path.substring(commandes.path.lastIndexOf("\\")+1,commandes.path.length()) + "</HTML>");
lblFileAnalyse.setText("<HTML><B><U>Fichier de l'analyse</U></B> : " + commandes.analysis_filename + "</HTML>");
lblFichierSVG.setText("<HTML><B><U>Fichier SVG</U></B> : " + commandes.nameSVG.substring(commandes.nameSVG.lastIndexOf("\\")+1,commandes.nameSVG.length()) + "</HTML>");
lblFichierCSV.setText("<HTML><B><U>Fichier CSV</U></B> : " + commandes.nameCSV + "</HTML>");
lblPath.setText("<HTML><B><U>Dossier de l'analyse</U></B> :<br>" + commandes.path.substring(commandes.path.lastIndexOf("\\")+1,commandes.path.length()) + "</HTML>");
lblFileAnalyse.setText("<HTML><B><U>Fichier de l'analyse</U></B> :<br>" + commandes.analysis_filename + "</HTML>");
lblFichierSVG.setText("<HTML><B><U>Fichier SVG</U></B> :<br>" + commandes.nameSVG.substring(commandes.nameSVG.lastIndexOf("\\")+1,commandes.nameSVG.length()) + "</HTML>");
lblFichierCSV.setText("<HTML><B><U>Fichier CSV</U></B> :<br>" + commandes.nameCSV + "</HTML>");
}
/**
*
* evaluer l'ensemble des fichiers des étudiants
* Evaluer l'ensemble des fichiers des étudiants.</br>
*/
private AbstractAction actEvaluate = new AbstractAction() {
@ -555,7 +572,7 @@ public class evaluate extends JFrame {
/**
* Ouvre et affiche un fichier XML
* Ouvre et affiche un fichier d'analyse au format XML.</br>
*/
private AbstractAction actOpen = new AbstractAction() {
@ -582,7 +599,7 @@ public class evaluate extends JFrame {
/**
* Charge un logo SVG
* Chargement d'un logo SVG.</br>
*/
private AbstractAction actChargeLogo = new AbstractAction() {
@ -665,7 +682,7 @@ public class evaluate extends JFrame {
/**
/**
* Verification
* Verification de l'historique.</br>
*/
private AbstractAction actVerifHistorique = new AbstractAction() {
@ -772,87 +789,8 @@ public class evaluate extends JFrame {
};
// /**
// * Gènère un nouveau fichier d'analyse à partir d'un fichier ODF
// */
// private AbstractAction actNewFichierAnalyse = new AbstractAction() {
//
// private static final long serialVersionUID = 1L;
//
// {
// putValue(Action.LARGE_ICON_KEY, new ImageIcon(evaluate.class.getResource("/resources/fichierODF.png")));
// putValue( Action.NAME, "Génère un nouveau fichier d'analyse" );
// putValue( Action.SMALL_ICON, new ImageIcon(evaluate.class.getResource("/resources/fichierODFmini.png")) );
// putValue( Action.MNEMONIC_KEY, KeyEvent.VK_N );
// putValue( Action.SHORT_DESCRIPTION, "Générer un nouveau fichier d'analyse (CTRL+N)" );
// putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_N, InputEvent.CTRL_DOWN_MASK) );
// }
//
// @Override
// public void actionPerformed( ActionEvent e ) {
// JFileChooser chooser = new JFileChooser();
// chooser.setDialogTitle("Choisir un fichier ODF");
//
// chooser.setCurrentDirectory(new java.io.File(commandes.path));
// chooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
// FileNameExtensionFilter filter = new FileNameExtensionFilter("Format ODF", "odt");
// chooser.setFileFilter(filter);
// chooser.setAcceptAllFileFilterUsed(true);
//
// if (chooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {
// System.out.println("getCurrentDirectory(): " + chooser.getCurrentDirectory());
// System.out.println("getSelectedFile() : " + chooser.getSelectedFile().getAbsolutePath());
// commandes.path = chooser.getCurrentDirectory().getAbsolutePath();
// commandes.PathFilenameAnalysis = chooser.getSelectedFile().getAbsolutePath();
// commandes.nameSujet = chooser.getSelectedFile().getName();
//
// Run b = null;
// try {
// b = new Run(commandes.PathFilenameAnalysis);
// node nodSujet = Run.XMLContent(b.getLectDossiers().getEC().getListeContentWriter().get(0));
//
// nodSujet.supprimeTousLesNodesEnfantWithThisName("text:change-start"); //historique des modification
// nodSujet.supprimeTousLesNodesEnfantWithThisName("text:change-end");
//
// commandes.sujetSauvegarde = nodSujet.clone();
//
// nodSujet = meptl.LectureFichierEtudiantSousFormeDeNode(nodSujet,b,0);
// nodSujet.getAttributs().put("analysis_filename","sujet.xml");
// nodSujet = ecritureSujet.nodePourEcritureSujet(nodSujet,b,0);
// Run.ecritureNodeEnXML(nodSujet, "sujet",commandes.path,"Sujet");
// txtpnmessages.setContentType("text/plain");
// txtpnmessages.setText(Run.ecritureNode(nodSujet, 0).toString()
// + "\n\n"
// +"\n*************************"
// +"\nLe fichier sujet.xml a été généré dans le dossier :"
// +"\n" + commandes.path
// +"\n*************************");
// commandes.sujet = nodSujet;
// new verificationFichierAnalyse();
//
// } catch (ParserConfigurationException | SAXException | IOException | CloneNotSupportedException e1) {
// e1.printStackTrace();
// }
//
// } else {
// commandes.nameSujet = "";
// commandes.PathFilenameAnalysis = "";
// System.out.println("No Selection ");
// commandes.fichierAnalyseValide=false;
// refreshLabel();
// }
//
//
// commandes.ecritCode = true;
// }
// };
/**
* Information sur le fichier d'analyse
* Information sur le fichier d'analyse.</br>
*/
private AbstractAction actAboutFichierAnalyse = new AbstractAction() {
@ -900,7 +838,7 @@ public class evaluate extends JFrame {
};
/**
* Enregistre L'évaluation
* Enregistre l'évaluation.</br>
*/
private AbstractAction actSave = new AbstractAction() {
@ -915,14 +853,11 @@ public class evaluate extends JFrame {
}
@Override public void actionPerformed( ActionEvent e ) {
}
};
/**
* Enregistre sous l'évaluation
* Enregistre sous l'évaluation.</br>
*/
private AbstractAction actSaveas = new AbstractAction() {
@ -941,6 +876,7 @@ public class evaluate extends JFrame {
}
};
/**
*
*/
@ -971,7 +907,7 @@ public class evaluate extends JFrame {
/**
* Affiche les tutoriels sur Youtube
* Affiche les tutoriels sur Youtube.</br>
*/
private AbstractAction actTutoriels = new AbstractAction() {
@ -1080,24 +1016,36 @@ public class evaluate extends JFrame {
System.out.println("getSelectedFile() : " + chooser.getSelectedFile().getAbsolutePath());
commandes.nameCSV = chooser.getSelectedFile().getAbsolutePath();
commandes.nodeCSV = meptl.chargementFichierCSV();
txtpnmessages.setContentType("text/plain");
txtpnmessages.setText(Run.ecritureNode(commandes.nodeCSV, 0).toString());
commandes.fourniCSV=true;
txtpnmessages.setContentType("text/plain");
if(!commandes.nodeCSV.getNomElt().equals("fileCSV")) {
commandes.fourniCSV=false;
txtpnmessages.setText("<HTML><H1>*** Ce n'est pas un fichier format CSV contenant la liste des étudiants. ***</H1></HTML>");
commandes.nodeCSV = null;
}
if(commandes.nodeCSV.getNodes().size()<=0) {
commandes.fourniCSV=false;
txtpnmessages.setText("*** Le fichier ne contient pas d'étudiant ***");
}
} else {
commandes.nameCSV = "";
commandes.fourniCSV=false;
System.out.println("No Selection ");
commandes.nodeCSV = new node();
refreshLabel();
txtpnmessages.setText("<HTML><H1>*** Le fichier ne contient pas d'étudiant ***</H1></HTML>");
commandes.nodeCSV = null;
}
txtpnmessages.setText(Run.ecritureNode(commandes.nodeCSV, 0).toString());
System.out.println( "Charge la liste des étudiants." );
} else {
// commandes.nameCSV = "";
// commandes.fourniCSV=false;
// System.out.println("No Selection ");
// commandes.nodeCSV = new node();
// refreshLabel();
}
if(commandes.fourniCSV) {
lblChargementFichierCSV.setBackground(new Color(40,180,40));
lblChargementFichierCSV.setOpaque(true);
@ -1129,7 +1077,7 @@ public class evaluate extends JFrame {
@Override public void actionPerformed( ActionEvent e ) {
if(commandes.fourniCSV) {
txtpnmessages.setText(Run.ecritureNode(commandes.nodeCSV, 0).toString());
System.out.println( "Affiche la liste des étudaints déjà en mémoire." );
System.out.println( "Affiche la liste des étudiants déjà en mémoire." );
}else {
txtpnmessages.setText("*** Veuillez sélectionner un fichier CSV contenant la liste des étudiants. ***");
}
@ -1137,42 +1085,6 @@ public class evaluate extends JFrame {
};
// /**
// * Permet l'évaluation des fichiers des étudaints.
// * @throws ParserConfigurationException
// * @throws SAXException
// * @throws IOException
// * @throws CloneNotSupportedException
// */
// private void evaluerLesFichiersEtudiants() throws ParserConfigurationException, SAXException, IOException, CloneNotSupportedException {
//
// commandes.analyse=true;
// progressBarre.setVisible(true);
//
// if(chckbxfichiersEtudaints.isSelected()) commandes.fichierStudentMoodle=true;
// if(chckbxZipfeedback.isSelected()) commandes.zipfeedback=true;
// if(chckbxnoFeedback.isSelected()) commandes.sansFeeback=true;
// if(chckbxNoNote.isSelected()) commandes.noNote=true;
// if(chckCSVNotes.isSelected()) commandes.ecritNoteCSV=true;
// if(chckbxNewLogo.isSelected()) commandes.newLogo=true;
// if(chckbxNoLogo.isSelected()) commandes.noLogo = true;
// if(chckbxVerif.isSelected()) commandes.verifHisto2 = true;
//
// meptl.analyseVerifieHistoriqueLesFichiersEtudiantsEtExportNoteCSV();
//
// txtpnmessages.setText(commandes.message.toString());
//
//
// }
}