Browse Source

add aboutus page + xml minor changes

11.0
hveficent 2 years ago
parent
commit
7549de8549
6 changed files with 58 additions and 16 deletions
  1. +3
    -2
      forksand_website/__manifest__.py
  2. BIN
      forksand_website/static/description/icon.png
  3. +45
    -0
      forksand_website/views/aboutus.xml
  4. +8
    -12
      forksand_website/views/footer.xml
  5. +1
    -1
      forksand_website/views/home/about.xml
  6. +1
    -1
      forksand_website/views/nav_menu_entries.xml

+ 3
- 2
forksand_website/__manifest__.py View File

@@ -2,10 +2,10 @@
'name': "forksand_website",

'summary': """
forksand website""",
Forksand Website""",

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

BIN
forksand_website/static/description/icon.png View File

Before After
Width: 500  |  Height: 500  |  Size: 20 KiB

+ 45
- 0
forksand_website/views/aboutus.xml View File

@@ -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>

+ 8
- 12
forksand_website/views/footer.xml View File

@@ -18,17 +18,17 @@
<li><a href="/contactus">Contact us</a></li>
</ul>
<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-envelope"></i> <span t-field="res_company.email"></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-2x fa-envelope"></i> <span t-field="res_company.email"></span></li>
</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_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_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_github" t-if="website.social_github"><i class="fa fa-github"/></a>
</h2>
</ul>
</div>
<div class="col-md-4 col-lg-5 col-lg-offset-1">
<h4>
@@ -37,13 +37,9 @@
</h4>
<div>
<p>
We are a team of passionate people whose goal is to improve everyone's
life through disruptive products. We build great products to solve your
business problems.
</p>
<p>
Our products are designed for small to medium size companies willing to optimize
their performance.
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>
<t t-call="website.language_selector"/>


+ 1
- 1
forksand_website/views/home/about.xml View File

@@ -8,7 +8,7 @@
<div class="col-md-12">
<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
Software, Open Source


+ 1
- 1
forksand_website/views/nav_menu_entries.xml View File

@@ -5,7 +5,7 @@
<field name="name">About Us</field>
<field name="url">/aboutus</field>
<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"/>
</record>


Loading…
Cancel
Save