Foto check und Link

This commit is contained in:
Holger Trampe 2019-12-16 22:47:44 +01:00
parent f3f3217659
commit 4fb6ef1d65
1 changed files with 6 additions and 5 deletions

View File

@ -18,23 +18,25 @@
<input class="form-control" id="tableSearch" size="50" type="text" placeholder="Suche in Tabelle...">
</div>
</div>
<div class="row mt-3 col-6" >
<div class="row mt-3 col-9" >
<div class="table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Link</th>
<th scope="col">Logo</th>
<th scope="col">Logo</th>
{% if perms.users.ql_management %}
<th scope="col">&nbsp;</th>
{% endif %}
</tr>
</thead>
<tbody id="tableresults">
{% for ql in quicklinks %}
<tr>
<td>{{ql.name }}</td>
<td><a href="{{ ql.link }}" target="_blank">{{ ql.link }}</a></td>
<td><img src="{{ ql.get_photo_url }}"></td>
<td><a href="https://{{ ql.link }}" target="_blank">{{ ql.link }}</a></td>
<td><img src="{{ ql.get_photo_url }}" width="10%"></td>
<td>
{% if perms.users.ql_management %}
<div class="dropdown no-arrow">
@ -57,7 +59,6 @@
</div>
</div>
<script>
$(document).ready(function(){
$("#tableSearch").on("keyup", function() {
var value = $(this).val().toLowerCase();