2016-07-05 14:53:03 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Paste information</title>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2016-07-06 12:30:32 +00:00
|
|
|
<h2> Paste: {{ request.args.get('num') }}</h2>
|
2016-07-05 14:53:03 +00:00
|
|
|
<h3> {{ request.args.get('paste') }} </h3>
|
|
|
|
|
|
|
|
<hr></br>
|
|
|
|
|
2016-07-06 12:48:27 +00:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<table class="table table-condensed">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Date</th>
|
|
|
|
<th>Source</th>
|
|
|
|
<th>Encoding</th>
|
|
|
|
<th>Language</th>
|
|
|
|
<th>Size (Kb)</th>
|
|
|
|
<th>Mime</th>
|
|
|
|
<th>Number of lines</th>
|
|
|
|
<th>Max line length</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>{{ date }}</td>
|
|
|
|
<td>{{ source }}</td>
|
|
|
|
<td>{{ encoding }}</td>
|
|
|
|
<td>{{ language }}</td>
|
|
|
|
<td>{{ size }}</td>
|
|
|
|
<td>{{ mime }}</td>
|
|
|
|
<td>{{ lineinfo.0 }}</td>
|
|
|
|
<td>{{ lineinfo.1 }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-07-06 14:54:27 +00:00
|
|
|
<div class="panel-body" id="panel-body">
|
2016-07-19 08:48:44 +00:00
|
|
|
{% if duplicate_list|length == 0 %}
|
|
|
|
<h4> No Duplicate </h4>
|
|
|
|
{% else %}
|
|
|
|
<h4> Duplicate list: </h4>
|
|
|
|
{% set i = 0 %}
|
|
|
|
{% for dup_path in duplicate_list %}
|
|
|
|
Similarity: {{ simil_list[i] }}% - <a target="_blank" href="{{ url_for('showsavedpaste') }}?paste={{ dup_path }}" id='dup_path'>{{ dup_path }}</a></br>
|
|
|
|
{% set i = i + 1 %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
<h4> Content: </h4>
|
2016-07-08 10:09:33 +00:00
|
|
|
<p data-initsize="{{ initsize }}"> <xmp id="paste-holder">{{ content }}</xmp></p>
|
2016-07-06 12:48:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-07-06 12:30:32 +00:00
|
|
|
|
2016-07-05 14:53:03 +00:00
|
|
|
</body>
|
|
|
|
</html>
|