# C Projects # Bad Code [GitHub repo](https://github.com/Nouuu/BAD_CODE/)
 |  |  |  |  |
---|
Feature | Detail |
---|---|
Navigation between the six headings | Navigation bar: Displays the default view of each section. |
Feature | Detail |
---|---|
Displaying the list of classes | Default view, table of 6 columns: • Name • Year • Apprenticeship or not • Specialization • User • Sanction affiliated to the class |
Displaying the creation view | Switch between classes list view and class creation. |
Creation | Form with 6 fields : • Name: text field • Year: text field (4 digit) • Rhythm: check box if apprentice class • Specialization: text field • Sanction: drop-down list • User: drop-down list |
Back to the list from creation | Two way to go back: • Submit: add to the database • Return: cancel the current process |
Displaying the edit view | Switch between classes list view and class edition. |
Edition | Pre-filled form with 6 fields: • Name: text field • Year: text field (4 digit) • Rhythm: check box if apprentice class • Specialization: text field • Sanction: drop-down list • User: drop-down list |
Back to the list from the edition | Two way to go back: • Submit: update in the database • Return: cancel the current process |
Deletion | Remove a class from database. |
Refreshing the list | Refresh classes list. |
Feature | Detail |
---|---|
Displaying the list of students | Default view, table of 6 columns: • First name • Last name • E-mail • Total of "bad code" • Total of champagne bottles :champagne: • Class |
Search bar | Search on the first name in the list, select the first result corresponding to the search. |
Add a bottle :champagne: in total | Add one bottle :champagne: to one student. |
Remove a bottle :champagne: in total | Remove one bottle :champagne: to one student. |
Displaying the creation view | Switch between students list view and student creation. |
Creation | Form with 5 fields: • First name: text field • Last name: text field • E-mail: text field • Class: drop-down list • Profile photo: file browser |
Back to the list from creation | Two way to go back: • Submit: add to the database • Return: cancel the current process |
Displaying the edit view | Switch between students list view and student edition. |
Edition | Pre-filled form with 6 fields: • First name: text field • Last name: text field • E-mail: test field • Total bottles: text field • Class: drop-down list • Photo: image display + file browser |
Back to the list from the edition | Two way to go back: • Submit: update in the database • Return: cancel the current process |
Deletion | Remove a student from database. |
Add one deliverable | Add new deliverable to a student. |
Refreshing the list | Refresh students list. |
Feature | Detail |
---|---|
Displaying the list of sanctions | Default view, table of 3 columns: • Name • Description • User |
Displaying the creation view | Switch between sanctions list view and sanction creation. |
Creation | Form with 3 fields: • Name: text field • Description: text field • User: drop-down list |
Back to the list from creation | Two way to go back: • Submit: add to the database • Return: cancel the current process |
Displaying the edit view | Switch between sanctions list view and sanction edition. |
Edition | Pre-filled form with 3 fields: • Name: text field • Description: text field • User: drop-down list |
Back to the list from the edition | Two way to go back: • Submit: update in the database • Return: cancel the current process |
Deletion | Remove a sanction from database. |
Refreshing the list | Refresh sanctions list. |
Feature | Detail |
---|---|
Displaying the list of deliverables | Default view, table of 8 columns: • Due date • Subject • Audio recording (yes / no) • Video recording (yes / no) • Code file (yes / no) • Other deliverable file (yes / no) • Status • Student |
Search bar | Search on the name in the list, select the first result corresponding to the search. |
Displaying the creation view | Switch between deliverables list view and deliverables creation. |
Creation | Display of the student's name, the name of the sanction affiliated to his class and his description. Form with 7 fields: • Subject: text field • Status: drop-down list • Due date: calendar • Audio recording: file browser • Video recording: file browser • Code file: file browser • Other deliverable file: file browser |
Back to the list from creation | Two way to go back: • Submit: add to the database • Return: cancel the current process |
Displaying the edit view | Switch between sanctions list view and sanction edition. |
Edition | Display of the student's name, the name of the sanction affiliated to his class and his description. Pre-filled form with 7 fields: • Subject: text field • Status: drop-down list • Due date: calendar • Audio recording: file browser • Video recording: file browser • Code file: file browser • Other deliverable file: file browser |
Back to the list from the edition | Two way to go back: • Submit: update in the database • Return: cancel the current process |
Deletion | Remove a sanction from database. |
Refreshing the list | Refresh sanctions list. |
Download | From edition, for each type of file, if a file is associated with the deliverable, a download button appears. |
Feature | Detail |
---|---|
User information display | Default view, 5 fields: • First name: text field • Last name: text field • E-mail: text field • Date of birth: label cannot be modified • Photo with file browser for instant modification |
Displaying the edit view | Switch between user view and user edition. |
Edition | Pre-filled form with 4 fields: • First name: text field • Last name: text field • E-mail: text field • Date of birth: label cannot be changed |
Back to information from the edition | Two way to go back: • Submit: update in the database • Return: cancel the current process |
Feature | Detail |
---|---|
Display of current settings | Default view, 7 editable settings: • Dark theme: switch button (instant update) • CSS file of the dark theme: file browser • CSS file of the default theme: file browser • Database file: file browser • Data backup folder: folder browser • Glade file: file browser • Terminal display: switch button (instant update) |
Update settings | Apply changes in conf file. |
[Joëlle CASTELLI](https://github.com/JoelleCastelli) |  |
[Noé LARRIEU-LACOSTE](https://github.com/Nouuu) |  |
 |  |  |  |  |
---|
Feature | Description |
---|---|
Encode file | Encode a file with a given G4C Matrix |
Decode file | Encode a file with a given G4C Matrix |
Byte / Matrix | 1000 1111 1100 0111 1010 0100 1001 0010 | |
---|---|---|
1010 | :arrow\_right: | 0010 1011 |
0101 | :arrow\_right: | 0101 0101 |
1234 5678 | :arrow\_right: | 5234 |
---|---|---|
1**000** **1**111 1**100** 0111 1**010** 0100 1**001** 0010 | :arrow\_right: | **1**000 0**1**00 00**1**0 000**1** |
1234 5678 | :arrow\_right: | 5234 |
---|---|---|
0**010 1**011 | :arrow\_right: | **1010** |
0**101 0**101 | :arrow\_right: | **0101** |
[Noé LARRIEU-LACOSTE](https://github.com/Nouuu) |  |
---|
 |  |  |
---|---|---|
[](https://wiki.nospy.fr/uploads/images/gallery/2022-05/Pirimage15.png) | [](https://wiki.nospy.fr/uploads/images/gallery/2022-05/hLCimage16.png) |
---|---|
 |  |
 |  |
 |  |
 |  |
 |
 |  |
---|
 |  |
---|
 |  |
---|