1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <!DOCTYPE html>
- <html lang="ru">
- <head>
- <title>{{title}}</title>
- <!-- Required meta tags -->
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
- <link rel="stylesheet" href="/bootstrap/dist/css/bootstrap.min.css" />
- </head>
- <body>
- {{> menu}}
- <div class="container">
- <table class="table table-striped table-sm">
- <thead>
- <th>id</th>
- <th>vendor</th>
- <th></th>
- </thead>
- <tbody>
- {{#each distr}}
- <tr>
- <td>{{this.id}}</td>
- <td>{{this.vendor}}</td>
- <td>
- <a href="/dataBase/edit/distr{{this.id}}">Edit</a>|
- <form action="/dataBase/delete/distr{{this.id}}" method="POST" style="display:inline;">
- <input type="submit" value="Delete" />
- </form>
- </td>
- </tr>
- {{/each}}
- </tbody>
- </table>
- </div>
- <script src="jquery/dist/jquery.slim.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
- integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
- crossorigin="anonymous"></script>
- <script src="bootstrap/dist/js/bootstrap.min.js"></script>
- </body>
- </html>
|