mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
0f7c341086
Former-commit-id: 9d1c428dd9594794fe29ee79b17b443013f4f5c7 [formerly 31012159e50a9214494cb5826040a2022c6565c8] [formerly 511ef3ccf2b74c6f7392081a7e931de695e8d9f9 [formerly 8a1a160197
]]
Former-commit-id: 9ed6b707236a300d1154bfd0db8dd3be3dca5f20 [formerly ea39ffbf2640b19c5eaa92d46e058b8e34c304cd]
Former-commit-id: b2bffb84cb2f867ccb80e2232d302888600be2a6
50 lines
2.1 KiB
HTML
50 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
|
<title>File Manager</title>
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ .BaseURL }}/_/img/icons/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ .BaseURL }}/_/img/icons/favicon-16x16.png">
|
|
<!--[if IE]><link rel="shortcut icon" href="/static/img/icons/favicon.ico"><![endif]-->
|
|
<!-- Add to home screen for Android and modern mobile browsers -->
|
|
<link rel="manifest" href="{{ .BaseURL }}/_/manifest.json">
|
|
<meta name="theme-color" content="#4DBA87">
|
|
|
|
<!-- Add to home screen for Safari on iOS -->
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="apple-mobile-web-app-title" content="assets">
|
|
<link rel="apple-touch-icon" href="{{ .BaseURL }}/_/img/icons/apple-touch-icon-152x152.png">
|
|
<!-- Add to home screen for Windows -->
|
|
<meta name="msapplication-TileImage" content="{{ .BaseURL }}/_/img/icons/msapplication-icon-144x144.png">
|
|
<meta name="msapplication-TileColor" content="#000000">
|
|
<% for (var chunk of webpack.chunks) {
|
|
for (var file of chunk.files) {
|
|
if (file.match(/\.(js|css)$/)) { %>
|
|
<link rel="<%= chunk.initial?'preload':'prefetch' %>" href="{{ .BaseURL }}/<%= file.replace('static', '') %>" as="<%= file.match(/\.css$/)?'style':'script' %>"><% }}} %>
|
|
|
|
|
|
{{- if ne .User.StyleSheet "" -}}
|
|
<style>{{ CSS .User.StyleSheet }}</style>
|
|
{{- end -}}
|
|
</head>
|
|
<body>
|
|
<script>
|
|
var info = {
|
|
user: JSON.parse('{{ Marshal .User }}'),
|
|
page: JSON.parse('{{ Marshal . }}'),
|
|
webdavURL: "{{ .WebDavURL }}",
|
|
baseURL: "{{.BaseURL}}"
|
|
}
|
|
</script>
|
|
<div id="app">
|
|
<!-- TODO: loading -->
|
|
This is your fallback content in case JavaScript fails to load.
|
|
</div>
|
|
|
|
<%= htmlWebpackPlugin.options.serviceWorkerLoader %>
|
|
</body>
|
|
</html>
|