Add help panel to list page

master
Skylar Ittner 4 years ago
parent 403708572e
commit 8514582bcb

@ -0,0 +1,52 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<div class="panel panel-right panel-cover">
<div class="view">
<div class="page">
<div class="navbar">
<div class="navbar-bg"></div>
<div class="navbar-inner">
<div class="title">Help</div>
<div class="right">
<a class="link panel-close">
<span>Close</span>
</a>
</div>
</div>
</div>
<div class="page-content">
<div class="block">
<p>
Swipe <i class="fas fa-arrow-right"></i> left-to-right on a list entry
to show the actions you can take.
These actions are marking the item as delivered/undelivered, or
navigating to its location with your device's default maps app.
</p>
<p>
Swipe <i class="fas fa-arrow-left"></i> right-to-left on a list entry
and tap <i class="material-icons">delete</i> Delete to remove it.
</p>
<p>
Tap the <i class="material-icons">search</i> button to open a search
box. Type in this box to hide any list entries that don't contain your
input.
</p>
<p>
Tap the <i class="material-icons">sort</i> button to sort the list.
</p>
<p>
Tap the <span class="color-red"><i class="material-icons">delete</i></span> button to remove all
items from the list.
</p>
</div>
</div>
</div>
</div>
</div>

@ -24,6 +24,10 @@
<a class="link text-color-red" onclick="confirmDeleteAllPackages()">
<i class="icon material-icons">delete</i>
</a>
<a class="link" href="/help/list">
<i class="icon material-icons">help</i>
</a>
</div>
<form class="searchbar searchbar-expandable package-list-searchbar">
<div class="searchbar-inner">

@ -183,6 +183,17 @@ var routes = [
}
]
},
{
path: '/help',
routes: [
{
path: '/list',
panel: {
url: './pages/help/list.html'
}
}
]
},
{
path: '/credits',
url: './pages/credits.html',

Loading…
Cancel
Save