Added dataTable for duplicate in show saved paste

This commit is contained in:
Mokaddem 2016-10-27 15:53:45 +02:00
parent 59a7000527
commit 7e7e679ab6

View file

@ -19,19 +19,16 @@
</head> </head>
<body> <body>
<div style="margin: 10px;"> <div style="margin: 10px;">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<h1 class="page-header" >Paste: {{ request.args.get('paste') }}</h1> <h1 class="page-header" >Paste: {{ request.args.get('paste') }}</h1>
<h2 class="page-header" >({{ request.args.get('num') }})</h2> <h2 class="page-header" >({{ request.args.get('num') }})</h2>
</div> </div>
<!-- /.col-lg-12 -->
</div> </div>
<!-- /.row -->
<div class="row"> <div class="row">
<div class="panel panel-default">
<div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<table class="table table-condensed"> <table class="table table-condensed">
<thead> <thead>
@ -89,9 +86,9 @@
<h3> Content: </h3> <h3> Content: </h3>
<p data-initsize="{{ initsize }}"> <pre id="paste-holder">{{ content }}</pre></p> <p data-initsize="{{ initsize }}"> <pre id="paste-holder">{{ content }}</pre></p>
</div> </div>
</div> </div>
</div> </div>
</body> </body>
<script> <script>
$('#tableDup').DataTable(); $('#tableDup').DataTable();