Commit 2d65ce8f authored by AK's avatar AK

add fontawesone

parent 63ccf05f
//styles //styles
import './styles/fonts.css' import './styles/fonts.css'
import './styles/reset.css' import './styles/reset.css'
...@@ -14,7 +15,6 @@ import './styles/login.css' ...@@ -14,7 +15,6 @@ import './styles/login.css'
import './styles/toolbar.css' import './styles/toolbar.css'
import './styles/breadcrumbs.css' import './styles/breadcrumbs.css'
import './styles/admin.css' import './styles/admin.css'
//import './styles/fontawesone.css' //import './styles/fontawesone.css'
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"vite": "^5.2.11" "vite": "^5.2.11"
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^6.6.0",
"nouislider": "^15.8.1", "nouislider": "^15.8.1",
"reset-css": "^5.0.2" "reset-css": "^5.0.2"
} }
......
...@@ -217,9 +217,9 @@ footer p { ...@@ -217,9 +217,9 @@ footer p {
} }
/**li.top{ li.top{
display: none; display: none;
}*/ }
.scroll-up a{ .scroll-up a{
color: #fff; color: #fff;
......
...@@ -95,3 +95,37 @@ ...@@ -95,3 +95,37 @@
background-color: #c82333; /* Темнее цвет фона при наведении */ background-color: #c82333; /* Темнее цвет фона при наведении */
} }
button.uninstall, button.reinstall, button.disable, button.enable{
color: white; /* Цвет текста */
border: none; /* Без границы */
border-radius: 5px; /* Закругленные углы */
padding: 10px 15px; /* Отступы внутри кнопок */
margin-left: 10px; /* Отступ между кнопками */
cursor: pointer; /* Указатель при наведении */
transition: background-color 0.3s, transform 0.2s; /* Плавные эффекты */
}
button.uninstall, button.reinstall, button.disable{
background-color: #dc3545; /* Цвет фона для кнопки отмены */
}
button.enable{
background-color: #0056b3;
}
.actions.col{
margin: 22px 0;
}
.ui-menu {
background-color: #333;
color: white;
padding: 8px;
}
.ui-menu a{
color: white;
}
...@@ -20,6 +20,7 @@ export default defineConfig({ ...@@ -20,6 +20,7 @@ export default defineConfig({
} }
], ],
build: { build: {
// emit manifest so PHP can find the hashed files // emit manifest so PHP can find the hashed files
minify: true, minify: true,
...@@ -50,4 +51,8 @@ export default defineConfig({ ...@@ -50,4 +51,8 @@ export default defineConfig({
strictPort: true, strictPort: true,
port: 5173 port: 5173
}, },
}); });
...@@ -19,7 +19,8 @@ $showSidebar = $hasSidebar && ($ACT == 'show'); ...@@ -19,7 +19,8 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
<?//endif?> <?//endif?>
<title><?php tpl_pagetitle(); ?> [<?php echo strip_tags($conf['title']); ?>]</title> <title><?php tpl_pagetitle(); ?> [<?php echo strip_tags($conf['title']); ?>]</title>
<?=$frontend_str?> <?=$frontend_str?>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" /> <!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />-->
<link href="<?=tpl_basedir()?>/pub/fontawesome/css/all.min.css" rel="stylesheet" />
</head> </head>
<body data-page-id="<?php echo $ID ?>"> <body data-page-id="<?php echo $ID ?>">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Fallback script for compatibility with Bootstrap Wrapper and Icons plugins // Fallback script for compatibility with Bootstrap Wrapper and Icons plugins
define('VITE_ENV', 'prod'); define('VITE_ENV', 'dev');
define('VITE_SERVER', 'http://localhost:5173'); define('VITE_SERVER', 'http://localhost:5173');
define('VITE_ENTRY_POINT', '/main.js'); define('VITE_ENTRY_POINT', '/main.js');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment