add font-awesome
adds font-awesome to css folder and inserts the css into the html of the site we will use font-awesome for most icons Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
d6ace8a06d
commit
bba0023425
@ -15,6 +15,7 @@ sub get_index {
|
|||||||
<title>$nodename - Proxmox Virtual Environment</title>
|
<title>$nodename - Proxmox Virtual Environment</title>
|
||||||
<link rel="stylesheet" type="text/css" href="/pve2/ext6/theme-crisp/resources/theme-crisp-all.css" />
|
<link rel="stylesheet" type="text/css" href="/pve2/ext6/theme-crisp/resources/theme-crisp-all.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/pve2/ext6/crisp/resources/charts-all.css" />
|
<link rel="stylesheet" type="text/css" href="/pve2/ext6/crisp/resources/charts-all.css" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="/pve2/css/font-awesome.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/pve2/css/ext6-pve.css" />
|
<link rel="stylesheet" type="text/css" href="/pve2/css/ext6-pve.css" />
|
||||||
_EOD
|
_EOD
|
||||||
|
|
||||||
|
@ -23,4 +23,5 @@ WWWEXT4DIR=${WWWBASEDIR}/ext4
|
|||||||
WWWEXT6DIR=${WWWBASEDIR}/ext6
|
WWWEXT6DIR=${WWWBASEDIR}/ext6
|
||||||
WWWTOUCHDIR=${WWWBASEDIR}/touch
|
WWWTOUCHDIR=${WWWBASEDIR}/touch
|
||||||
WWWCSSDIR=${WWWBASEDIR}/css
|
WWWCSSDIR=${WWWBASEDIR}/css
|
||||||
|
WWWFONTSDIR=${WWWBASEDIR}/css/fonts
|
||||||
WWWJSDIR=${WWWBASEDIR}/js
|
WWWJSDIR=${WWWBASEDIR}/js
|
||||||
|
@ -3,9 +3,10 @@ include ../../defines.mk
|
|||||||
all:
|
all:
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: ext6-pve.css
|
install: ext6-pve.css font-awesome.css
|
||||||
install -d ${WWWCSSDIR}
|
install -d ${WWWCSSDIR}
|
||||||
install -m 0644 -o www-data -g www-data $? ${WWWCSSDIR}
|
install -m 0644 -o www-data -g www-data $? ${WWWCSSDIR}
|
||||||
|
set -e && ${MAKE} -C fonts install
|
||||||
|
|
||||||
.PHONY: distclean
|
.PHONY: distclean
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
@ -26,7 +26,14 @@
|
|||||||
|
|
||||||
/* adjust horizontal position of menu icons */
|
/* adjust horizontal position of menu icons */
|
||||||
.x-menu-item-icon-default {
|
.x-menu-item-icon-default {
|
||||||
left: 2px;
|
top: 5px;
|
||||||
|
left: 3px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* this gives a better placement for the font-awesome icons */
|
||||||
|
.x-btn-icon-el-default-toolbar-small {
|
||||||
|
height: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* icons for tree/snapshots/menus/etc.. */
|
/* icons for tree/snapshots/menus/etc.. */
|
||||||
|
2086
www/css/font-awesome.css
vendored
Normal file
2086
www/css/font-awesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
15
www/css/fonts/Makefile
Normal file
15
www/css/fonts/Makefile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
include ../../../defines.mk
|
||||||
|
|
||||||
|
all:
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
|
install: README fontawesome-webfont.ttf FontAwesome.otf fontawesome-webfont.woff2 fontawesome-webfont.svg fontawesome-webfont.woff fontawesome-webfont.eot
|
||||||
|
install -d ${WWWFONTSDIR}
|
||||||
|
install -m 0644 -o www-data -g www-data $? ${WWWFONTSDIR}
|
||||||
|
|
||||||
|
.PHONY: distclean
|
||||||
|
distclean: clean
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -rf *~
|
11
www/css/fonts/README
Normal file
11
www/css/fonts/README
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Font Awesome
|
||||||
|
from http://fontawesome.io/
|
||||||
|
|
||||||
|
The Font Awesome font is licensed under the SIL OFL 1.1:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
Font Awesome CSS, LESS, and Sass files are licensed under the MIT License:
|
||||||
|
https://opensource.org/licenses/mit-license.html
|
||||||
|
|
||||||
|
Font Awesome by Dave Gandy - http://fontawesome.io
|
||||||
|
Full details: http://fontawesome.io/license/
|
Loading…
Reference in New Issue
Block a user