add an "x" to the pwa prompt

master
Aevann1 2022-08-11 21:28:03 +02:00
parent dfc68ffe58
commit 5aebc60764
3 changed files with 13 additions and 2 deletions

View File

@ -6075,6 +6075,7 @@ g {
.fa-comment-question:before{content:"\e14b"} .fa-comment-question:before{content:"\e14b"}
.fa-sitemap:before{content:"\f0e8"} .fa-sitemap:before{content:"\f0e8"}
.fa-grid:before{content:"\e195"} .fa-grid:before{content:"\e195"}
.fa-x:before{content:"\58"}
.pronouns { .pronouns {
font-size: 9px; font-size: 9px;

View File

@ -226,8 +226,18 @@
{% endif %} {% endif %}
{% if request.path in ('/','/logged_out') and time.time() > session.get('tooltip_last_dismissed',0)+60*60*24*30 and not g.webview %} {% if request.path in ('/','/logged_out') and time.time() > session.get('tooltip_last_dismissed',0)+60*60*24*30 and not g.webview %}
<style>
.beg-icon {
color: #919191;
float: left;
font-size: 10px;
margin-top: 0.25rem;
margin-right: 0.25rem;
}
</style>
<div id="mobile-prompt-container" class="fixed-top"> <div id="mobile-prompt-container" class="fixed-top">
<div id="mobile-prompt" href="javascript:void(0)" data-bs-toggle="tooltip" data-bs-container="#mobile-prompt-container" data-bs-placement="top" data-bs-trigger="click" data-bs-original-title="Install the {{SITE_NAME}} webapp by saving this page to your home screen!"></div> <div id="mobile-prompt" href="javascript:void(0)" data-bs-toggle="tooltip" data-bs-container="#mobile-prompt-container" data-bs-placement="top" data-bs-trigger="click" data-bs-html="true" data-bs-original-title="<i class='beg-icon fas fa-x'></i>Install the rDrama webapp by saving this page to your home screen!"></div>
</div> </div>
<script> <script>

View File

@ -1,6 +1,6 @@
{%- {%-
set CACHE_VER = { set CACHE_VER = {
'css/main.css': 449, 'css/main.css': 450,
'css/catalog.css': 2, 'css/catalog.css': 2,
'css/4chan.css': 61, 'css/4chan.css': 61,