diff --git a/advlabdb/templates/admin_import.jinja.html b/advlabdb/templates/admin_import.jinja.html index 57d8833..679511a 100644 --- a/advlabdb/templates/admin_import.jinja.html +++ b/advlabdb/templates/admin_import.jinja.html @@ -2,7 +2,7 @@ {% block content %} {% for error in form.file.errors %} -
+ {% endfor %} @@ -22,42 +22,24 @@

You can take a look at the file - + example_database_import.txt for an example.

Required manipulation using the web interface

-

- The following tables can not be imported from a file and have to be manipulated using the web interface. -

+

The following tables can not be imported from a file and have to be manipulated using the web interface.

Optional values

@@ -71,9 +53,7 @@ None of the mentioned ids in the import file is meant as a database id. The ids here only refer to the imported instances. The id in the database is assigned automatically.

-

- Here is the format of a table in the "Tables" section: -

+

Here is the format of a table in the "Tables" section:

Table

The type of attributes can be seen in the drawio file - - DB.drawio - which can be opened using - - diagrams.net - . Some attributes have constraints marked also in the drawio file. + DB.drawio which can be opened using + diagrams.net. Some attributes have constraints marked also in the drawio file.

Tables

Semester (only one!)
-
Part
+
+ Part +
-
Student
+
+ Student +
-
Group
+
+ Group +
-
PartStudent
+
+ PartStudent +
-
Experiment
+
+ Experiment +
-
GroupExperiment
+
+ GroupExperiment +
-
Appointment
+
+ Appointment +