<!DOCTYPE html> <html> <head> {% include "common/common-head.html" %} </head> <body class="hold-transition skin-blue sidebar-mini"> <div class="wrapper"> {% include "common/page-header.html" %} {% with pageselected="outlets" %} {% include "common/sidebar-menu.html" %} {% endwith %} <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Outlet configuration </h1> </section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-body"> <table id="outlettable" class="table table-bordered table-hover"> <thead> <tr> <th style="width: 15px">#</th> <th>Description</th> <th>Internal channel</th> <th style="width: 150px">On boot</th> </tr> </thead> <tbody> {%- for outlet in outlets -%} <tr> <td>{{ outlet.Num }}</td> <td><a href="/outlet/{{ outlet.Num }}">{{ outlet.Description }}</a></td> <td>{{ outlet.Channel.Name }}</td> <td>{{ outlet.Channel.OnBoot }}</td> </tr> {% endfor %} </tbody> </table> </div> <!-- /.box-body --> </div> <!-- /.box --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> {% include "common/footer.html" %} </div> <!-- ./wrapper --> {% include "common/common-js.html" %} <!-- DataTables --> <script src="../../bower_components/datatables.net/js/jquery.dataTables.min.js"></script> <script src="../../bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script> <script> $(function () { var table = $('#outlettable').DataTable({ paging: false, }); }); </script> </body> </html>