Some optimizations. Improve font loading and embed global.css directly

This commit is contained in:
Wim Brand
2019-02-18 13:37:41 +01:00
parent 92ae4d0d6b
commit 287b5af6fb
23 changed files with 50 additions and 17 deletions

View File

@@ -2,6 +2,7 @@
<html>
<head>
{{template "meta_tags" "File Manager"}}
{{template "user_style" .}}
<script type="text/javascript">var apiEndpoint = '{{.APIEndpoint}}';</script>
<style>
.file_manager {

View File

@@ -3,6 +3,7 @@
<html>
<head>
{{template "meta_tags" "Login"}}
{{template "user_style" .}}
<script type="text/javascript">var apiEndpoint = '{{.APIEndpoint}}';</script>
</head>
<body>

View File

@@ -2,6 +2,7 @@
<html>
<head>
{{template "meta_tags" "Logging out..."}}
{{template "user_style" .}}
</head>
<body>
<div id='body' class="body">

View File

@@ -2,6 +2,7 @@
<html>
<head>
{{template "meta_tags" "Register"}}
{{template "user_style" .}}
<script type="text/javascript">var apiEndpoint = '{{.APIEndpoint}}';</script>
<script src='https://www.google.com/recaptcha/api.js'></script>
</head>

View File

@@ -2,6 +2,7 @@
<html>
<head>
{{template "meta_tags" "Files"}}
{{template "user_style" .}}
<script type="text/javascript">var apiEndpoint = '{{.APIEndpoint}}';</script>
</head>

View File

@@ -2,6 +2,7 @@
<html>
<head>
{{template "meta_tags" .Username}}
{{template "user_style" .}}
<script type="text/javascript">var apiEndpoint = '{{.APIEndpoint}}';</script>
</head>

View File

@@ -2,6 +2,7 @@
<html>
<head>
{{template "meta_tags" "Lists"}}
{{template "user_style" .}}
<script type="text/javascript">var apiEndpoint = '{{.APIEndpoint}}';</script>
</head>

View File

@@ -2,6 +2,7 @@
<html>
<head>
{{template "meta_tags" .Username}}
{{template "user_style" .}}
<script type="text/javascript">var apiEndpoint = '{{.APIEndpoint}}';</script>
</head>