forked from rDrama/rDrama
reword PWA begging tooltip
parent
49d0db4411
commit
3b84624eb9
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="ml-3 mt-4">
|
<div class="ml-3 mt-4">
|
||||||
<b>How to download {{SITE_NAME}}'s mobile app</b>
|
<b>How to install {{SITE_NAME}}'s mobile app</b>
|
||||||
|
|
||||||
<div class="font-weight-bold mt-4 mb-2">First step:</div>
|
<div class="font-weight-bold mt-4 mb-2">First step:</div>
|
||||||
<img onclick="expandDesktopImage()" alt="First step" style="height:30vh" src="/i/{{SITE_NAME}}/app1.webp">
|
<img onclick="expandDesktopImage()" alt="First step" style="height:30vh" src="/i/{{SITE_NAME}}/app1.webp">
|
||||||
|
|
|
@ -197,7 +197,7 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div id="mobile-prompt-container" class="fixed-top">
|
<div id="mobile-prompt-container" class="fixed-top">
|
||||||
<div id="mobile-prompt" data-bs-toggle="tooltip" data-bs-container="#mobile-prompt-container" data-bs-placement="top" data-bs-trigger="click" data-bs-html="true" title="<i class='beg-icon fas fa-x'></i>Install the {{SITE_NAME}} webapp by saving this page to your home screen!"></div>
|
<div id="mobile-prompt" data-bs-toggle="tooltip" data-bs-container="#mobile-prompt-container" data-bs-placement="top" data-bs-trigger="click" data-bs-html="true" title="<i class='beg-icon fas fa-x'></i>Click me to install the {{SITE_NAME}} mobile app!"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -213,6 +213,7 @@
|
||||||
xhr.open("POST", '/dismiss_mobile_tip', true);
|
xhr.open("POST", '/dismiss_mobile_tip', true);
|
||||||
xhr.setRequestHeader('xhr', 'xhr');
|
xhr.setRequestHeader('xhr', 'xhr');
|
||||||
xhr.send();
|
xhr.send();
|
||||||
|
location.href = "/app"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue