91 lines
3.6 KiB
HTML
91 lines
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>DataDash</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link rel="prefetch" href="https://fonts.googleapis.com/css2?family=Flow+Circular&display=swap">
|
|
<link rel="stylesheet" href="main.css">
|
|
<link rel="prefetch" href="details.html">
|
|
<link rel="prefetch" href="details.css">
|
|
<script type="module" src="main.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<div id="add-btn" class="btn flat icon" title="Add a new API entry"></div>
|
|
<main>
|
|
<header>
|
|
<h1>Welcome to DataDash</h1>
|
|
<p>The place to launch and discover datasets and API endpoints.</p>
|
|
</header>
|
|
|
|
<template id="dataset-template">
|
|
<li class="dataset" data-id="id">
|
|
<div class="dataset-info">
|
|
<div class="details">
|
|
<h3 class="dataset-title">title</h3>
|
|
<p class="dataset-description">Simply daily accountability phone call, powered by AI</p>
|
|
</div>
|
|
</div>
|
|
<aside class="upvote">
|
|
<button class="upvote-btn btn flat icon">Upvote</button>
|
|
<span class="upvote-count">0</span>
|
|
<button class="downvote-btn btn flat icon">Downvote</button>
|
|
</aside>
|
|
</li>
|
|
</template>
|
|
|
|
<section id="tool-bar">
|
|
<button class="btn flat icon" id="reset-tools-btn" title="Reset search results">Reset</button>
|
|
<select id="sort-btn" class="btn flat icon" title="Sort entries">Sort by
|
|
<option id="default-sort">Date newest-oldest</option>
|
|
<option>Date oldest-newest</option>
|
|
<option>Author A-Z</option>
|
|
<option>Author Z-A</option>
|
|
<option>Title A-Z</option>
|
|
<option>Title Z-A</option>
|
|
<option>Rating ↑</option>
|
|
<option>Rating ↓</option>
|
|
<option>Upvotes ↑</option>
|
|
<option>Upvotes ↓</option>
|
|
</select>
|
|
<div class="divider"></div>
|
|
<select class="btn flat icon" id="filter-btn" title="Filter entries">Filter
|
|
<option id="default-filter">None</option>
|
|
<optgroup label="Standard categories">
|
|
<option>Dataset</option>
|
|
<option>API</option>
|
|
</optgroup>
|
|
<optgroup id="other-categories" label="Other categories">
|
|
</optgroup>
|
|
</select>
|
|
<input type="search" name="query" id="search-entry" placeholder="Search">
|
|
<button class="btn flat icon" id="search-btn" title="Search entries">Search</button>
|
|
</section>
|
|
|
|
<section id="recents">
|
|
<h2>Recently added:</h2>
|
|
<ul class="datasets">
|
|
</ul>
|
|
</section>
|
|
<section id="top">
|
|
<h2>Most Liked:</h2>
|
|
<ul class="datasets">
|
|
</ul>
|
|
</section>
|
|
|
|
<section id="search" class="hidden">
|
|
<h2>Search results:</h2>
|
|
<div id="nothing-found">
|
|
<div id="nothing-found-bg"></div>
|
|
<h3 id="nothing-found-text">Nothing found</h3>
|
|
</div>
|
|
<ul class="datasets">
|
|
</ul>
|
|
<div id="observable" style="height: 2rem"></div>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|