From e2eac05ab50a1ad57763e5703669b149e7ff41f8 Mon Sep 17 00:00:00 2001 From: konradm Date: Fri, 18 Oct 2024 10:30:42 +0200 Subject: [PATCH] select-roles added --- css/style.css | 12 +++++++++++- data/criteria.json | 4 ++++ index.html | 7 +++++++ js/script.js | 14 +++++++++++++- 4 files changed, 35 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 7b31771..6d73449 100644 --- a/css/style.css +++ b/css/style.css @@ -53,7 +53,10 @@ tr:nth-child(even) { /* Stylizacja kontenera klasy */ .select-class { - margin-top: 20px; + text-align: center; +} + +.select-role { text-align: center; } @@ -64,6 +67,13 @@ tr:nth-child(even) { border-radius: 4px; } +.select-role select { + padding: 5px; + font-size: 16px; + border: 1px solid #ccc; + border-radius: 4px; +} + /* Stylizacja nagłówków */ h1, h2, h3 { text-align: center; diff --git a/data/criteria.json b/data/criteria.json index c726e17..e9aac84 100644 --- a/data/criteria.json +++ b/data/criteria.json @@ -100,6 +100,7 @@ ], "roles": { "teacher": { + "name": "Teacher", "criteria_ids": [ 1, 2, @@ -111,6 +112,7 @@ ] }, "homeroom_teacher": { + "name": "Homeroom Teacher", "criteria_ids": [ 1, 2, @@ -123,6 +125,7 @@ ] }, "principal": { + "name": "Principal", "criteria_ids": [ 8, 9, @@ -131,6 +134,7 @@ ] }, "student": { + "name": "Student", "criteria_ids": [ 12, 13 diff --git a/index.html b/index.html index a4a4215..c96e590 100644 --- a/index.html +++ b/index.html @@ -112,6 +112,13 @@ +
+

Wybierz role:

+ +
+

Wybierz klasę: