show about-page if js is disabled

This commit is contained in:
Per Qvarforth 2022-08-02 15:36:44 +00:00
parent cae0c646e6
commit 940d595289
1 changed files with 2 additions and 13 deletions

View File

@ -315,18 +315,7 @@
<?php if ($view) : ?> <?php if ($view) : ?>
<?php include($view); ?> <?php include($view); ?>
<?php else: ?> <?php else: ?>
<div id="td-modal-content-nojs"> <?php include(ROOT . '/public/views/about.php'); ?>
<div class="modal-inner-content">
<div class="modal-inner-content-menu">
<a href="/views/about.php" class="tdlink" title="More about this website!">About</a>
<a href="/views/latest.php" class="tdlink" title="List latest heard stations!">Latest heard</a>
<a href="/views/search.php" class="tdlink"title="Search for a station/vehicle here!">Station search</a>
</div>
<div class="horizontal-line">&nbsp;</div>
<p>Welcome to this APRS tracking website!</p>
<p>This website is based on the APRS Track Direct tools. Read more on <a href="https://github.com/qvarforth/trackdirect" target="_blank">GitHub</a>.</p>
</div>
</div>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div> </div>