2018-02-12 05:47:26 +10:00
|
|
|
{{> partials/menu}}
|
2018-01-07 04:55:48 +10:00
|
|
|
<script src="https://code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script>
|
2019-12-26 13:23:21 +10:00
|
|
|
<div class="col-sm-9">
|
2018-01-07 04:55:48 +10:00
|
|
|
<div class="row">
|
2019-12-26 13:23:21 +10:00
|
|
|
<div class="col-sm-10">
|
2018-01-07 04:55:48 +10:00
|
|
|
<h2>Menu</h2>
|
2019-12-26 13:23:21 +10:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-2 offset-sm-1">Menu</div>
|
|
|
|
<div class="col-sm-9">link</div>
|
|
|
|
</div>
|
|
|
|
<div id="draggable_list">
|
2018-01-15 03:02:10 +10:00
|
|
|
{{#each menu.items}}
|
2019-12-26 13:23:21 +10:00
|
|
|
<div class="row drag-row" id="menuId-{{@key}}">
|
2019-12-07 09:41:18 +10:00
|
|
|
<input type="hidden" class="navId" value="{{title}}">
|
2020-01-03 13:22:43 +10:00
|
|
|
<div class="col-sm-1 dragable_item"><i class="fas fa-arrows-alt"></i></div>
|
2019-12-26 13:23:21 +10:00
|
|
|
<div class="col-sm-2 dragable_item">
|
|
|
|
<input type="text" class="form-control navMenu navItem" value="{{title}}">
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6 dragable_item">
|
|
|
|
<input type="text" class="form-control navLink navItem" value="{{link}}">
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-3 dragable_item">
|
|
|
|
<a class="btn btn-outline-danger settings-menu-delete" data-id="{{@key}}">
|
2020-01-03 13:22:43 +10:00
|
|
|
<i class="far fa-trash-alt"></i>
|
2018-01-15 03:02:10 +10:00
|
|
|
</a>
|
2019-12-26 13:23:21 +10:00
|
|
|
<button type="submit" class="btn btn-outline-success" id="settings-menu-update" data-id="{{@key}}">
|
2020-01-03 13:22:43 +10:00
|
|
|
<i class="far fa-save"></i>
|
2018-01-07 04:55:48 +10:00
|
|
|
</button>
|
2019-12-26 13:23:21 +10:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-01-07 04:55:48 +10:00
|
|
|
{{/each}}
|
2019-12-26 13:23:21 +10:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-2 offset-sm-1">
|
2019-12-26 20:32:28 +10:00
|
|
|
<input type="text" class="form-control" id="newNavMenu" placeholder="Contact Us">
|
2019-12-26 13:23:21 +10:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
2019-12-26 20:32:28 +10:00
|
|
|
<input type="text" class="form-control" id="newNavLink" placeholder="/contact">
|
2019-12-26 13:23:21 +10:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-3">
|
|
|
|
<button type="submit" id="settings-menu-new" class="btn btn-outline-success">
|
2020-01-03 13:22:43 +10:00
|
|
|
<i class="fas fa-plus"></i>
|
2019-12-26 13:23:21 +10:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-06 18:31:25 +10:00
|
|
|
|
2019-12-26 13:23:21 +10:00
|
|
|
</div>
|
|
|
|
<p class="text-muted">
|
2019-11-06 18:31:25 +10:00
|
|
|
{{ @root.__ "Setting_menu_explain" }}
|
2018-01-15 03:02:10 +10:00
|
|
|
</p>
|
2018-01-07 04:55:48 +10:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|