1
0
Fork 0
mirror of https://github.com/Oreolek/oreolek.ru.git synced 2024-05-17 00:18:22 +03:00

tables cont.

This commit is contained in:
Alexander Yakovlev 2015-09-17 11:28:58 +07:00
parent 5094eb672b
commit 01dea674c5
2 changed files with 20 additions and 16 deletions

View file

@ -1,25 +1,29 @@
<div class="table-responsive"><table class="table table-striped table-hover">
<table class="table table-striped table-hover">
<thead>
<th>Meta</th>
<th>Текст</th>
<th>OK?</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<tr>
<th class="col-md-9">Текст</th>
<th class="col-md-1">Meta</th>
<th class="col-md-1">OK?</th>
<th class="col-md-1">&nbsp;</th>
</tr>
</thead>
<tbody>
{{#get_items}}
<tr>
<td>{{{content}}}</td>
<td>
<div class="date"><a href="{{post_link}}#comment_{{comment_id}}">{{date}}</a></div>
<div class="date">{{date}}</div>
<div class="text-primary">
{{#author_email}}<a class="author" href="mailto:{{author_email}}">{{/author_email}} {{author_name}} {{#author_email}}</a>{{/author_email}}
</div>
</td>
<td>{{{content}}}</td>
<td>{{{is_approved}}}</td>
<td><a class="btn" href="{{edit_link}}"><i class="fa fa-pencil-square-o"></i></a></td>
<td><a class="btn" href="{{delete_link}}"><i class="fa fa-times"></i></a></td>
<td>
<a class="btn" href="{{post_link}}#comment_{{comment_id}}"><i class="fa fa-link"></i></a>
<a class="btn" href="{{edit_link}}"><i class="fa fa-pencil-square-o"></i></a>
<a class="btn" href="{{delete_link}}"><i class="fa fa-times"></i></a>
</td>
</tr>
{{/get_items}}
</tbody>
</table></div>
</table>

View file

@ -4,16 +4,16 @@
<div class="hyphenate">
{{{content}}}
</div>
<div class="table-responsive"><table class="table table-hover">
<table class="table table-hover">
<tbody>
{{#get_items}}
<tr>
{{#date}}
<td class="date">{{date}}</td>
{{/date}}
<td class="hyphenate">
<a class="link_view" href="{{{view_link}}}">{{{name}}}</a>
</td>
{{#date}}
<td class="date">{{date}}</td>
{{/date}}
{{#edit_link}}
<td><a class="btn" href="{{edit_link}}"><i class="fa fa-pencil-square-o"></i></a></td>
<td><a class="btn" href="{{delete_link}}"><i class="fa fa-times"></i></a></td>
@ -21,4 +21,4 @@
</tr>
{{/get_items}}
</tbody>
</table></div>
</table>