Commit fcac3a96 authored by Carl Schwan's avatar Carl Schwan

Add list of stores

parent d3c5708e
......@@ -6,6 +6,8 @@ RewriteRule .? - [S=5]
# ... and also skip fonts.
RewriteCond %{REQUEST_FILENAME} "^.*/fonts/.*"
RewriteRule .? - [S=4]
RewriteCond %{REQUEST_FILENAME} "^.*/assets/.*"
RewriteRule .? - [S=3]
# Rewrite the application and category pages
RewriteRule ^([\w]+)/?$ applicationlist.php?category=$1 [NS,PT]
......@@ -297,6 +297,36 @@ $site_root = "../";
<section id="installation" class="container">
<div class="row">
<div class="col-12 col-sm-4 d-flex flex-column mb-3">
<a class="align-self-center" href="appstream://<?= $app->AppStreamId() ?>" style="height: 100px">
<img src="" alt="logo discover" class="img-fluid" width="100" />
<h2 class="align-self-center">Linux</h2>
<a class="noblefir align-self-center mb-3"
href="appstream://<?= $app->AppStreamId() ?>"
<i class="fa fa-download"></i>
<span id="install-msg">Install on Linux</span>
<small>This button only work with <a href="/applications/system/">Discover</a> and other AppStream application stores. You can also use your distribution packet manager.</small>
<?php if ($app->getWindowsStoreLink() !== null) { ?>
<div class="col-12 col-sm-4 d-flex flex-column mb-3">
<a href="<?= $app->getWindowsStoreLink() ?>" class="align-self-center d-flex" style="height: 100px">
<img src="/applications/assets/get-it-from-ms.png" alt="get it from the microsoft store" class="img-fluid align-self-center" width="150" />
<h2 class="align-self-center">Windows Store</h2>
<a class="noblefir align-self-center"
href="<?= $app->getWindowsStoreLink() ?>"
<i class="fa fa-download"></i>
<span id="install-msg">Install on Windows</span>
<?php } ?>
let install_button = document.getElementById('install-button');
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment