Improve article display
This commit is contained in:
parent
4b73102c22
commit
52f7877bb8
|
@ -1,6 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
{% block title %}Link '{{ title }}' in '{{ hit.title }}'{% endblock %}
|
||||
|
||||
{% block style %}
|
||||
<link href="{{ url_for("static", filename="css/diff.css") }}" rel="stylesheet"/>
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h1>{{ self.title() }}</h1>
|
||||
<h1>Link '{{ title }}' in '{{ hit.title }}'</h1>
|
||||
<form action="{{ url_for("index") }}">
|
||||
<input name="q">
|
||||
<input type="submit" value="search">
|
||||
|
@ -23,7 +23,7 @@
|
|||
<div>total: {{ total }}</div>
|
||||
<div>with link: {{ with_link }}</div>
|
||||
<div>ratio: {{ "{:.1%}".format(with_link / total) }}</div>
|
||||
<div>hit: {{ hit }}</div>
|
||||
{# <div>hit: {{ hit }}</div> #}
|
||||
<div>replacement: {{ found.replacement }}</div>
|
||||
<div>section: {{ found.section }}</div>
|
||||
<table>
|
||||
|
|
Loading…
Reference in a new issue