This commit is contained in:
rzodkiew 2025-02-14 11:33:27 +01:00
parent 7caeca7ab8
commit 1c65005b0a
3 changed files with 59 additions and 24 deletions

View File

@ -50,7 +50,7 @@
"Jan-Kowalski": {
"bad_frekwencja": 2,
"good_frekwencja": 11,
"dobra_frekwencja": 10,
"dobra_frekwencja": 123,
"aktywnosc": 1,
"sprawdzian": 3
},

View File

@ -5,7 +5,6 @@
},
{
"nazwa": "zla_frekwencja",
"punkty": -10
},
{
@ -15,5 +14,9 @@
{
"nazwa": "sprawdzian",
"punkty": -20
},
{
"nazwa": "siema",
"punkty": 20
}
]

View File

@ -4,7 +4,6 @@ body {
margin: 20px;
background-color: #f4f4f9;
}
.container {
max-width: 800px;
margin: 0 auto;
@ -13,18 +12,15 @@ body {
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #333;
}
label {
display: block;
margin-top: 20px;
font-weight: bold;
}
select, input {
width: 100%;
padding: 10px;
@ -32,7 +28,6 @@ select, input {
border: 1px solid #ccc;
border-radius: 4px;
}
button {
display: block;
margin: 20px auto;
@ -43,7 +38,6 @@ button {
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
@ -54,7 +48,6 @@ button:hover {
gap: 10px;
margin-bottom: 20px;
}
.tabs button {
padding: 10px;
border: none;
@ -64,29 +57,68 @@ button:hover {
cursor: pointer;
flex: 1;
}
.tabs button:hover {
background-color: #0056b3;
}
/* Lista kryteriów */
/* Lista uczniów */
#students-list details {
margin-bottom: 15px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #f9f9f9;
}
#students-list summary {
font-weight: bold;
cursor: pointer;
}
.criteria-list {
margin-top: 10px;
}
.criteria-item {
display: flex;
align-items: center;
margin-bottom: 5px;
}
.criteria-item span {
margin-right: 10px;
}
.points-info {
color: #555;
font-size: 0.9em;
}
input[type="number"] {
width: 60px;
padding: 5px;
margin-left: 10px;
}
/* Statystyki */
#stats-content .stat-item {
display: flex;
justify-content: space-between;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #f9f9f9;
}
#stats-content .points {
font-weight: bold;
}
#stats-content .positive {
color: green;
}
#stats-content .negative {
color: red;
}
/* Zarządzanie kryteriami */
#criteria-list div {
margin: 10px 0;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #f9f9f9;
}
/* Formularze */
form {
margin-top: 20px;
}
form label {
margin-top: 10px;
}
form input, form select {
margin-bottom: 10px;
}