summaryrefslogtreecommitdiff
path: root/app/ui/explore.php
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-10-30 23:08:45 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-10-30 23:08:45 +0100
commit41c51b8bdb9c8e9fa4a7d56f260d594739d4107e (patch)
tree4bb3e824d636c7cf8cb39fd0e1aa25c49c339164 /app/ui/explore.php
parent4d4308c46d4f7801c657cc79d2243e1a81831334 (diff)
downloadmist-41c51b8bdb9c8e9fa4a7d56f260d594739d4107e.tar.gz
mist-41c51b8bdb9c8e9fa4a7d56f260d594739d4107e.tar.bz2
mist-41c51b8bdb9c8e9fa4a7d56f260d594739d4107e.zip
Updated 35 files and added 28 files (automated)
Diffstat (limited to 'app/ui/explore.php')
-rw-r--r--app/ui/explore.php18
1 files changed, 14 insertions, 4 deletions
diff --git a/app/ui/explore.php b/app/ui/explore.php
index 7edfdf1..c93beff 100644
--- a/app/ui/explore.php
+++ b/app/ui/explore.php
@@ -11,7 +11,7 @@
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>explore</title>
+ <title>Explore</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/dark.css" rel="stylesheet">
<link href="/assets/styles.css" rel="stylesheet">
@@ -21,13 +21,23 @@
<script src="/assets/js/shortcuts.js"></script>
<link id="native-css" href="/assets/native.css" rel="stylesheet" disabled>
</head>
-<body class="crossplatform">
+<body class="crossplatform has-navigation">
+ <div id="ui-navigation" style="z-index: 999; background-color: rgba(255, 255, 255, .75); position: fixed; top: 0; left: 0; right: 0; height: 32px; backdrop-filter: blur(50px); -webkit-backdrop-filter: blur(50px);">
+ <div style="display: grid; grid-template-columns: max-content 1fr max-content; height: 100%;" class="container">
+ <div id="ui-back-button" onclick="history.back();" style="display: flex; align-items: center; justify-content: center; text-align: center; opacity: 0; pointer-events: none;">
+ <img src="/assets/icons/back.svg" alt="Back" class="icon">
+ </div>
+ <div style="display: flex; align-items: center; justify-content: center; text-align: center;"><b>Explore</b></div>
+ <div style="opacity: 0; pointer-events: none;">
+ <input placeholder="Filter" id="filter" class="form-control" style="width: 256px;height: 32px;border-top: none;" onchange="updateFilter();" onkeyup="updateFilter();">
+ </div>
+ </div>
+ </div>
<script src="/assets/js/common.js"></script>
<div class="container">
<br>
- <h2 style="margin-top: 10px; margin-bottom: 20px; margin-left: 10px;">Explore</h2>
- <form action="search.php">
+ <form action="search.php" onsubmit="window.parent.location.hash = '#/search/' + encodeURIComponent(document.getElementById('search').value);">
<div style="width: calc(100% - 20px); margin-left: 10px;" class="input-group mb-3">
<input name="q" type="text" id="search" class="form-control" placeholder="Search on Mist">
<button class="btn btn-outline-secondary" type="submit" id="btn-search">Search</button>