Add nowrap class to style.scss and update main-view.php for text formatting

This commit is contained in:
2024-11-10 11:20:48 +01:00
parent 553feb3e8b
commit a91c2275b1
7 changed files with 29 additions and 11 deletions

View File

@@ -25,7 +25,4 @@ RewriteCond %{REQUEST_URI} !^(.*)/upload/(.*) [NC]
RewriteRule ^([^/]*)/([^/]*)/(.*)$ index.php?module=$1&action=$2&$3 [L]
RewriteRule ^logowanie$ index.php?module=users&action=login_form [L]
RewriteRule ^finances/tags.json$ index.php?module=finances&action=tags_json [L]
<FilesMatch "\.(php4|php5|php3|php2|php|phtml)$">
SetHandler application/x-lsphp74 /opt/alt/php74 usr/bin/lsphp
</FilesMatch>
RewriteRule ^finances/tags.json$ index.php?module=finances&action=tags_json [L]

View File

@@ -22,8 +22,8 @@
},
"config.php": {
"type": "-",
"size": 353,
"lmtime": 1731232586056,
"size": 347,
"lmtime": 1731233601663,
"modified": false
},
"cron.php": {

17
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
"liveSassCompile.settings.formats": [
{
"format": "compressed",
"extensionName": ".css",
"savePath": "",
"savePathSegmentKeys": null,
"savePathReplaceSegmentsWith": null
}
],
"liveSassCompile.settings.generateMap": true,
"liveSassCompile.settings.autoprefix": "defaults",
"liveSassCompile.settings.watchOnLaunch": true,
"liveSassCompile.settings.includeItems": [
"/layout/style.scss",
]
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -4,6 +4,10 @@ $cBlue: #6690F4;
animation: mymove 3s infinite;
}
.nowrap {
white-space: nowrap;
}
@keyframes mymove {
50% {
opacity: .33;

View File

@@ -61,8 +61,8 @@
<a href="/finances/main_view/tag-clear=true" class="btn btn-sm btn-success"><i class="fa fa-bars"></i>wszystkie</a>
<?
$max = $this->tags[0]['count'];
$min = $this->tags[count($this->tags) - 1]['count'];
if (count($this->tags) === 1)
$min = is_array( $this -> tags ) ? $this -> tags[ count( $this -> tags ) - 1 ]['count'] : 0;
if ( is_array( $thi -> tags ) and count( $this->tags) === 1)
$min = 0;
$step = ($max - $min) / 10;
?>
@@ -268,7 +268,7 @@
<tbody>
<? if ( is_array( $this -> operations_list ) ): foreach ( $this -> operations_list as $operation ):?>
<tr>
<td class="text-right">
<td class="text-right nowrap">
<?= $operation['date'];?>
</td>
<td class="text-right <?= $operation['amount'] > 0 ? 'text-success' : 'text-danger';?>">