mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 07:56:23 +00:00
Updates
* Updated screenshot in README.md, as well as replaced fb_share.png with the same image. * Removed 512px.png and replaced it with 512pxr.png (a round version) in manifest.json. * globals.v is now split into globals.v1 and globals.v2. The former for CSS and JS files, the latter for images and config files (manifest.json, etcetera). * All static images that are part of the layout will now have their URLs appended with globals.v2 (which means this does not include dynamically generated images such as thumbnails of uploaded files).
This commit is contained in:
parent
6cc6928c62
commit
1f6dfae78e
@ -1,6 +1,6 @@
|
||||
# lolisafe, a small safe worth protecting
|
||||
|
||||
![safe.fiery.me](https://the.fiery.me/oJJY.png)
|
||||
![safe.fiery.me](https://i.fiery.me/Rfay.png)
|
||||
|
||||
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/kanadeko/Kuro/master/LICENSE)
|
||||
[![Chat / Support](https://img.shields.io/badge/Chat%20%2F%20Support-discord-7289DA.svg?style=flat-square)](https://discord.gg/5g6vgwn)
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 369 KiB |
BIN
public/icons/512pxr.png
Normal file
BIN
public/icons/512pxr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 364 KiB |
@ -2,6 +2,12 @@
|
||||
"name": "safe.fiery.me",
|
||||
"short_name": "fiery.me",
|
||||
"description": "A pomf-like file uploading service that doesn't suck.",
|
||||
"background_color": "#232629",
|
||||
"theme_color": "#232629",
|
||||
"display": "standalone",
|
||||
"lang": "en-US",
|
||||
"orientation": "any",
|
||||
"start_url": "/",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icons/192px.png",
|
||||
@ -14,15 +20,9 @@
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icons/512px.png",
|
||||
"src": "/icons/512pxr.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#232629",
|
||||
"background_color": "#232629",
|
||||
"display": "standalone",
|
||||
"orientation": "any",
|
||||
"lang": "en-US",
|
||||
"start_url": "/"
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
BIN
public/images/fb_share.png
Normal file → Executable file
BIN
public/images/fb_share.png
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 93 KiB |
@ -7,15 +7,19 @@
|
||||
{% set home_subtitle = "A <strong>modern</strong> self-hosted file upload service" %}
|
||||
|
||||
{#
|
||||
This will be appended to all CSS and JS files,
|
||||
This will be appended to the URLs of static files (CSS, JS, images, etcetera),
|
||||
and should be changed on every updates to make sure clients load the very latest version of them.
|
||||
v1: CSS and JS files.
|
||||
v2: Images and config files (manifest.json, browserconfig.xml, etcetera).
|
||||
#}
|
||||
{% set v = "fIs0W2GsiU" %}
|
||||
{% set v1 = "fIs0W2GsiU" %}
|
||||
{% set v2 = "MSEpgpfFIQ" %}
|
||||
|
||||
{#
|
||||
These will be the links in the homepage and the No-JS uploader.
|
||||
You may remove icons by changing "home_icons" to false.
|
||||
It will then automatically use "attrs.title" as the display text.
|
||||
Note: No-JS uploader page will have icons disabled by default (it will also not load fontello.css).
|
||||
#}
|
||||
{% set home_icons = true %}
|
||||
{% set home_links = [
|
||||
|
@ -11,8 +11,8 @@
|
||||
|
||||
{% block stylesheets %}
|
||||
<!-- Stylesheets -->
|
||||
<link rel="stylesheet" type="text/css" href="libs/bulma/bulma.min.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="libs/bulma/bulma.min.css?v={{ globals.v1 }}">
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css?v={{ globals.v1 }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block opengraph %}
|
||||
@ -21,10 +21,10 @@
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="{{ globals.name }} – {{ globals.motto }}" />
|
||||
<meta property="og:description" content="{{ globals.description }}" />
|
||||
<meta property="og:image" content="{{ globals.root }}/icons/600px.png" />
|
||||
<meta property="og:image" content="{{ globals.root }}/icons/600px.png?v={{ globals.v2 }}" />
|
||||
<meta property="og:image:width" content="600" />
|
||||
<meta property="og:image:height" content="600" />
|
||||
<meta property="og:image" content="{{ globals.root }}/images/fb_share.png" />
|
||||
<meta property="og:image" content="{{ globals.root }}/images/fb_share.png?v={{ globals.v2 }}" />
|
||||
<meta property="og:image:width" content="1200" />
|
||||
<meta property="og:image:height" content="630" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
@ -33,7 +33,7 @@
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="{{ globals.name }} – {{ globals.motto }}">
|
||||
<meta name="twitter:description" content="{{ globals.description }}">
|
||||
<meta name="twitter:image" content="{{ globals.root }}/icons/600px.png">
|
||||
<meta name="twitter:image" content="{{ globals.root }}/icons/600px.png?v={{ globals.v2 }}">
|
||||
{% endblock %}
|
||||
|
||||
<!-- Icons, configs, etcetera -->
|
||||
@ -43,10 +43,10 @@
|
||||
<link rel="apple-touch-icon" href="{{ globals.root }}/icons/152px.png" sizes="152x152">
|
||||
<link rel="apple-touch-icon" href="{{ globals.root }}/icons/167px.png" sizes="167x167">
|
||||
<link rel="apple-touch-icon" href="{{ globals.root }}/icons/180px.png" sizes="180x180">
|
||||
<link rel="manifest" href="{{ globals.root }}/icons/manifest.json?v={{ globals.v }}">
|
||||
<link rel="manifest" href="{{ globals.root }}/icons/manifest.json?v={{ globals.v2 }}">
|
||||
<meta name="apple-mobile-web-app-title" content="{{ globals.name }}">
|
||||
<meta name="application-name" content="{{ globals.name }}">
|
||||
<meta name="msapplication-config" content="{{ globals.root }}/icons/browserconfig.xml?v={{ globals.v }}">
|
||||
<meta name="msapplication-config" content="{{ globals.root }}/icons/browserconfig.xml?v={{ globals.v2 }}">
|
||||
<meta name="theme-color" content="#232629">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
{% block stylesheets %}
|
||||
<!-- Stylesheets -->
|
||||
<link rel="stylesheet" type="text/css" href="../libs/bulma/bulma.min.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="../css/style.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="../libs/bulma/bulma.min.css?v={{ globals.v1 }}">
|
||||
<link rel="stylesheet" type="text/css" href="../css/style.css?v={{ globals.v1 }}">
|
||||
<style>
|
||||
html {
|
||||
background-color: #232629;
|
||||
|
@ -2,15 +2,15 @@
|
||||
|
||||
{% block stylesheets %}
|
||||
{{ super() }}
|
||||
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="css/auth.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v={{ globals.v1 }}">
|
||||
<link rel="stylesheet" type="text/css" href="css/auth.css?v={{ globals.v1 }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="libs/axios/axios.min.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="js/auth.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v={{ globals.v1 }}"></script>
|
||||
<script type="text/javascript" src="libs/axios/axios.min.js?v={{ globals.v1 }}"></script>
|
||||
<script type="text/javascript" src="js/auth.js?v={{ globals.v1 }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
{% block stylesheets %}
|
||||
{{ super() }}
|
||||
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="css/dashboard.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v={{ globals.v1 }}">
|
||||
<link rel="stylesheet" type="text/css" href="css/dashboard.css?v={{ globals.v1 }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="libs/axios/axios.min.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="libs/clipboard.js/clipboard.min.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="js/dashboard.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v={{ globals.v1 }}"></script>
|
||||
<script type="text/javascript" src="libs/axios/axios.min.js?v={{ globals.v1 }}"></script>
|
||||
<script type="text/javascript" src="libs/clipboard.js/clipboard.min.js?v={{ globals.v1 }}"></script>
|
||||
<script type="text/javascript" src="js/dashboard.js?v={{ globals.v1 }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@ -81,7 +81,7 @@
|
||||
</aside>
|
||||
</div>
|
||||
<div id="page" class="column has-text-centered is-third-quarters">
|
||||
<img alt="logo" src="images/logo.png">
|
||||
<img alt="logo" src="images/logo.png?v={{ globals.v2 }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2,17 +2,17 @@
|
||||
|
||||
{% block stylesheets %}
|
||||
{{ super() }}
|
||||
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="css/home.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v={{ globals.v1 }}">
|
||||
<link rel="stylesheet" type="text/css" href="css/home.css?v={{ globals.v1 }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="libs/dropzone/dropzone.min.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="libs/axios/axios.min.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="libs/clipboard.js/clipboard.min.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="js/home.js?v={{ globals.v }}"></script>
|
||||
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v={{ globals.v1 }}"></script>
|
||||
<script type="text/javascript" src="libs/dropzone/dropzone.min.js?v={{ globals.v1 }}"></script>
|
||||
<script type="text/javascript" src="libs/axios/axios.min.js?v={{ globals.v1 }}"></script>
|
||||
<script type="text/javascript" src="libs/clipboard.js/clipboard.min.js?v={{ globals.v1 }}"></script>
|
||||
<script type="text/javascript" src="js/home.js?v={{ globals.v1 }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@ -21,7 +21,7 @@
|
||||
<div class="hero-body section">
|
||||
<div class="container">
|
||||
<p id="b">
|
||||
<img class="logo" alt="logo" src="images/logo_smol.png">
|
||||
<img class="logo" alt="logo" src="images/logo_smol.png?v={{ globals.v2 }}">
|
||||
</p>
|
||||
<h1 class="title">{{ globals.name }}</h1>
|
||||
<h2 class="subtitle">{{ globals.home_subtitle | safe }}</h2>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
{% block stylesheets %}
|
||||
{{ super() }}
|
||||
<link rel="stylesheet" type="text/css" href="css/home.css?v={{ globals.v }}">
|
||||
<link rel="stylesheet" type="text/css" href="css/home.css?v={{ globals.v1 }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@ -11,7 +11,7 @@
|
||||
<div class="hero-body section">
|
||||
<div class="container">
|
||||
<p id="b">
|
||||
<img class="logo" alt="logo" src="images/logo_smol.png">
|
||||
<img class="logo" alt="logo" src="images/logo_smol.png?v={{ globals.v2 }}">
|
||||
</p>
|
||||
<h1 class="title">{{ globals.name }}</h1>
|
||||
<h2 class="subtitle">{{ globals.home_subtitle | safe }}</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user