Blame view

docs/sections/pages/timeline.html 2.45 KB
5a739853   patrick.he   commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
  <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>