Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
archivarius
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Andrey Kuvshinov
archivarius
Commits
2d65ce8f
Commit
2d65ce8f
authored
Oct 08, 2024
by
AK
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fontawesone
parent
63ccf05f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
46 additions
and
5 deletions
+46
-5
main.js
frontend/main.js
+1
-1
package.json
frontend/package.json
+1
-0
main.css
frontend/styles/main.css
+2
-2
toolbar.css
frontend/styles/toolbar.css
+34
-0
vite.config.js
frontend/vite.config.js
+5
-0
main.php
main.php
+2
-1
tpl_functions.php
tpl_functions.php
+1
-1
No files found.
frontend/main.js
View file @
2d65ce8f
//styles
import
'./styles/fonts.css'
import
'./styles/reset.css'
...
...
@@ -14,7 +15,6 @@ import './styles/login.css'
import
'./styles/toolbar.css'
import
'./styles/breadcrumbs.css'
import
'./styles/admin.css'
//import './styles/fontawesone.css'
...
...
frontend/package.json
View file @
2d65ce8f
...
...
@@ -16,6 +16,7 @@
"vite"
:
"^5.2.11"
},
"dependencies"
:
{
"@fortawesome/fontawesome-free"
:
"^6.6.0"
,
"nouislider"
:
"^15.8.1"
,
"reset-css"
:
"^5.0.2"
}
...
...
frontend/styles/main.css
View file @
2d65ce8f
...
...
@@ -217,9 +217,9 @@ footer p {
}
/**
li.top{
li
.top
{
display
:
none
;
}
*/
}
.scroll-up
a
{
color
:
#fff
;
...
...
frontend/styles/toolbar.css
View file @
2d65ce8f
...
...
@@ -95,3 +95,37 @@
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
;
}
frontend/vite.config.js
View file @
2d65ce8f
...
...
@@ -20,6 +20,7 @@ export default defineConfig({
}
],
build
:
{
// emit manifest so PHP can find the hashed files
minify
:
true
,
...
...
@@ -50,4 +51,8 @@ export default defineConfig({
strictPort
:
true
,
port
:
5173
},
});
main.php
View file @
2d65ce8f
...
...
@@ -19,7 +19,8 @@ $showSidebar = $hasSidebar && ($ACT == 'show');
<?
//endif?>
<
title
><?
php
tpl_pagetitle
();
?>
[
<?php
echo
strip_tags
(
$conf
[
'title'
]);
?>
]
</title>
<?=
$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>
<body
data-page-id=
"
<?php
echo
$ID
?>
"
>
...
...
tpl_functions.php
View file @
2d65ce8f
...
...
@@ -2,7 +2,7 @@
// 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_ENTRY_POINT'
,
'/main.js'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment