93 lines
2.5 KiB
HTML
93 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="styles/main.css" />
|
|
<script src="js/feather.min.js"></script>
|
|
<script src="js/nashboard.js"></script>
|
|
<script src="js/mainpage.js"></script>
|
|
<title>NashBoard</title>
|
|
</head>
|
|
|
|
<template id="booktag">
|
|
<span></span>
|
|
</template>
|
|
|
|
<template id="newFolder">
|
|
<div class="card hoverable">
|
|
<h3><i data-feather-t="folder-plus"></i>New folder</h3>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="newBookmark">
|
|
<div class="card hoverable">
|
|
<h3><i data-feather-t="file-plus"></i>New bookmark</h3>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="folder">
|
|
<div class="card hoverable">
|
|
<div class="xmark">
|
|
<i data-feather-t="x"></i>
|
|
</div>
|
|
<h3><i data-feather-t="folder"> </i><span id="folder_name"> </span></h3>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="bookmark">
|
|
<div class="card hoverable">
|
|
<div class="xmark">
|
|
<i data-feather-t="x"></i>
|
|
</div>
|
|
<h3><i data-feather-t="link"> </i><span id="bookmark_name"></span></h3>
|
|
<a id="bookmark_link" href=""></a>
|
|
<div id="bookmark_tags" class="tags"></div>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="bookmark_form">
|
|
<div class="panel">
|
|
<div class="xmark">
|
|
<i data-feather="x" onclick="closeModal()"></i>
|
|
</div>
|
|
<h1>New bookmark</h1>
|
|
<form onsubmit="newBookmark(event)">
|
|
<input type="text" id="bookmark_name" placeholder="Name" />
|
|
<input type="url" id="bookmark_url" placeholder="http://example.com/" />
|
|
<input
|
|
type="text"
|
|
id="bookmark_tags"
|
|
placeholder="Tags, comma separated"
|
|
/>
|
|
<input type="submit" value="Create" />
|
|
</form>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="folder_form">
|
|
<div class="panel">
|
|
<div class="xmark" onclick="closeModal()">
|
|
<i data-feather="x"></i>
|
|
</div>
|
|
<h1>New folder</h1>
|
|
<form onsubmit="newFolder(event)">
|
|
<input type="text" id="folder_name" placeholder="Name" />
|
|
<input type="submit" value="Create" />
|
|
</form>
|
|
</div>
|
|
</template>
|
|
|
|
<body>
|
|
<div id="modal" onclick="closeModal(event)" class="modal-base"></div>
|
|
<div class="wrapper">
|
|
<h1 id="title">Dashboard protorype</h1>
|
|
<div id="bookmarks"></div>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
feather.replace();
|
|
</script>
|
|
</html>
|