- Repo for opensource odoo website theme (since V13.0)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

93 lines
5.0 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template name="Timeline" id="s_timeline">
<section class="s_timeline pt24 pb48">
<div class="container s_timeline_line">
<div class="s_timeline_row d-flex flex-row">
<div class="s_timeline_content d-flex">
<div class="s_card card bg-white w-100">
<div class="card-body">
<h5 class="card-title">Your title</h5>
<p class="card-text">A timeline is a graphical representation on which important events are marked.</p>
</div>
<div class="card-footer">
<i class="fa fa-info-circle mr-1"/> <small>An additional information</small>
</div>
</div>
<i class="fa fa-1x fa-child bg-beta rounded-circle s_timeline_icon"/>
</div>
<div class="s_timeline_date"><span class="bg-white"><b>2019</b></span></div>
<div class="s_timeline_content"/>
</div>
<div class="s_timeline_row d-flex flex-row">
<div class="s_timeline_content d-flex">
<div class="s_card card bg-white w-100">
<div class="card-body">
<p class="card-text">You can edit, duplicate...</p>
</div>
<div class="card-footer">
<i class="fa fa-info-circle mr-1"/> <small>An additional information</small>
</div>
</div>
<i class="fa fa-1x fa-graduation-cap bg-gamma rounded-circle s_timeline_icon"/>
</div>
<div class="s_timeline_date"><span class="bg-white"><b>2018</b></span></div>
<div class="s_timeline_content d-flex">
<i class="fa fa-1x fa-asterisk bg-alpha rounded-circle s_timeline_icon"/>
<div class="s_card card bg-white w-100">
<div class="card-body">
<p class="card-text">...and switch the timeline contents to fit your needs.</p>
</div>
<div class="card-footer">
<i class="fa fa-info-circle mr-1"/> <small>An additional information</small>
</div>
</div>
</div>
</div>
<div class="s_timeline_row d-flex flex-row-reverse">
<div class="s_timeline_content d-flex">
<div class="s_card card bg-white w-100">
<div class="card-body">
<p class="card-text">Use this timeline as a part of your resume, to show your visitors what you've done in the past.</p>
</div>
</div>
<i class="fa fa-1x fa-bolt bg-gamma rounded s_timeline_icon"/>
</div>
<div class="s_timeline_date"><span class="bg-white"><b>2015</b></span></div>
<div class="s_timeline_content"/>
</div>
<div class="s_timeline_row d-flex flex-row">
<div class="s_timeline_content d-flex">
<div class="s_card card bg-white w-100">
<div class="card-body">
<p class="card-text">Edit this text and change it with your content.</p>
</div>
</div>
</div>
<div class="s_timeline_date"><i class="fa fa-1x fa-edit img-thumbnail text-primary"/></div>
<div class="s_timeline_content d-flex">
<div class="s_card card bg-white w-100">
<div class="card-body">
<p class="card-text" style="text-align: right;">Double-click an icon to change it.</p>
</div>
</div>
</div>
</div>
</div>
</section>
</template>
<template id="options_s_timeline" inherit_id="website.snippet_options">
<xpath expr="." position="inside">
<div data-selector=".s_timeline_row" data-drop-near=".s_timeline_row">
<we-collapse-area>
<we-toggler><i class="fa fa-fw fa-align-left"/> Position</we-toggler>
<we-collapse>
<we-button data-select-class="flex-row">Left</we-button>
<we-button data-select-class="flex-row-reverse">Right</we-button>
</we-collapse>
</we-collapse-area>
</div>
</xpath>
</template>
</odoo>