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-07 09:26:46 +00:00
|
|
|
}
|
|
|
|
.hero {
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
padding-top: 1rem;
|
|
|
|
text-align:center;
|
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">
|
2019-11-07 09:26:46 +00:00
|
|
|
<a href="https://banglejs.com" class="navbar-brand mr-2"><img src="img/banglejs-logo-sml.png" alt="Bangle.js"> App Loader</a>
|
2019-10-30 17:33:58 +00:00
|
|
|
<!-- <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">
|
2019-11-07 09:26:46 +00:00
|
|
|
<button class="btn" id="myappsrefresh">Refresh...</button>
|
2019-10-30 17:33:58 +00:00
|
|
|
</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-11-07 09:26:46 +00:00
|
|
|
<a href="https://banglejs.com"><img src="img/banglejs-logo-mid.png" alt="Bangle.js"></a>
|
|
|
|
<h2>App Loader</h2>
|
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>
|
2019-11-07 09:26:46 +00:00
|
|
|
<div class="container" style="padding-top: 8px;">
|
|
|
|
<p>Using <a href="https://espruino.com/">Espruino</a>, Icons from <a href="https://icons8.com/">icons8.com</a></p>
|
|
|
|
<p>Check out <a href="https://github.com/espruino/BangleApps">the Source on GitHub</a> for more information.</p>
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Utilities</h3>
|
|
|
|
<p><button class="btn" id="settime">Set Bangle.js Time</button>
|
|
|
|
<button class="btn" id="removeall">Remove all Apps</button></p>
|
|
|
|
</div>
|
2019-10-30 17:33:58 +00:00
|
|
|
</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>
|
2019-11-10 10:22:33 +00:00
|
|
|
<script src="appinfo.js"></script>
|
2019-10-30 17:33:58 +00:00
|
|
|
<script src="index.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|