From 726d73211bcd81958e079cf35e8b6177ffdd2418 Mon Sep 17 00:00:00 2001 From: mo8it Date: Wed, 1 Nov 2023 23:33:43 +0100 Subject: [PATCH] Update admin docs --- advlabdb/templates/docs/admin.jinja.html | 343 +++++++++++------------ 1 file changed, 156 insertions(+), 187 deletions(-) diff --git a/advlabdb/templates/docs/admin.jinja.html b/advlabdb/templates/docs/admin.jinja.html index 8e748f3..f16d2bb 100644 --- a/advlabdb/templates/docs/admin.jinja.html +++ b/advlabdb/templates/docs/admin.jinja.html @@ -2,22 +2,30 @@

Welcome to the administration part of AdvLabDB.

- Disclaimer: The database design behind AdvLabDB with its tables is not trivial. But it should be very efficient after understanding it because it follows database design patterns to avoids duplications. + Disclaimer: The database design behind AdvLabDB with its tables is not trivial. + But it should be very efficient after understanding it because it follows database design patterns to avoids duplications.

- Some tables like Part Student and Group Experiment are not intuitive at the first moment. The table Part Student for example can be confused with the table Student. Therefore, please read this documentation to understand all terms and relationships and familiarize yourself with this web interface. + Some tables like Part Student and Group Experiment are not intuitive at the first moment. + The table Part Student for example can be confused with the table Student. + Therefore, please read this documentation to understand all terms and relationships and familiarize yourself with this web interface.

-

In the first section, menu items are explained. You can find some "How-To"s in the second chapter.

+

+ In the first section, menu items are explained. + You can find some "How-To"s in the second chapter. +

Menu items

In this section, you will find explanations to each menu item on the upper navigation bar.

Home

- This is your home page. Here, you find a table with the number of missing experiment marks for every assistant in your active semester. Assistants without missing experiment marks are not showed in the table. + This is your home page. + Here, you find a table with the number of missing experiment marks for every assistant in your active semester. + Assistants without missing experiment marks are not showed in the table.

Tables

@@ -41,17 +49,14 @@
  • The student number is the number assigned to a student from the university (Martikelnummer in German).
  • The uni email is the email address from the university.
  • - The contact email is an optional email address that is preferred by the student. If the uni and contact email are equal, only the uni email is stored. + The contact email is an optional email address that is preferred by the student. + If the uni and contact email are equal, only the uni email is stored.
  • You can optionally enter the topic and work group of the student's bachelor thesis
  • -
  • - The note field is free for you to enter any notes related to this student. -
  • +
  • The note field is free for you to enter any notes related to this student.
  • -

    - Part Student -

    +

    Part Student

    This table shows all part student in your active semester.

    @@ -61,24 +66,27 @@

    - Lets say the student Max is doing his second lab practicum in his bachelor of science program (part 2 in BS). Max would have only one record in the table Student anyway. Lets call the part of the first practicum "BS1" and that of the second practicum "BS2". He should have a Part Student record with the part "BS1", but he needs a second record for the part "BS2" now. Therefore, you would create a new Part Student record that refers to the Student record and part "BS2". + Lets say the student Max is doing his second lab practicum in his bachelor of science program (part 2 in BS). + Max would have only one record in the table Student anyway. + Lets call the part of the first practicum "BS1" and that of the second practicum "BS2". + He should have a Part Student record with the part "BS1", but he needs a second record for the part "BS2" now. + Therefore, you would create a new Part Student record that refers to the Student record and part "BS2".

    - You can put Max in an existing group or create one containing him later. The group has to be compatible with the part! + You can put Max in an existing group or create one containing him later. + The group has to be compatible with the part!

    +

    The table also shows the experiment marks of the student in this part.

    +

    - The table also shows the experiment marks of the student in this part. + Every part student has a final part mark shown in this table. + The final part mark is calculated as explained in Experiment. + Normally, this final part mark is the one relevant for the transcript of records of students.

    -

    - Every part student has a final part mark shown in this table. The final part mark is calculated as explained in Experiment. Normally, this final part mark is the one relevant for the transcript of records of students. -

    - -

    - Group -

    +

    Group

    This table shows all groups in your active semester.

    @@ -87,27 +95,23 @@ A group contains multiple part students that do group experiments together.

    -
    - Conditions -
    +
    Conditions
    -

    - Group Experiment -

    +

    Group Experiment

    This table shows all group experiments in your active semester.

    @@ -125,235 +129,200 @@

    - After creating a group experiment, an experiment mark is created for every part student in the related group. But an experiment mark can be created manually if needed. + After creating a group experiment, an experiment mark is created for every part student in the related group. + But an experiment mark can be created manually if needed.

    -
    - Create -
    +
    Create
    -

    - Appointment -

    +

    Appointment

    This table shows all appointments in your active semester.

    - You can create an appointment for a group experiment by specifying a date which can be changed by the assistant(s) of the related semester experiment after communicating with the students. The date is only a first proposal. + You can create an appointment for a group experiment by specifying a date which can be changed by the assistant(s) of the related semester experiment after communicating with the students. + The date is only a first proposal.

    - A "special" appointment means that the students prefer the appointment to be in the non-lecture period of the semester. This is not enforced internally. + A "special" appointment means that the students prefer the appointment to be in the non-lecture period of the semester. + This is not enforced internally.

    - If the related semester experiment only has one assistant, then this assistant is assigned automatically during creation. Otherwise, you have to assign one responsible assistant. + If the related semester experiment only has one assistant, then this assistant is assigned automatically during creation. + Otherwise, you have to assign one responsible assistant.

    -

    - Experiment Mark -

    +

    Experiment Mark

    This table shows all experiment marks in your active semester.

    - An experiment mark is assigned to a part student for one group experiment. Although students work in groups, they get individual marks, not group marks. + An experiment mark is assigned to a part student for one group experiment. + Although students work in groups, they get individual marks, not group marks.

    - After creating a group experiment, an experiment mark is created for every part student in the related group. But an experiment mark can be created manually if needed. + After creating a group experiment, an experiment mark is created for every part student in the related group. + But an experiment mark can be created manually if needed.

    - Experiment marks consist of oral and protocol marks and are assigned by the responsible assistant(s). But admins can change marks, too. The columns "Assistant" and "Admin" keep track of the last assistant or admin that changed the experiment mark. + Experiment marks consist of oral and protocol marks and are assigned by the responsible assistant(s). + But admins can change marks, too. + The columns "Assistant" and "Admin" keep track of the last assistant or admin that changed the experiment mark.

    - The column "Final Experiment Mark" shows the automatically calculated student's final mark for this experiment. This mark is calculated with respect to the weights of the related semester experiment. + The column "Final Experiment Mark" shows the automatically calculated student's final mark for this experiment. + This mark is calculated with respect to the weights of the related semester experiment.

    -

    - Experiment -

    + + +

    Docs

    +

    This is a link which leads you to this page.

    + +

    User settings

    + In the user settings, You can change your active semester, user information and password. + Don't forget to click on Save after changing any option.

    -

    - Semester Experiment -

    +

    Active semester

    + An active semester is the semester you are working in. + All shown experiment marks and appointments are in your active semester. + By default as a new assistant, your active semester should be the latest semester. +

    +

    + If you see a warning that you are in an old semester, then you should change your active semester in the user settings. + You should only work in an old semester if there are still experiment marks to be set in the old semester.

    -

    - Semester -

    -

    -

    - -

    - Part -

    -

    -

    - -

    - Assistant -

    -

    -

    - -

    - Admin -

    -

    -

    - -

    - User -

    -

    -

    - -

    - Program -

    -

    -

    - -

    - Import -

    -

    -

    - -

    - Actions -

    -

    -

    - -

    - Analysis -

    -

    -

    - -

    - Docs -

    -

    - This is a link which leads you to this page. -

    - -

    - User settings -

    -

    - In the user settings, You can change your active semester, user information and password. Don't forget to click on Save after changing any option. -

    - -

    - Active semester -

    -

    - An active semester is the semester you are working in. All shown experiment marks and appointments are in your active semester. By default as a new assistant, your active semester should be the latest semester. -

    -

    - If you see a warning that you are in an old semester, then you should change your active semester in the user settings. You should only work in an old semester if there are still experiment marks to be set in the old semester. -

    - -

    - User information -

    +

    User information

    Make sure that the fields Phone Number, Mobile Phone Number, Building and Room are filled and up to date, especially if you are a new assistant.

    -

    - Password -

    +

    Password

    - You can generate a new random password by checking the corresponding checkbox and then clicking on Save. You will be then logged out. Your new password is displayed above the login fields. Make sure that you save the password in a safe place. Using a free open source password manager like Bitwarden or KeepassXC is recommended. + You can generate a new random password by checking the corresponding checkbox and then clicking on Save. + You will be then logged out. + Your new password is displayed above the login fields. + Make sure that you save the password in a safe place. + Using a free open source password manager like Bitwarden or KeepassXC is recommended.

    +

    If you forget your password, you can reset it using the CLI on the server.

    + + + +

    Tables

    + +

    Create a record

    - If you forget your password, you can reset it using the CLI on the server. + You can create a record in almost all tables. + To do so, click on the "Create" button at the top of a table. + Then, fill the form and click on the "Save" button. + Required fields are marks with a red star near their label.

    -

    - How-Tos -

    -

    - Start a new semester -

    +

    Edit a record

    + You can edit records of almost all tables. + To do so, click on the pen symbol on the left of a record. + Then, fill the form and click on the "Save" button. + Required fields are marks with a red star near their label.

    -

    - Table related -

    -

    - Create a record -

    +

    Show record details

    - You can create a record in almost all tables. To do so, click on the "Create" button at the top of a table. Then, fill the form and click on the "Save" button. Required fields are marks with a red star near their label. + Almost all tables have an eye symbol near a record which shows details for that record. + Some fields in this view are not shown in the table itself for horizontal space reasons.

    -

    - Edit a record -

    +

    Delete records

    - You can edit records of almost all tables. To do so, click on the pen symbol on the left of a record. Then, fill the form and click on the "Save" button. Required fields are marks with a red star near their label. + Almost all tables have a trash can symbol near records to delete them. + Deleting a record is not recommended and often not possible because of database dependencies. + If you really want to delete a record, then try to delete it by clicking on the trash can symbol. + If you get any errors related to some dependency, then delete dependent records when you are sure about it and then try to delete the record again.

    -

    - Show record details -

    +

    Go to record

    - Almost all tables have an eye symbol near a record which shows details for that record. Some fields in this view are not shown in the table itself for horizontal space reasons. + If a record in a table contains records of other tables, then these records are highlighted as a link. + Clicking on a record link takes you to its details. + You can edit this record then by clicking on the edit button at the top if needed.

    -

    - Delete records -

    +

    Sort by column

    - Almost all tables have a trash can symbol near records to delete them. Deleting a record is not recommended and often not possible because of database dependencies. If you really want to delete a record, then try to delete it by clicking on the trash can symbol. If you get any errors related to some dependency, then delete dependent records when you are sure about it and then try to delete the record again. + You can sort a table by a column by clicking on the column label if it is highlighted as a link. + Clicking on the column label again sorts in descending order.

    -

    - Go to record -

    +

    Apply table filter

    - If a record in a table contains records of other tables, then these records are highlighted as a link. Clicking on a record link takes you to its details. You can edit this record then by clicking on the edit button at the top if needed. + Some tables have filters. + Those table have a "Add Filter" button at the top which allows you to choose a filter to apply.

    +

    You can apply multiple filters at once!

    -

    - Sort by column -

    -

    - You can sort a table by a column by clicking on the column label if it is highlighted as a link. Clicking on the column label again sorts in descending order. -

    - -

    - Apply table filter -

    -

    -

    - -

    - Export table -

    +

    Export table

    + Most tables can be exported. Those tables have an "Export button" at the top which exports the table as a CSV file.

    +

    Exporting a table respects the applied filters.