diff options
author | Jonas Kohl | 2024-09-11 13:26:37 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-11 13:26:37 +0200 |
commit | 77b3c54ddc4a5f6887fd4218e19a3b5a86b1c16f (patch) | |
tree | 313351bcc7e6679e0cf9fa501d6ce548d10f3155 /includes/mobile | |
parent | 2c10ed169fd8f1fe719259d8193923fb1e45adaa (diff) |
Mobile theme improvements
Diffstat (limited to 'includes/mobile')
-rw-r--r-- | includes/mobile/template_end.php | 9 | ||||
-rw-r--r-- | includes/mobile/template_head_end.php | 8 | ||||
-rw-r--r-- | includes/mobile/template_head_start.php | 19 |
3 files changed, 26 insertions, 10 deletions
diff --git a/includes/mobile/template_end.php b/includes/mobile/template_end.php index 3746d82..e935d32 100644 --- a/includes/mobile/template_end.php +++ b/includes/mobile/template_end.php @@ -1,7 +1,12 @@ </div> <footer class="footer"> -<div class="container-fluid"> - <a href="/view.php?view=d&next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>" target="_top">Desktop-Version</a> +<div class="container"> +<div class="panel panel-default"> +<div class="panel-body"> + © Mystic House Corner <?= date("Y") ?> • + <a href="/view.php?view=d&next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>" target="_top">Desktop-Version anzeigen</a> +</div> +</div> </div> </footer> </body> diff --git a/includes/mobile/template_head_end.php b/includes/mobile/template_head_end.php index 5d9b670..5542365 100644 --- a/includes/mobile/template_head_end.php +++ b/includes/mobile/template_head_end.php @@ -1,7 +1,7 @@ </head> <body> -<nav class="navbar navbar-default"> - <div class="container-fluid"> +<nav class="navbar navbar-default navbar-static-top"> + <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-collapse" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> @@ -9,7 +9,7 @@ <span class="icon-bar"></span> <span class="icon-bar"></span> </button> - <a class="navbar-brand" href="/site.php">Mystic House Corner</a> + <a class="navbar-brand" href="/site.php"><span aria-hidden="true" class="mh-icon mh-icon-logo"></span><span class="sr-only">Mystic House Corner</span></a> </div> <div class="collapse navbar-collapse" id="nav-collapse"> <ul class="nav navbar-nav"> @@ -23,4 +23,4 @@ </div> </div> </nav> -<div class="container-fluid">
\ No newline at end of file +<div class="container">
\ No newline at end of file diff --git a/includes/mobile/template_head_start.php b/includes/mobile/template_head_start.php index 30fb8f8..c4b6df9 100644 --- a/includes/mobile/template_head_start.php +++ b/includes/mobile/template_head_start.php @@ -1,13 +1,24 @@ <!DOCTYPE html> -<html> +<!--[if lt IE 7]> <html lang="de" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> +<!--[if IE 7]> <html lang="de" class="no-js lt-ie9 lt-ie8"> <![endif]--> +<!--[if IE 8]> <html lang="de" class="no-js lt-ie9"> <![endif]--> +<!--[if gt IE 8]><!--> <html lang="de" class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <meta name="viewport" content="width=device-width,initial-scale=1"> <title><?= htmlentities($PAGE_TITLE ?? "") ?> - Mystic House Corner</title> <link rel="stylesheet" href="/mobile/dist/css/bootstrap.min.css"> - <link rel="stylesheet" href="/mobile/site.css"> + <link rel="stylesheet" href="/mobile/dist/css/bootstrap-theme.min.css"> + <link rel="stylesheet" href="/mobile/font.css?v=<?= filemtime(__DIR__ . "/../../mobile/font.css") ?>"> + <link rel="stylesheet" href="/mobile/site.css?v=<?= filemtime(__DIR__ . "/../../mobile/site.css") ?>"> <script src="/mobile/jquery-1.12.4.min.js"></script> <script src="/mobile/dist/js/bootstrap.min.js"></script> + <script src="/mobile/modernizr-2.6.2.min.js"></script> <!--[if lt IE 8]> <meta http-equiv="refresh" content="0; url=/view.php?view=d&next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>"> - <![endif]-->
\ No newline at end of file + <![endif]--> + <!--[if lt IE 9]> + <script src="/mobile/html5shiv.min.js"></script> + <script src="/mobile/respond.min.js"></script> + <![endif]--> |