mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-12 17:48:22 +00:00
Added pannel in search modal + small fix related to config
This commit is contained in:
parent
9209d48e30
commit
3345124219
3 changed files with 36 additions and 29 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
||||||
# Temp files
|
# Temp files
|
||||||
*.swp
|
*.swp
|
||||||
*.pyc
|
*.pyc
|
||||||
|
*.swo
|
||||||
|
|
||||||
# Install Dirs
|
# Install Dirs
|
||||||
AILENV
|
AILENV
|
||||||
|
|
|
@ -21,8 +21,8 @@ if not os.path.exists(configfile):
|
||||||
cfg = ConfigParser.ConfigParser()
|
cfg = ConfigParser.ConfigParser()
|
||||||
cfg.read(configfile)
|
cfg.read(configfile)
|
||||||
|
|
||||||
max_preview_char = cfg.get("Flask", "max_preview_char")
|
max_preview_char = int(cfg.get("Flask", "max_preview_char"))
|
||||||
max_preview_modal = cfg.get("Flask", "max_preview_modal")
|
max_preview_modal = int(cfg.get("Flask", "max_preview_modal"))
|
||||||
|
|
||||||
|
|
||||||
# REDIS #
|
# REDIS #
|
||||||
|
|
|
@ -12,35 +12,41 @@
|
||||||
|
|
||||||
<hr></br>
|
<hr></br>
|
||||||
|
|
||||||
<table class="table table-condensed">
|
<div class="panel panel-default">
|
||||||
<thead>
|
<div class="panel-heading">
|
||||||
<tr>
|
<table class="table table-condensed">
|
||||||
<th>Date</th>
|
<thead>
|
||||||
<th>Source</th>
|
<tr>
|
||||||
<th>Encoding</th>
|
<th>Date</th>
|
||||||
<th>Language</th>
|
<th>Source</th>
|
||||||
<th>Size (Kb)</th>
|
<th>Encoding</th>
|
||||||
<th>Mime</th>
|
<th>Language</th>
|
||||||
<th>Number of lines</th>
|
<th>Size (Kb)</th>
|
||||||
<th>Max line length</th>
|
<th>Mime</th>
|
||||||
</tr>
|
<th>Number of lines</th>
|
||||||
</thead>
|
<th>Max line length</th>
|
||||||
<tbody>
|
</tr>
|
||||||
<tr>
|
</thead>
|
||||||
<td>{{ date }}</td>
|
<tbody>
|
||||||
<td>{{ source }}</td>
|
<tr>
|
||||||
<td>{{ encoding }}</td>
|
<td>{{ date }}</td>
|
||||||
<td>{{ language }}</td>
|
<td>{{ source }}</td>
|
||||||
<td>{{ size }}</td>
|
<td>{{ encoding }}</td>
|
||||||
<td>{{ mime }}</td>
|
<td>{{ language }}</td>
|
||||||
<td>{{ lineinfo.0 }}</td>
|
<td>{{ size }}</td>
|
||||||
<td>{{ lineinfo.1 }}</td>
|
<td>{{ mime }}</td>
|
||||||
</tr>
|
<td>{{ lineinfo.0 }}</td>
|
||||||
</tbody>
|
<td>{{ lineinfo.1 }}</td>
|
||||||
</table>
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">
|
||||||
<h4> Content: </h4>
|
<h4> Content: </h4>
|
||||||
<p id="paste_content"> <xmp> {{ content }} </xmp> </p>
|
<p id="paste_content"> <xmp> {{ content }} </xmp> </p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue