1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,45 @@ |
1 |
+<?php |
|
2 |
+if (TL_MODE == 'FE') { |
|
3 |
+ $GLOBALS['TL_CSS'][] = 'files/base/layout/css/elements/custom-elements/ce_rsce_timeline.min.css|static'; |
|
4 |
+} |
|
5 |
+?> |
|
6 |
+ |
|
7 |
+<div <?php echo $this->cssID; ?> class="content--element <?php echo $this->class; ?>"> |
|
8 |
+ <div class="ce--inner container force-container"> |
|
9 |
+ <?php if ($this->headline || $this->subline || $this->topline) : ?> |
|
10 |
+ <div class="ce--headline" |
|
11 |
+ data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>"> |
|
12 |
+ <?php if ($this->headline) : ?> |
|
13 |
+ <<?php echo($this->hl); ?>> |
|
14 |
+ <?php if ($this->topline) : ?> |
|
15 |
+ <span class="ce--topline"><?php echo $this->topline; ?></span> |
|
16 |
+ <?php endif; ?> |
|
17 |
+ <?php echo($this->headline); ?> |
|
18 |
+ </<?php echo($this->hl); ?>> |
|
19 |
+ <?php endif; ?> |
|
20 |
+ <?php if ($this->subline) : ?> |
|
21 |
+ <span class=" ce--subline" |
|
22 |
+ data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>"><?php echo $this->subline; ?></span> |
|
23 |
+ <?php endif; ?> |
|
24 |
+ </div> |
|
25 |
+ <?php endif; ?> |
|
26 |
+ <?php if ($this->rows) : ?> |
|
27 |
+ <div class="ce--timeline"> |
|
28 |
+ <?php foreach ($this->rows as $i => $row) : ?> |
|
29 |
+ <div class="year--wrapper row"> |
|
30 |
+ <div class="col-12 col-md-6"> |
|
31 |
+ <div class="year--content"> |
|
32 |
+ <div class="right-col--text" |
|
33 |
+ data-aos="<?php if ($row->animation_type) : ?><?php echo $row->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>"> |
|
34 |
+ <span class="h2"><?php echo $row->year; ?></span> |
|
35 |
+ <div class="year--description"> |
|
36 |
+ <?php echo $row->description; ?> |
|
37 |
+ </div> |
|
38 |
+ </div> |
|
39 |
+ </div> |
|
40 |
+ </div> |
|
41 |
+ </div> |
|
42 |
+ <?php endforeach ?> |
|
43 |
+ </div> |
|
44 |
+ <?php endif; ?> |
|
45 |
+</div></div> |
|
0 | 46 |
\ No newline at end of file |