Misc. Theme: Timeline changes
This commit is contained in:
@ -10,9 +10,7 @@
|
||||
<div class="archives_summary">
|
||||
{foreach from=$entries item="sentries" name="archivesummarylist"}
|
||||
{foreach from=$sentries.entries item="entry"}
|
||||
{if $entry.body || $entry.extended || $entry.properties.timeline_image}
|
||||
<div class="row each-archive-entry">
|
||||
|
||||
<div class="col-md-2 archive-post-thumb">
|
||||
{if $entry.properties.timeline_image|is_in_string:'<iframe,<embed,<object'}{* we assume this is a video, just emit the contents of the var *}
|
||||
<div>{$entry.properties.timeline_image}</div>
|
||||
@ -31,10 +29,8 @@
|
||||
{$entry.extended|strip_tags|truncate:180:" ..."}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
@ -193,6 +193,13 @@
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
{if !class_exists('serendipity_event_entryproperties')}
|
||||
<div id="search-block" class="row">
|
||||
<div class="col-md-10 col-md-offset-1 alert alert-danger">
|
||||
{$CONST.THEME_EP_NO}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{$CONTENT}
|
||||
{/if}
|
||||
</main>
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: Timeline
|
||||
Author: Don Chambers
|
||||
Date: 2016-04-20
|
||||
Date: 2016-06-14
|
||||
Require Serendipity: 2.0
|
||||
Backend: No
|
||||
Recommended: Yes
|
@ -364,13 +364,13 @@ a, a:focus, a:hover, a:active, button, button:hover {
|
||||
|
||||
.blogstyle-post-body {margin-top:20px;}
|
||||
|
||||
.blogstyle-post-body h2{line-height: 1em; margin-top: 0;}
|
||||
.blogstyle-post-body h2{line-height: 1.2em; margin-top: 0; overflow: hidden;}
|
||||
|
||||
/* archive summary - "view topics" */
|
||||
|
||||
.archives_summary {margin-top:40px;}
|
||||
|
||||
.archives_summary h4{line-height: 1em; margin: 0 0 4px 0;}
|
||||
.archives_summary h4{line-height: 1.2em; margin: 0 0 4px 0; overflow: hidden;}
|
||||
|
||||
.archives_summary hr {margin: 10px 0}
|
||||
|
||||
@ -574,6 +574,8 @@ a, a:focus, a:hover, a:active, button, button:hover {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.timeline .timeline-body h2 {overflow:hidden;}
|
||||
|
||||
.archive-archive_history .timeline .timeline-body {
|
||||
padding: 12px 6px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user