swer
This commit is contained in:
parent
7caeca7ab8
commit
1c65005b0a
@ -50,7 +50,7 @@
|
|||||||
"Jan-Kowalski": {
|
"Jan-Kowalski": {
|
||||||
"bad_frekwencja": 2,
|
"bad_frekwencja": 2,
|
||||||
"good_frekwencja": 11,
|
"good_frekwencja": 11,
|
||||||
"dobra_frekwencja": 10,
|
"dobra_frekwencja": 123,
|
||||||
"aktywnosc": 1,
|
"aktywnosc": 1,
|
||||||
"sprawdzian": 3
|
"sprawdzian": 3
|
||||||
},
|
},
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nazwa": "zla_frekwencja",
|
"nazwa": "zla_frekwencja",
|
||||||
|
|
||||||
"punkty": -10
|
"punkty": -10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -15,5 +14,9 @@
|
|||||||
{
|
{
|
||||||
"nazwa": "sprawdzian",
|
"nazwa": "sprawdzian",
|
||||||
"punkty": -20
|
"punkty": -20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nazwa": "siema",
|
||||||
|
"punkty": 20
|
||||||
}
|
}
|
||||||
]
|
]
|
76
style.css
76
style.css
@ -4,7 +4,6 @@ body {
|
|||||||
margin: 20px;
|
margin: 20px;
|
||||||
background-color: #f4f4f9;
|
background-color: #f4f4f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@ -13,18 +12,15 @@ body {
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
select, input {
|
select, input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -32,7 +28,6 @@ select, input {
|
|||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
@ -43,7 +38,6 @@ button {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
background-color: #0056b3;
|
background-color: #0056b3;
|
||||||
}
|
}
|
||||||
@ -54,7 +48,6 @@ button:hover {
|
|||||||
gap: 10px;
|
gap: 10px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs button {
|
.tabs button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border: none;
|
border: none;
|
||||||
@ -64,29 +57,68 @@ button:hover {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs button:hover {
|
.tabs button:hover {
|
||||||
background-color: #0056b3;
|
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 {
|
#criteria-list div {
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
}
|
|
||||||
|
|
||||||
/* Formularze */
|
|
||||||
form {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
form label {
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
form input, form select {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user