Add Font Awesome files

The css and ttf files for font awesome icons has been included in
assets folder. With modified build script to copy at qmake compile.
This commit is contained in:
rottencandy 2019-07-13 16:08:19 +05:30
parent ffc1a81f5a
commit 095c919999
9 changed files with 9028 additions and 2 deletions

4359
webui-src/app/assets/css/fontawesome.css vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
/*!
* Font Awesome Free 5.9.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face {
font-family: 'Font Awesome 5 Free';
font-style: normal;
font-weight: 900;
font-display: auto;
src: url("../webfonts/fa-solid-900.eot");
src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"), url("../webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
.fa,
.fas {
font-family: 'Font Awesome 5 Free';
font-weight: 900; }

View File

@ -4,6 +4,8 @@
<meta charset="utf-8">
<title>rswebui6</title>
<link rel="stylesheet" href="app.css">
<link rel="stylesheet" href="css/fontawesome.css">
<link rel="stylesheet" href="css/solid.css">
<script src="app.js"></script>
</head>
<body onload="load_ui();">

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 820 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -48,8 +48,8 @@ if [ "$2" = "" ]||[ "$2" = "app.css" ]; then
fi
if [ "$2" = "" ]||[ "$2" = "index.html" ]; then
echo copy index.html
cp $src/app/assets/index.html $publicdest/index.html
echo copy assets folder
cp -r $src/app/assets/* $publicdest/
fi
if [ "$2" != "" ]&&[ "$3" != "" ]; then