Add Font Awesome icons and update stylesheet links in task templates

This commit is contained in:
2024-12-09 13:52:27 +01:00
parent f140d4ecbd
commit 585f225262
4 changed files with 14 additions and 13 deletions

View File

@@ -197,20 +197,20 @@
"layout": { "layout": {
"style.css": { "style.css": {
"type": "-", "type": "-",
"size": 17399, "size": 17428,
"lmtime": 1733433255673, "lmtime": 1733687831935,
"modified": false "modified": false
}, },
"style.css.map": { "style.css.map": {
"type": "-", "type": "-",
"size": 31271, "size": 31290,
"lmtime": 1733433255673, "lmtime": 1733687831935,
"modified": false "modified": false
}, },
"style.scss": { "style.scss": {
"type": "-", "type": "-",
"size": 21687, "size": 21703,
"lmtime": 1733433255539, "lmtime": 1733687831811,
"modified": false "modified": false
} }
}, },
@@ -362,8 +362,8 @@
}, },
"main-view.php": { "main-view.php": {
"type": "-", "type": "-",
"size": 13208, "size": 13164,
"lmtime": 1733421800974, "lmtime": 1733688111773,
"modified": false "modified": false
}, },
"operation-edit.php": { "operation-edit.php": {

View File

@@ -27,6 +27,7 @@
<link rel="stylesheet" type="text/css" href="/libraries/jquery-confirm/jquery-confirm.min.css"> <link rel="stylesheet" type="text/css" href="/libraries/jquery-confirm/jquery-confirm.min.css">
<link rel="stylesheet" type="text/css" href="/libraries/select2/css/select2.min.css"> <link rel="stylesheet" type="text/css" href="/libraries/select2/css/select2.min.css">
<link rel="stylesheet" type="text/css" href="/libraries/select2/css/select2-bootstrap-5-theme.min.css"> <link rel="stylesheet" type="text/css" href="/libraries/select2/css/select2-bootstrap-5-theme.min.css">
<link rel="stylesheet" type="text/css" href="/libraries/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="/layout/style.css"> <link rel="stylesheet" type="text/css" href="/layout/style.css">
</head> </head>
<body class="logged"> <body class="logged">

View File

@@ -76,10 +76,10 @@
<div class="dates box"> <div class="dates box">
<h3>Termin</h3> <h3>Termin</h3>
<? if ( $this -> task['date_start'] ):?> <? if ( $this -> task['date_start'] ):?>
<div class="date_start"><i class="fa-regular fa-calendar"></i><?= $this -> task['date_start'];?></div> <div class="date_start"><i class="fa fa-regular fa-calendar"></i><?= $this -> task['date_start'];?></div>
<? endif;?> <? endif;?>
<? if ( $this -> task['date_end'] ):?> <? if ( $this -> task['date_end'] ):?>
<div class="date_end <? if ( $this -> task['status'] != 2 and $this -> task['date_end'] == date( 'Y-m-d' ) ):?> warning<? endif;?> <? if ( $this -> task['status'] != 2 and $this -> task['date_end'] < date( 'Y-m-d' ) ):?> dangerx<? endif;?>"><i class="fa-regular fa-calendar"></i><?= $this -> task['date_end'];?></div> <div class="date_end <? if ( $this -> task['status'] != 2 and $this -> task['date_end'] == date( 'Y-m-d' ) ):?> warning<? endif;?> <? if ( $this -> task['status'] != 2 and $this -> task['date_end'] < date( 'Y-m-d' ) ):?> dangerx<? endif;?>"><i class="fa fa-regular fa-calendar"></i><?= $this -> task['date_end'];?></div>
<? endif;?> <? endif;?>
</div> </div>
<div class="client box"> <div class="client box">

View File

@@ -15,10 +15,10 @@
<? if ( $this -> task['date_start'] or $this -> task['date_end'] ):?> <? if ( $this -> task['date_start'] or $this -> task['date_end'] ):?>
<div class="dates"> <div class="dates">
<? if ( $this -> task['date_start'] ):?> <? if ( $this -> task['date_start'] ):?>
<div class="date_start"><i class="fa-regular fa-calendar"></i><?= $this -> task['date_start'];?></div> <div class="date_start"><i class="fa fa-regular fa-calendar"></i><?= $this -> task['date_start'];?></div>
<? endif;?> <? endif;?>
<? if ( $this -> task['date_end'] ):?> <? if ( $this -> task['date_end'] ):?>
<div class="date_end <? if ( $this -> task['status'] != 2 and $this -> task['date_end'] == date( 'Y-m-d' ) ):?> warning<? endif;?> <? if ( $this -> task['status'] != 2 and $this -> task['date_end'] < date( 'Y-m-d' ) ):?> danger<? endif;?>"><i class="fa-regular fa-calendar"></i><?= $this -> task['date_end'];?></div> <div class="date_end <? if ( $this -> task['status'] != 2 and $this -> task['date_end'] == date( 'Y-m-d' ) ):?> warning<? endif;?> <? if ( $this -> task['status'] != 2 and $this -> task['date_end'] < date( 'Y-m-d' ) ):?> danger<? endif;?>"><i class="fa fa-regular fa-calendar"></i><?= $this -> task['date_end'];?></div>
<? endif;?> <? endif;?>
</div> </div>
<? endif;?> <? endif;?>
@@ -47,7 +47,7 @@
</a> </a>
<? if ( $this -> task['recursively'] ):?> <? if ( $this -> task['recursively'] ):?>
<div class="recursively"> <div class="recursively">
<i class="fa-solid fa-repeat"></i> <i class="fa fa-solid fa-repeat"></i>
</div> </div>
<? endif;?> <? endif;?>
</div> </div>