mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
implement row meta info
This commit is contained in:
parent
7da285ca69
commit
d014358028
5 changed files with 66 additions and 5 deletions
|
|
@ -4,7 +4,13 @@
|
|||
<div>
|
||||
<a name="{{ row.torrent.info_hash }}"></a>
|
||||
<h2>{{ row.torrent.name }}</h2>
|
||||
{% if row.torrent.comment %}<p>{{ row.torrent.comment }}</p>{% endif %}
|
||||
<div>
|
||||
<ul>
|
||||
<li><span title="Indexed">{{ row.indexed }}</span>{%
|
||||
if row.created %} <span title="Created">({{ row.created }})</span>{% endif %}</li>{%
|
||||
if row.size %}<li><span title="Size">{{ row.size }}</span></li>{% endif %}
|
||||
</ul>
|
||||
<a rel="nofollow" href="{{ row.magnet }}" title="Magnet">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M15 12h-4v3h4v-3ZM5 12H1v3h4v-3ZM0 8a8 8 0 1 1 16 0v8h-6V8a2 2 0 1 0-4 0v8H0V8Z"/>
|
||||
|
|
|
|||
|
|
@ -94,12 +94,45 @@
|
|||
padding: 24px;
|
||||
}
|
||||
|
||||
/* controls */
|
||||
main > div > div {
|
||||
float: right;
|
||||
/* description */
|
||||
main > div > p {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
main > div > div > a> svg {
|
||||
/* meta, controls */
|
||||
main > div > div {
|
||||
border-top: 1px #4f536a solid;
|
||||
margin-top: 16px;
|
||||
overflow: hidden;
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
main > div > div > ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
main > div > div > ul > li {
|
||||
cursor: default;
|
||||
float: left;
|
||||
}
|
||||
|
||||
main > div > div > ul > li > span {
|
||||
color: white;
|
||||
font-size: smaller;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
main > div > div > ul > li > span:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
main > div > div > ul > li:not(:last-child)::after {
|
||||
content: "•";
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
||||
main > div > div > a > svg {
|
||||
float: right;
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue