Browse Source

fix: Remove inline JavaScript I have missed

master
PapaTutuWawa 5 months ago
parent
commit
16d7de3b54
  1. 6
      assets/js/main.js
  2. 110
      content/de.html

6
assets/js/main.js

@ -20,8 +20,6 @@ function getJIDPrefix(jid) {
});
// Android specialty: PlayStore install referrer
document.getElementById("android-client-box").onclick = () => {
const url_with_referrer = 'https://play.google.com/store/apps/details?id=im.blabber.messenger&referrer=' + uri;
window.open(encodeURI(url_with_referrer), '_blank');
};
const url_with_referrer = 'https://play.google.com/store/apps/details?id=im.blabber.messenger&referrer=' + uri;
document.getElementById("blabber-client-box").setAttribute("href", encodeURI(url_with_referrer));
})();

110
content/de.html

@ -22,69 +22,65 @@
<center><h2>{{ page_locale_clients }}</h2></center>
<div class="horizontal client-box-wrapper">
<div
class="client-box"
onlick="window.open('https://play.google.com/store/apps/details?id=im.blabber.messenger', '_blank');">
<center class="client-title">
<b>blabber</b>
</center>
<div class="horizontal-center">
<img
class="client-logo"
src="assets/img/clients/blabber.png" />
</div>
<a id="blabber-client-box"
class="client-box"
href="https://play.google.com/store/apps/details?id=im.blabber.messenger">
<center class="client-title">
<b>blabber</b>
</center>
<div class="horizontal-center">
<img
class="client-logo"
src="assets/img/clients/blabber.png" />
</div>
<div class="horizontal-center os-icon-row">
<img
class="os-icon"
src="assets/img/icons/android.svg" />
</div>
<div class="horizontal-center os-icon-row">
<img
class="os-icon"
src="assets/img/icons/android.svg" />
</div>
</a>
<a class="client-box" href="https://itunes.apple.com/us/app/monal-free-xmpp-chat/id317711500?mt=8">
<center class="client-title">
<b>Monal</b>
</center>
<div class="horizontal-center">
<img
class="client-logo"
src="assets/img/clients/monal.png" />
</div>
<div
class="client-box"
onclick="window.open('https://itunes.apple.com/us/app/monal-free-xmpp-chat/id317711500?mt=8', '_blank');">
<center class="client-title">
<b>Monal</b>
</center>
<div class="horizontal-center">
<img
class="client-logo"
src="assets/img/clients/monal.png" />
</div>
<div class="horizontal-center os-icon-row">
<img
class="os-icon"
src="assets/img/icons/apple.svg" />
</div>
<div class="horizontal-center os-icon-row">
<img
class="os-icon"
src="assets/img/icons/apple.svg" />
</div>
</a>
<a class="client-box" href="https://gajim.org">
<center class="client-title">
<b>Gajim</b>
</center>
<div class="horizontal-center">
<img
class="client-logo"
src="assets/img/clients/gajim.png" />
</div>
<div
class="client-box"
onclick="window.open('https://gajim.org', '_blank');">
<center class="client-title">
<b>Gajim</b>
</center>
<div class="horizontal-center">
<img
class="client-logo"
src="assets/img/clients/gajim.png" />
</div>
<div class="horizontal-center os-icon-row">
<img
class="os-icon"
src="assets/img/icons/windows.svg" />
<img
class="os-icon"
src="assets/img/icons/apple.svg" />
<img
class="os-icon"
src="assets/img/icons/linux.svg" />
</div>
<div class="horizontal-center os-icon-row">
<img
class="os-icon"
src="assets/img/icons/windows.svg" />
<img
class="os-icon"
src="assets/img/icons/apple.svg" />
<img
class="os-icon"
src="assets/img/icons/linux.svg" />
</div>
</a>
</div>
<center><h2>{{ page_locale_jabber_headline }}</h2></center>

Loading…
Cancel
Save