BangleApps/index.html

100 lines
3.5 KiB
HTML
Raw Normal View History

2019-10-30 17:33:58 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2019-11-06 17:25:02 +00:00
<link rel="stylesheet" href="css/spectre.min.css">
<link rel="stylesheet" href="css/spectre-exp.min.css">
<link rel="stylesheet" href="css/spectre-icons.min.css">
2019-10-30 17:33:58 +00:00
<title>Bangle.js loader</title>
2019-10-30 20:12:44 +00:00
<style>
.navbar { background-color: #5755d9; padding: 0.5em 1em 0.5em 1em; }
2019-11-03 11:13:21 +00:00
.navbar .navbar-brand {
color: #fff;
2019-10-30 20:12:44 +00:00
font-weight: bold;
}
2019-11-03 11:13:21 +00:00
.avatar img {
border-radius: 5px 5px 5px 5px;
background: #ddd;
2019-11-06 15:52:24 +00:00
}
#toastcontainer {
position:absolute;
bottom:8px;left:0px;right:0px;
z-index: 100;
2019-11-03 11:13:21 +00:00
}
2019-10-30 20:12:44 +00:00
</style>
2019-10-30 17:33:58 +00:00
</head>
<body>
2019-10-30 20:12:44 +00:00
<header class="navbar-primary navbar">
2019-10-30 17:33:58 +00:00
<section class="navbar-section">
<a href="#" class="navbar-brand mr-2">Bangle.js Loader</a>
<!-- <a href="#" class="btn btn-link">...</a> -->
</section>
<!--<section class="navbar-section">
<div class="input-group input-inline">
<input class="form-input" type="text" placeholder="search">
<button class="btn btn-primary input-group-btn">Search</button>
</div>
</section>-->
</header>
<ul class="tab tab-block" id="tab-navigate">
<li class="tab-item active" id="tab-librarycontainer">
<a href="javascript:showTab('librarycontainer')">Library</a>
</li>
<li class="tab-item" id="tab-myappscontainer">
<a href="javascript:showTab('myappscontainer')">My Apps</a>
</li>
<li class="tab-item" id="tab-aboutcontainer">
<a href="javascript:showTab('aboutcontainer')">About</a>
</li>
</ul>
<div class="container" id="toastcontainer">
</div>
<div class="container bangle-tab" id="librarycontainer">
<!--<div class="filter-nav">
<label class="chip" filterid="">All</label>
<label class="chip" filterid="clock">Clocks</label>
<label class="chip" filterid="game">Games</label>
<label class="chip" filterid="tool">Tools</label>
<label class="chip" filterid="hardware">Hardware</label>
</div>-->
<div class="panel">
<div class="panel-header">
<!-- <div class="input-group">
<input class="form-input" type="text" placeholder="Keywords...">
<button class="btn btn-primary input-group-btn">Search</button>
</div>-->
</div>
2019-11-03 11:50:00 +00:00
<div class="panel-body columns"><!-- apps go here --></div>
2019-10-30 17:33:58 +00:00
</div>
</div>
<div class="container bangle-tab" id="myappscontainer" style="display:none">
<div class="panel">
<div class="panel-header" style="text-align:right">
<button class="btn input-group-btn" id="myappsrefresh">Refresh...</button>
</div>
2019-11-03 11:50:00 +00:00
<div class="panel-body columns"><!-- apps go here --></div>
2019-10-30 17:33:58 +00:00
</div>
</div>
<div class="container bangle-tab" id="aboutcontainer" style="display:none">
<div class="hero bg-gray">
<div class="hero-body">
2019-10-30 20:12:44 +00:00
<h1>Bangle.js Loader</h1>
2019-10-30 17:33:58 +00:00
<p>A tool for uploading and removing apps from <a href="https://banglejs.com">Bangle.js Smart Watches</a></p>
</div>
</div>
<p>Using <a href="https://espruino.com/">Espruino</a>, Icons from <a href="https://icons8.com/">icons8.com</a></p>
</div>
2019-11-04 15:03:50 +00:00
<script src="https://www.puck-js.com/puck.js"></script>
2019-10-30 17:33:58 +00:00
<script src="utils.js"></script>
<script src="comms.js"></script>
<script src="index.js"></script>
</body>
</html>