Browse Source

[CHNG] Name and index

pull/29/head
SHEREEF PT 8 years ago
parent
commit
5714f6e226
  1. 2
      user_weather_map/__manifest__.py
  2. 48
      user_weather_map/__manifest__.py~
  3. 387
      user_weather_map/static/description/index.html

2
user_weather_map/__manifest__.py

@ -22,7 +22,7 @@
# #
############################################################################## ##############################################################################
{ {
'name': 'User Weather Map', 'name': 'User Weather Notification',
'version': '10.0.1.0', 'version': '10.0.1.0',
'summary': """Get User's Weather From OpenWeatherMap Automatically.""", 'summary': """Get User's Weather From OpenWeatherMap Automatically.""",
'description': """Get User's Weather and Temperature From OpenWeatherMap Automatically.""", 'description': """Get User's Weather and Temperature From OpenWeatherMap Automatically.""",

48
user_weather_map/__manifest__.py~

@ -0,0 +1,48 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Nikhil krishnan(<https://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'User Weather Map',
'version': '10.0.1.0',
'summary': """Get User's Weather From OpenWeatherMap Automatically.""",
'description': """Get User's Weather and Temperature From OpenWeatherMap Automatically.""",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'website': 'http://www.cybrosys.com',
'category': 'Tools',
'depends': ['base'],
'external_dependencies': {'python': ['pytemperature']},
'license': 'LGPL-3',
'data': [
'security/ir.model.access.csv',
'views/weather_template.xml',
'views/weather_conf.xml',
],
'demo': [],
'qweb': [
"static/src/xml/weather_topbar.xml",
],
'images': ['static/description/banner.jpg'],
'installable': True,
'auto_install': False,
}

387
user_weather_map/static/description/index.html

@ -1,222 +1,233 @@
<section class="oe_container"> <section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">User Weather Notification</h2>
<h3 class="oe_slogan">Real time Weather updates</h3>
<h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h4>
<div>
<h4><p>Features:</p></h4>
<ul>
<li style="list-style:none !important;"><span style="color:green;"> &#9745;</span>&nbsp;&nbsp; The user will get the weather notification.</li>
<li style="list-style:none !important;">
<span style="color:green;"> &#9745;</span>&nbsp;&nbsp; The user can configure their weather notification.
</li>
</ul>
</div>
<div>
<h4><p>Required:</p></h4>
<ul>
<li style="list-style:none !important;"><span style="color:red;"> &#9745;</span>&nbsp;&nbsp; Account in Open Weather Map and its API Key.</li>
<li style="list-style:none !important;">
<span style="color:red;"> &#9745;</span>&nbsp;&nbsp; 'pytemperature' python package is needed. please install in ubuntu by using ==> pip install pytemperature.
</li>
</ul>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h3 class="oe_slogan">Overview</h3>
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<div class="oe_span12"> <h2 class="oe_slogan">User Weather Notification</h2>
<p class="oe_mt32"> <h3 class="oe_slogan">Real time Weather updates</h3>
As we know, many industries are depending on weather conditions like manufacturing, <h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h4>
Event Management, Construction etc. So we believe our concept of weather module can be used <div>
in these industries to understand and plan their works according to the weather condition. <h4><p>Features:</p></h4>
This module is a starter to think and explore the opportunity to bring the advanced features <ul>
in Odoo. <li style="list-style:none !important;"><span style="color:green;"> &#9745;</span>&nbsp;&nbsp; The user will get the weather notification.</li>
</p> <li style="list-style:none !important;">
</div> <span style="color:green;"> &#9745;</span>&nbsp;&nbsp; The user can configure their weather notification.
</li>
</ul>
</div>
<div>
<h4><p>Required:</p></h4>
<ul>
<li style="list-style:none !important;"><span style="color:red;"> &#9745;</span>&nbsp;&nbsp; Account in Open Weather Map and its API Key.</li>
<li style="list-style:none !important;">
<span style="color:red;"> &#9745;</span>&nbsp;&nbsp; 'pytemperature' python package is needed. please install in ubuntu by using ==> pip install pytemperature.
</li>
</ul>
</div>
</div> </div>
</div> </section>
</section>
<section class="oe_container oe_dark">
<section class="oe_container"> <div class="oe_row oe_spaced">
<div class="oe_row oe_spaced"> <h3 class="oe_slogan">Overview</h3>
<h3 class="oe_slogan">Weather notification in Odoo</h3> <div class="oe_row oe_spaced">
<div class="oe_row oe_spaced"> <div class="oe_span12">
<div class="oe_span12"> <p class="oe_mt32">
<div class="oe_row_img oe_centered"> As we know, many industries are depending on weather conditions like manufacturing,
<img class="oe_picture oe_screenshot" src="weather Board.png"> Event Management, Construction etc. So we believe our concept of weather module can be used
</div> in these industries to understand and plan their works according to the weather condition.
This module is a starter to think and explore the opportunity to bring the advanced features
in Odoo.
</p>
</div>
</div> </div>
</div>
</section>
<div class="oe_span12">
<p class="oe_mt32"/>
<p class="oe_mt32">
User can easily find the weather report from a single click. Summary of the weather
conditions is displayed on the weather board. The user will easily get weather updates,
state of climate and current temperature etc..
</p>
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark"> <section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Enjoy advanced and automated weather update</h2> <h3 class="oe_slogan">Weather notification in Odoo</h3>
<h3 class="oe_slogan">The most advanced weather notification in a very simple user interface <div class="oe_row oe_spaced">
</h3> <div class="oe_span12">
<p class="oe_mt32 oe_mb64 lead text-center"> <div class="oe_row_img oe_centered">
Avoid search for weather updates, get it in a single click. <img class="oe_picture oe_screenshot" src="weather Board.png">
This module integrates the weather into the Odoo system. </div>
</p> </div>
<div class="oe_span4">
<div class="text-center">
<span class="fa fa-users fa-4x"/>
<h4 class="oe_mt16 oe_mb16">
<b>Users</b>
</h4>
</div>
<p class="text-justify">
Nowadays everyone is searching temperature and weather conditions in their city or any other
location by using search engines, here we have a very flexible way to find out it easily through
our module without any surfing.
</p>
</div>
<div class="oe_span4">
<div class="text-center">
<span class="fa fa-cog fa-4x"/>
<h4 class="oe_mt16 oe_mb16">
<b>Settings</b>
</h4>
</div>
<p class="text-justify">
User can specify their current location or any location by providing address or coordinates.
</p>
</div>
<div class="oe_span4">
<div class="text-center">
<span class="fa fa-circle-o fa-4x" style="color:#875a7b;"/>
<span class="fa fa-long-arrow-left fa-3x"/>
<span class="fa fa-cloud fa-4x" style="color:#ce671c;"/>
<h4 class="oe_mt16 oe_mb16">
<b>Open Weather Map</b>
</h4>
</div>
<p class="text-justify">
openweathermap.org is providing weather APIs calls and response. Odoo is using this API and provides
you the best result by the help of our application.
</p>
</div>
</div>
</section>
<section class="oe_container"> <div class="oe_span12">
<div class="oe_row oe_spaced"> <p class="oe_mt32"/>
<h3 class="oe_slogan">How to configure your weather?</h3> <p class="oe_mt32">
User can easily find the weather report from a single click. Summary of the weather
conditions is displayed on the weather board. The user will easily get weather updates,
state of climate and current temperature etc..
</p>
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<div class="oe_span12"> <h2 class="oe_slogan" style="color:#875A7B;">Enjoy advanced and automated weather update</h2>
<div class="oe_row_img oe_centered"> <h3 class="oe_slogan">The most advanced weather notification in a very simple user interface
<img class="oe_picture oe_screenshot" src="settings.png"> </h3>
<p class="oe_mt32 oe_mb64 lead text-center">
Avoid search for weather updates, get it in a single click.
This module integrates the weather into the Odoo system.
</p>
<div class="oe_span4">
<div class="text-center">
<span class="fa fa-users fa-4x"/>
<h4 class="oe_mt16 oe_mb16">
<b>Users</b>
</h4>
</div> </div>
<p class="oe_mt32"> <p class="text-justify">
Click on the setting (<span class="fa fa-cog fa-1x"/>) button. Nowadays everyone is searching temperature and weather conditions in their city or any other
location by using search engines, here we have a very flexible way to find out it easily through
our module without any surfing.
</p> </p>
</div> </div>
<div class="oe_span12"> <div class="oe_span4">
<div class="oe_row_img oe_centered"> <div class="text-center">
<img class="oe_picture oe_screenshot" src="config.png"> <span class="fa fa-cog fa-4x"/>
<h4 class="oe_mt16 oe_mb16">
<b>Settings</b>
</h4>
</div> </div>
</div> <p class="text-justify">
<div class="oe_span12"> User can specify their current location or any location by providing address or coordinates.
<p class="oe_mt32">
Users can give address of the place or coordinates by selecting the type,
<p>
If you are selecting the address type, please provide the address and If it is coordinate,
then give the correct longitude and latitude.
</p>
</p> </p>
<p class="oe_mt32"> </div>
Provide the correct API key received from the OpenWeatherMap site. <div class="oe_span4">
<div class="text-center">
<span class="fa fa-circle-o fa-4x" style="color:#875a7b;"/>
<span class="fa fa-long-arrow-left fa-3x"/>
<span class="fa fa-cloud fa-4x" style="color:#ce671c;"/>
<h4 class="oe_mt16 oe_mb16">
<b>Open Weather Map</b>
</h4>
</div>
<p class="text-justify">
openweathermap.org is providing weather APIs calls and response. Odoo is using this API and provides
you the best result by the help of our application.
</p> </p>
</div> </div>
</div> </div>
</div> </section>
</section>
<section class="oe_container oe_dark"> <section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h3 class="oe_slogan">How to get API KEY?</h3> <h3 class="oe_slogan">How to configure your weather?</h3>
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
Click on the Sing up (<span class="fa fa-sign-in fa-1x"/>) button. <div class="oe_span12">
</div> <div class="oe_row_img oe_centered">
<div class="oe_row oe_spaced"> <img class="oe_picture oe_screenshot" src="settings.png">
<div class="oe_span12"> </div>
<div class="oe_row_img oe_centered"> <p class="oe_mt32">
<img class="oe_picture oe_screenshot" src="sign up.png"> Click on the setting (<span class="fa fa-cog fa-1x"/>) button.
</p>
</div>
<div class="oe_span12">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="config.png">
</div>
</div>
<div class="oe_span12">
<p class="oe_mt32">
Users can give address of the place or coordinates by selecting the type,
<p>
If you are selecting the address type, please provide the address and If it is coordinate,
then give the correct longitude and latitude.
</p>
</p>
<p class="oe_mt32">
Provide the correct API key received from the OpenWeatherMap site.
</p>
</div> </div>
</div> </div>
</div> </div>
<div class="oe_row oe_spaced"> </section>
It will go to the account creation page of Open Weather Map
</div> <section class="oe_container oe_dark">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<div class="oe_span12"> <h3 class="oe_slogan">How to get API KEY?</h3>
<div class="oe_row_img oe_centered"> <div class="oe_row oe_spaced">
<img class="oe_picture oe_screenshot" src="sign_up_weather_map.png"> Click on the Sing up (<span class="fa fa-sign-in fa-1x"/>) button.
</div>
<div class="oe_row oe_spaced">
<div class="oe_span12">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="sign up.png">
</div>
</div> </div>
</div> </div>
</div> </div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
Fill the required fields and create an account. <div class="oe_row oe_spaced">
</div> It will go to the account creation page of Open Weather Map
<div class="oe_row oe_spaced"> </div>
<div class="oe_span12"> <div class="oe_row oe_spaced">
<div class="oe_row_img oe_centered"> <div class="oe_span12">
<img class="oe_picture oe_screenshot" src="fill.png"> <div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="sign_up_weather_map.png">
</div>
</div> </div>
</div> </div>
</div> </div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
Once we created the account, we can use the default API Key providing by Open Weather Map or <div class="oe_row oe_spaced">
else you have an option for generating your own API Key manually. Fill the required fields and create an account.
</div>
<div class="oe_row oe_spaced">
<div class="oe_span12">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="fill.png">
</div>
</div>
</div>
</div> </div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<div class="oe_span12"> <div class="oe_row oe_spaced">
<div class="oe_row_img oe_centered"> Once we created the account, we can use the default API Key providing by Open Weather Map or
<img class="oe_picture oe_screenshot" src="api.png"> else you have an option for generating your own API Key manually.
</div>
<div class="oe_row oe_spaced">
<div class="oe_span12">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="api.png">
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </section>
</section> <section class="oe_container oe_dark">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2>
<section class="oe_container"> <div class="oe_slogan" style="margin-top:10px !important;">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2> <div>
<div class="oe_slogan" style="margin-top:10px !important;"> <a class="btn btn-primary btn-lg mt8"
<div> style="color: #FFFFFF !important;border-radius: 0;" href="http://www.cybrosys.com"><i
<a class="btn btn-primary btn-lg mt8" class="fa fa-envelope"></i> Email </a> <a
style="color: #FFFFFF !important;border-radius: 0;" href="http://www.cybrosys.com"><i class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
class="fa fa-envelope"></i> Email </a> <a href="http://www.cybrosys.com/contact/"><i
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;" class="fa fa-phone"></i> Contact Us </a> <a
href="http://www.cybrosys.com/contact/"><i class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
class="fa fa-phone"></i> Contact Us </a> <a href="http://www.cybrosys.com/odoo-customization-and-installation/"><i
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;" class="fa fa-check-square"></i> Request Customization </a>
href="http://www.cybrosys.com/odoo-customization-and-installation/"><i </div>
class="fa fa-check-square"></i> Request Customization </a> <br>
</div> <img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block">
<br> <div>
<img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block"> <a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;"></i></a></td>
<div> <a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;"></i></a></td> <a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px;padding-left: 8px;"></i></a></td>
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;padding-left: 3px;"></i></a></td> <a href="https://plus.google.com/106641282743045431892/about" target="_blank"><i class="fa fa-2x fa-google-plus" style="color:white;background: #c53c2c;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px;padding-left: 8px;"></i></a></td> <a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://plus.google.com/106641282743045431892/about" target="_blank"><i class="fa fa-2x fa-google-plus" style="color:white;background: #c53c2c;width:35px;padding-left: 3px;"></i></a></td> </div>
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;padding-left: 3px;"></i></a></td>
</div> </div>
</div> </section>
</section>

Loading…
Cancel
Save