Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
kry008 | 0dc11bcae9 | |
kry008 | fece680b00 | |
kry008 | 8fd5efde21 | |
kry008 | 5819d6220a | |
kry008 | f1e5fa728c |
|
@ -1,3 +1,7 @@
|
||||||
config.php
|
config.php
|
||||||
.vscode
|
.vscode
|
||||||
.vscode/*
|
.vscode/*
|
||||||
|
index.php.temp
|
||||||
|
index.php
|
||||||
|
index.html
|
||||||
|
_install.php
|
41
README.md
41
README.md
|
@ -13,7 +13,48 @@ A simple application to manage attendance lists
|
||||||
1. Add whole timeframes in one click
|
1. Add whole timeframes in one click
|
||||||
1. Counting days of remote work
|
1. Counting days of remote work
|
||||||
|
|
||||||
|
## db.sql
|
||||||
|
Holidays that occur in Poland are added to the db.sql file. If you want to replace it with your country, edit it as follows: (lines form **77**)
|
||||||
|
```sql
|
||||||
|
INSERT INTO
|
||||||
|
`dniwolne` (`id`, `data`, `nazwaSwieta`, `aktywne`)
|
||||||
|
VALUES
|
||||||
|
(
|
||||||
|
'YYYY-MM-DD',
|
||||||
|
'Event 1',
|
||||||
|
1
|
||||||
|
),
|
||||||
|
(
|
||||||
|
'YYYY-MM-DD',
|
||||||
|
'Event 2',
|
||||||
|
1
|
||||||
|
),
|
||||||
|
...
|
||||||
|
(
|
||||||
|
'YYYY-MM-DD',
|
||||||
|
'Event N',
|
||||||
|
1
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
## SCREENSHOTS
|
||||||
|
|
||||||
|
### Login
|
||||||
|
![Login](https://git.kry008.xyz/kry008/Attendance-list/raw/branch/main/README_IMG/login.png)
|
||||||
|
|
||||||
|
### Main page
|
||||||
|
| Admin | User |
|
||||||
|
| --- | --- |
|
||||||
|
| ![Admin](https://git.kry008.xyz/kry008/Attendance-list/raw/branch/main/README_IMG/admin.png) | ![User](https://git.kry008.xyz/kry008/Attendance-list/raw/branch/main/README_IMG/user.png) |
|
||||||
|
|
||||||
|
### Reports
|
||||||
|
![Reports](https://git.kry008.xyz/kry008/Attendance-list/raw/branch/main/README_IMG/reports1.png)
|
||||||
|
![Reports](https://git.kry008.xyz/kry008/Attendance-list/raw/branch/main/README_IMG/reports2.png)
|
||||||
|
![Reports](https://git.kry008.xyz/kry008/Attendance-list/raw/branch/main/README_IMG/reports3.png)
|
||||||
|
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
1. Multi-language support
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
Attendance-list © 2023 by kry008 is licensed under Attribution-NonCommercial-NoDerivatives 4.0 International
|
Attendance-list © 2023 by kry008 is licensed under Attribution-NonCommercial-NoDerivatives 4.0 International
|
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
After Width: | Height: | Size: 150 KiB |
Binary file not shown.
After Width: | Height: | Size: 143 KiB |
Binary file not shown.
After Width: | Height: | Size: 161 KiB |
Binary file not shown.
After Width: | Height: | Size: 69 KiB |
20
db.sql
20
db.sql
|
@ -78,9 +78,23 @@ INSERT INTO
|
||||||
`dniwolne` (`id`, `data`, `nazwaSwieta`, `aktywne`)
|
`dniwolne` (`id`, `data`, `nazwaSwieta`, `aktywne`)
|
||||||
VALUES
|
VALUES
|
||||||
(
|
(
|
||||||
1,
|
'2023-11-05',
|
||||||
'2023-08-15',
|
'Wszystkich Świętych',
|
||||||
'Wniebowzięcie Najświętszej Maryi Panny',
|
1
|
||||||
|
),
|
||||||
|
(
|
||||||
|
'2023-11-11',
|
||||||
|
'Narodowe Święto Niepodległości',
|
||||||
|
1
|
||||||
|
),
|
||||||
|
(
|
||||||
|
'2023-12-25',
|
||||||
|
'pierwszy dzień Bożego Narodzenia',
|
||||||
|
1
|
||||||
|
),
|
||||||
|
(
|
||||||
|
'2023-12-26',
|
||||||
|
'drugi dzień Bożego Narodzenia',
|
||||||
1
|
1
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,10 @@ require_once 'checkLogin.php';
|
||||||
<label for="end">Zakończenie pracy</label>
|
<label for="end">Zakończenie pracy</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="time" name="end" id="end" value="<?php echo date('H:00'); ?>" max="<?php echo date('TH:i'); ?>">
|
<?php
|
||||||
|
$h = date('H')+1;
|
||||||
|
?>
|
||||||
|
<input type="time" name="end" id="end" value="<?php echo $h.":00" ?>" max="<?php echo $h.":00" ?>">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in New Issue