{% extends "base.html" %} {% block head %} {{ super() }} <!-- BEGIN PAGE LEVEL PLUGIN STYLES --> <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='global/plugins/select2/select2.css') }}"/> <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css') }}"/> <!-- END PAGE LEVEL PLUGIN STYLES --> <!-- BEGIN THEME STYLES --> <!-- DOC: To use 'rounded corners' style just load 'components-rounded.css' stylesheet instead of 'components.css' in the below style tag --> <link href="{{ url_for('static', filename='global/css/components-md.css') }}" id="style_components" rel="stylesheet" type="text/css"/> <link href="{{ url_for('static', filename='global/css/plugins-md.css') }}" rel="stylesheet" type="text/css"/> <link href="{{ url_for('static', filename='admin/layout2/css/layout.css') }}" rel="stylesheet" type="text/css"/> <link href="{{ url_for('static', filename='admin/layout2/css/themes/grey.css') }}" rel="stylesheet" type="text/css" id="style_color"/> <link href="{{ url_for('static', filename='admin/layout2/css/custom.css') }}" rel="stylesheet" type="text/css"/> <!-- END THEME STYLES --> {% endblock %} {% block title %}<title>DNS Control Panel - History</title>{% endblock %} {% block dashboard_stat %} <!-- BEGIN PAGE HEADER--> <h3 class="page-title"> History</h3> <div class="page-bar"> <ul class="page-breadcrumb"> <li> <i class="fa fa-home"></i> <a href="{{ url_for('dashboard') }}">Home</a> <i class="fa fa-angle-right"></i> </li> <li> <a href="{{ url_for('admin') }}">Admin</a> <i class="fa fa-angle-right"></i> </li> <li> <a href="#">History</a> </li> </ul> </div> <!-- END PAGE HEADER--> {% endblock %} {% block content %} <div class="clearfix"> </div> <div class="row"> <div class="col-md-12"> <!-- BEGIN HISTORY TABLE --> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"> <i class="fa fa-users"></i> History Management </div> <div class="tools"> <a href="javascript:;" class="collapse"> </a> <a href="javascript:;" class="reload"> </a> </div> </div> <div class="portlet-body"> <div class="table-toolbar"> <div class="row"> <div class="col-md-12"> <div class="btn-group pull-right"> <button id="tbl_history_clear" class="btn red"> Clear History <i class="fa fa-trash"></i> </button> </div> </div> </div> </div> <table class="table table-striped table-hover table-bordered" id="tbl_history"> <thead> <tr> <th> Changed by </th> <th> Content </th> <th> Time </th> <th> Detail </th> </tr> </thead> <tbody> {% for history in histories %} <tr class="odd gradeX"> <td> {{ history.created_by }} </td> <td> {{ history.msg }} </td> <td> {{ history.created_on }} </td> <td width="6%"> <input type="hidden" name="history_detail" value="{{ history.detail }}"> <a class="btn default btn-xs blue history_detail" href="javascript:;"> <i class="fa fa-info"></i>Info</a> </td> </tr> {% endfor %} </tbody> </table> </div> </div> <!-- END HISTORY TABLE --> </div> </div> <div class="row"> <!-- MORE CONTENT GO HERE --> </div> {% endblock %} {% block scripts %} {{ super() }} <!-- BEGIN PAGE LEVEL SCRIPTS --> <script src="{{ url_for('static', filename='global/scripts/metronic.js') }}" type="text/javascript"></script> <script src="{{ url_for('static', filename='admin/layout2/scripts/layout.js') }}" type="text/javascript"></script> <script src="{{ url_for('static', filename='global/plugins/bootbox/bootbox.min.js') }}" type="text/javascript"></script> <!-- END PAGE LEVEL SCRIPTS --> <!-- TABLE PLUGINS --> <script type="text/javascript" src="{{ url_for('static', filename='global/plugins/select2/select2.min.js') }}"></script> <script type="text/javascript" src="{{ url_for('static', filename='global/plugins/datatables/media/js/jquery.dataTables.min.js') }}"></script> <script type="text/javascript" src="{{ url_for('static', filename='global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js') }}"></script> <script src="{{ url_for('static', filename='admin/pages/scripts/table-managed.js') }}"></script> <!-- END TABLE PLUGINS --> <script> jQuery(document).ready(function() { Metronic.init(); // init metronic core componets Layout.init(); // init layout TableManaged.init(); }); </script> <!-- END JAVASCRIPTS --> {% endblock %}