Rename manage page to add, adjust css

Skylar Ittner 4 years ago
parent 4e7d2af957
commit 62513fd443

@ -72,7 +72,7 @@ $("#addpackagebtn").click(function () {
// Remove any pre-existing click handlers from the history list, // Remove any pre-existing click handlers from the history list,
// otherwise the user will see a number of confirm prompts equal to the number // otherwise the user will see a number of confirm prompts equal to the number
// of times they've opened the manage page // of times they've opened the add items page
$(".view-main").off("click", "#historylist .history-list-item"); $(".view-main").off("click", "#historylist .history-list-item");
$(".view-main").on("click", "#historylist .history-list-item", function () { $(".view-main").on("click", "#historylist .history-list-item", function () {

@ -2,7 +2,7 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this - 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/. --> - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<div class="page" data-name="manage"> <div class="page" data-name="add">
<div class="navbar"> <div class="navbar">
<div class="navbar-bg"></div> <div class="navbar-bg"></div>
@ -57,7 +57,7 @@
</li> </li>
<li> <li>
<div class="row"> <div class="row">
<div class="col-100 xsmall-75 item-content item-input"> <div class="col-75 item-content item-input">
<div class="item-inner"> <div class="item-inner">
<div class="item-title item-label">City, State</div> <div class="item-title item-label">City, State</div>
<div class="item-input-wrap"> <div class="item-input-wrap">
@ -65,7 +65,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-100 xsmall-25 item-content item-input"> <div class="col-25 item-content item-input">
<div class="item-inner"> <div class="item-inner">
<div class="item-title item-label">ZIP</div> <div class="item-title item-label">ZIP</div>
<div class="item-input-wrap"> <div class="item-input-wrap">
@ -110,6 +110,6 @@
</div> </div>
</div> </div>
<script src="assets/js/manage.js"></script> <script src="assets/js/add.js"></script>
</div> </div>

@ -30,9 +30,9 @@ var routes = [
} }
}, },
{ {
path: '/manage', path: '/add',
name: 'manage', name: 'add',
templateUrl: './pages/manage.html', templateUrl: './pages/add.html',
options: { options: {
context: { context: {
show_help: show_help, show_help: show_help,

Loading…
Cancel
Save