123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <!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>model</th>
- </thead>
- <tbody>
- {{#each proc}}
- <tr>
- <td>{{this.id}}</td>
- <td>{{this.modelName}}</td>
- <td>
- <a class="btn btn-primary" href="/database/edit/proc/{{this.id}}">Edit</a>|
- <form action="/database/delete/proc/{{this.id}}" method="post">
- <input class="btn btn-danger" type="submit" value="delete" />
- </form>
- </td>
- </tr>
- {{/each}}
- {{#each videoCard}}
- <tr>
- <td>{{this.id}}</td>
- <td>{{this.modelName}}</td>
- <td>
- <a class="btn btn-primary" href="/dataBase/edit/videoCard/{{this.id}}">Edit</a>|
- <form action="/dataBase/delete/videoCard/{{this.id}}" method="post">
- <input class="btn btn-danger" 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>
|