add aboutus page + xml minor changes

11.0
hveficent 6 years ago
parent c98ae5e08e
commit 7549de8549

@ -2,10 +2,10 @@
'name': "forksand_website", 'name': "forksand_website",
'summary': """ 'summary': """
forksand website""", Forksand Website""",
'description': """ 'description': """
Long description of module's purpose This module add forksand content to Odoo website
""", """,
'author': "Héctor Villarreal Ortega", 'author': "Héctor Villarreal Ortega",
'website': "https://eficent.io", 'website': "https://eficent.io",
@ -27,6 +27,7 @@
'views/home/media.xml', 'views/home/media.xml',
'views/home/contact.xml', 'views/home/contact.xml',
'views/nav_menu_entries.xml', 'views/nav_menu_entries.xml',
'views/aboutus.xml',
'views/footer.xml', 'views/footer.xml',
], ],
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="aboutus_forksand" inherit_id="website.aboutus"
name="About us">
<xpath expr="//div[@id='wrap']" position="replace">
<section>
<div class="container">
<div class="row">
<div class="col-md-12">
<h1 class="text-center">About Us
</h1>
<h3 class="text-muted text-center">
Free hardware designs and software
</h3>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<div class="row">
<div class="col-md-6 mt32">
<p>
Fork Sand, Inc. is a free Software, Open Source Hardware company
developing secure computing devices that guard user's privacy.
</p>
<p>
All of their hardware designs and software will be published under
Free Software (typically GPLv3+) and Open Source Hardware licenses
(like) CC By SA 4.0).
</p>
</div>
<div class="col-md-4 col-md-offset-2 mt16 mb16">
<img src="/website/static/src/img/library/business_conference.jpg"
class="img img-responsive shadow"
alt="Our Team"/>
</div>
</div>
</div>
</section>
</xpath>
</template>
</odoo>

@ -18,17 +18,17 @@
<li><a href="/contactus">Contact us</a></li> <li><a href="/contactus">Contact us</a></li>
</ul> </ul>
<ul class="list-unstyled"> <ul class="list-unstyled">
<li t-ignore="true"><i class="fa fa-phone"></i> <span t-field="res_company.phone"></span></li> <li t-ignore="true"><i class="fa fa-2x fa-phone"></i> <span t-field="res_company.phone"></span></li>
<li t-ignore="true"><i class="fa fa-envelope"></i> <span t-field="res_company.email"></span></li> <li t-ignore="true"><i class="fa fa-2x fa-envelope"></i> <span t-field="res_company.email"></span></li>
</ul> </ul>
<h2> <ul class="list-unstyled">
<a t-att-href="website.social_facebook" t-if="website.social_facebook"><i class="fa fa-facebook-square"/></a> <a t-att-href="website.social_facebook" t-if="website.social_facebook"><i class="fa fa-facebook-square"/></a>
<a t-att-href="website.social_twitter" t-if="website.social_twitter"><i class="fa fa-twitter"/></a> <a t-att-href="website.social_twitter" t-if="website.social_twitter"><i class="fa fa-2x fa-twitter"/></a>
<a t-att-href="website.social_linkedin" t-if="website.social_linkedin"><i class="fa fa-linkedin"/></a> <a t-att-href="website.social_linkedin" t-if="website.social_linkedin"><i class="fa fa-linkedin"/></a>
<a t-att-href="website.social_youtube" t-if="website.social_youtube"><i class="fa fa-youtube-play"/></a> <a t-att-href="website.social_youtube" t-if="website.social_youtube"><i class="fa fa-youtube-play"/></a>
<a t-att-href="website.social_googleplus" t-if="website.social_googleplus" rel="publisher"><i class="fa fa-google-plus-square"/></a> <a t-att-href="website.social_googleplus" t-if="website.social_googleplus" rel="publisher"><i class="fa fa-google-plus-square"/></a>
<a t-att-href="website.social_github" t-if="website.social_github"><i class="fa fa-github"/></a> <a t-att-href="website.social_github" t-if="website.social_github"><i class="fa fa-github"/></a>
</h2> </ul>
</div> </div>
<div class="col-md-4 col-lg-5 col-lg-offset-1"> <div class="col-md-4 col-lg-5 col-lg-offset-1">
<h4> <h4>
@ -37,13 +37,9 @@
</h4> </h4>
<div> <div>
<p> <p>
We are a team of passionate people whose goal is to improve everyone's All of their hardware designs and software will be published under
life through disruptive products. We build great products to solve your Free Software (typically GPLv3+) and Open Source Hardware licenses
business problems. (like) CC By SA 4.0).
</p>
<p>
Our products are designed for small to medium size companies willing to optimize
their performance.
</p> </p>
</div> </div>
<t t-call="website.language_selector"/> <t t-call="website.language_selector"/>

@ -8,7 +8,7 @@
<div class="col-md-12"> <div class="col-md-12">
<div class="title text-center"> <div class="title text-center">
<h1 class="Brown">About Us</h1> <!--<h1 class="Brown">About Us</h1>-->
<div class="myHeading">Fork Sand, Inc. is a free <div class="myHeading">Fork Sand, Inc. is a free
Software, Open Source Software, Open Source

@ -5,7 +5,7 @@
<field name="name">About Us</field> <field name="name">About Us</field>
<field name="url">/aboutus</field> <field name="url">/aboutus</field>
<field name="parent_id" ref="website.main_menu" /> <field name="parent_id" ref="website.main_menu" />
<field name="sequence" type="int">45</field> <field name="sequence" type="int">15</field>
<field name="website_id" ref="website.default_website"/> <field name="website_id" ref="website.default_website"/>
</record> </record>

Loading…
Cancel
Save