1 [% WRAPPER common/layout vue=1 %]
3 <script type="text/x-template" id="sidebar-item-editor">
6 <div class="app-frame" id="sidebar-manager">
11 <table class="table table-hover">
14 <th></th><th>ID</th><th>name</th><th>model</th><th>query_param</th>
18 <tr v-for="item in sidebarItems">
19 <td><input type="checkbox" value="" /></td>
20 <td v-text="item.id"></td>
21 <td v-text="item.name"></td>
22 <td v-text="item.model"></td>
23 <td v-text="item.query_param"></td>
28 <button class="btn btn-default" type="button">New</button>
29 <button class="btn btn-default" type="button">Delete</button>
34 <script src="/js/sidebar_editor.js" ></script>
36 $(document).ready(function () {
37 editor.run({ el: '#sidebar-manager' });