Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
srv/web/ipfire/html/blob.gif
#srv/web/ipfire/html/captive
#srv/web/ipfire/html/captive/assets
srv/web/ipfire/html/blob.gif
#srv/web/ipfire/html/captive
#srv/web/ipfire/html/captive/assets
+srv/web/ipfire/html/captive/assets/Ubuntu-L.ttf
+srv/web/ipfire/html/captive/assets/Ubuntu-M.ttf
+srv/web/ipfire/html/captive/assets/Ubuntu-R.ttf
srv/web/ipfire/html/captive/assets/bootstrap-grid.min.css
srv/web/ipfire/html/captive/assets/bootstrap-grid.min.css.map
srv/web/ipfire/html/captive/assets/bootstrap-reboot.min.css
srv/web/ipfire/html/captive/assets/bootstrap-grid.min.css
srv/web/ipfire/html/captive/assets/bootstrap-grid.min.css.map
srv/web/ipfire/html/captive/assets/bootstrap-reboot.min.css
+@font-face {
+ font-family: "Ubuntu";
+ font-weight: 300;
+ src: local("Ubuntu Light"), local("Ubuntu-Light"), url("Ubuntu-L.ttf") format("truetype");
+}
+
+@font-face {
+ font-family: "Ubuntu";
+ font-weight: 400;
+ src: local("Ubuntu Regular"), local("Ubuntu-Regular"), url("Ubuntu-R.ttf") format("truetype");
+}
+
+@font-face {
+ font-family: "Ubuntu";
+ font-weight: 500;
+ src: local("Ubuntu Medium"), local("Ubuntu-Medium"), url("Ubuntu-M.ttf") format("truetype");
+}
+
body {
background-image: url("../cgi-bin/logo.cgi");
background-size: 100%;
body {
background-image: url("../cgi-bin/logo.cgi");
background-size: 100%;
- <link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500" rel="stylesheet">
-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
ln -svf --relative /usr/share/bootstrap/css/bootstrap-reboot.min.css.map \
/srv/web/ipfire/html/captive/assets/bootstrap-reboot.min.css.map
ln -svf --relative /usr/share/bootstrap/css/bootstrap-reboot.min.css.map \
/srv/web/ipfire/html/captive/assets/bootstrap-reboot.min.css.map
+ # Captive Portal Fonts
+ ln -svf --relative /usr/share/fonts/Ubuntu-L.ttf \
+ /srv/web/ipfire/html/captive/assets/Ubuntu-L.ttf
+ ln -svf --relative /usr/share/fonts/Ubuntu-M.ttf \
+ /srv/web/ipfire/html/captive/assets/Ubuntu-M.ttf
+ ln -svf --relative /usr/share/fonts/Ubuntu-R.ttf \
+ /srv/web/ipfire/html/captive/assets/Ubuntu-R.ttf
+