<section>
|
|
<div class="help-content">
|
<h3 class="info-title smaller" data-id="#pages/timeline">Timeline</h3>
|
<!-- #section:pages/timeline -->
|
<div class="info-section">
|
<ul class="info-list list-unstyled">
|
<li>
|
Timeline page consists of widget boxes and a few extra elements wrapped inside <code>.timeline-container</code>
|
</li>
|
<li>
|
For more info please see:
|
<br />
|
<code data-open-file="html" class="open-file"><span class="brief-show">mustache/app/views/pages/partials/</span>timeline/style_1.mustache</code>
|
</br >
|
<code data-open-file="html" class="open-file"><span class="brief-show">mustache/app/views/pages/partials/</span>timeline/style_2.mustache</code>
|
</li>
|
|
<li>
|
<!-- #section:pages/timeline.label -->
|
Each section starts with
|
<code>.timeline-label</code>
|
<pre data-language="html">
|
<div class="timeline-label">
|
<span class="label label-primary arrowed-in-right label-lg">
|
<b>Today</b>
|
</span>
|
</div>
|
</pre>
|
<!-- /section:pages/timeline.label -->
|
</li>
|
|
<li>
|
<!-- #section:pages/timeline.item -->
|
After <code>.timeline-label</code> is the <code>.timeline-items</code> container
|
which consists of several <code>.timeline-item</code> items:
|
<pre data-language="html">
|
<div class="timeline-items">
|
|
<div class="timeline-item clearfix">
|
<div class="timeline-info">
|
<!-- icon or image -->
|
</div>
|
|
<div class="widget-box transparent">
|
<!-- widget box content -->
|
</div>
|
</div>
|
|
</div>
|
</pre>
|
|
<!-- #section:pages/timeline.info -->
|
A <code>.timeline-info</code> contains an image or an icon (<code>.timeline-indicator</code>)
|
<pre data-language="html">
|
<div class="timeline-info">
|
<i class="timeline-indicator ace-icon fa fa-star btn btn-warning no-hover green"></i>
|
</div>
|
OR
|
<div class="timeline-info">
|
<img src="path/to/avatar" alt="User's Avatar" />
|
<span class="label label-info label-sm">16:22</span>
|
</div>
|
</pre>
|
<!-- /section:pages/timeline.info -->
|
|
<!-- /section:pages/timeline.item -->
|
</li>
|
|
<li>
|
<h3 class="hide" data-id="#pages/timeline.style2">Timeline Style 2</h3>
|
<!-- #section:pages/timeline.style2 -->
|
Second timeline style consists of same elements.
|
<br />
|
You should add
|
<code>.timeline-style2</code> class to
|
<code>.timeline-container</code> element.
|
<!-- /section:pages/timeline.style2 -->
|
</li>
|
</ul>
|
</div>
|
<!-- /section:pages/timeline -->
|
</div>
|
|
</section>
|