added wesite slideshow and attributions on website
diff --git a/website/templates/html/outer.html b/website/templates/html/outer.html
index fcd65f9..aef91a9 100644
--- a/website/templates/html/outer.html
+++ b/website/templates/html/outer.html
@@ -1,5 +1,5 @@
{#
- requires, brand, top_bar_items, footer_items, copyright, content
+ requires, brand_html, top_bar_items, footer_items, copyright, content, address
#}
{% extends "html/base.html" %}
@@ -13,7 +13,7 @@
style="margin-bottom: 0px;">
<div class="navbar-inner">
<div class="container">
- <a class="brand" href="index.html">{{ brand }}</a>
+ <a class="brand" href="index.html">{{ brand_html }}</a>
<ul class="nav">
{% for page in top_bar_items %}
{% if not page.parent_label %}
@@ -77,7 +77,10 @@
{% if copyright %}
<div class="web-footer-copyright">© {{ copyright }}</div>
{% endif %}
- <div class="web-footer-powered">Powered by <a href="https://erpnext.com">ERPNext.com</a></div>
+ {% if address %}
+ {{ address }}
+ {% endif %}
+ <p><a style="font-size: 90%;" href="attributions.html">ERPNext Powered</a></p>
</div>
</footer>
diff --git a/website/templates/html/web_page.html b/website/templates/html/web_page.html
index 6fa7d27..78da963 100644
--- a/website/templates/html/web_page.html
+++ b/website/templates/html/web_page.html
@@ -9,21 +9,30 @@
{% block content %}
<div class="layout-wrapper layout-wrapper-background">
<div class="web-content" style="text-align: {{ text_align }};">
-
- {% if layout and layout.startswith('Two column') %}
- <div class="layout-main-section">
- {% else %}
<div class="layout-main">
- {% endif %}
- {{ main_section_html }}
+ {% if slideshow %}
+ {{ slideshow_header }}
+ <div id="myCarousel" class="carousel slide">
+ <div class="carousel-inner">
+ {% for slide in obj.slides %}
+ <div class="{% if slide.idx==1 %}active {% endif %}item">
+ <img src="{{ slide.image }}" />
+ <div class="carousel-caption">
+ <h4>{{ slide.heading }}</h4>
+ <p>{{ slide.description }}</p>
+ </div>
+ </div>
+ {% endfor %}
+ </div>
+ <a class="carousel-control left" href="#myCarousel"
+ data-slide="prev">‹</a>
+ <a class="carousel-control right" href="#myCarousel"
+ data-slide="next">›</a>
+ </div>
+ <script>$(".carousel").carousel();</script>
+ {% endif %}
+ {{ main_section }}
</div>
-
- {% if layout and layout.startswith('Two column') %}
- <div class="layout-side-section">
- {{ side_section_html }}
- </div>
- {% endif %}
- <div style="clear: both"></div>
</div>
</div>
{% endblock %}
\ No newline at end of file
diff --git a/website/templates/pages/attributions.html b/website/templates/pages/attributions.html
new file mode 100644
index 0000000..bc9d368
--- /dev/null
+++ b/website/templates/pages/attributions.html
@@ -0,0 +1,112 @@
+{% extends "html/outer.html" %}
+
+{% block header %}
+<style>
+.layout-attributions td:first-child {
+ width: 30%;
+}
+</style>
+{% endblock %}
+
+{% block title %}
+ ERPNext - Web Based, Open Source ERP
+{% endblock %}
+
+{% block content %}
+<div class="layout-attributions">
+ <div class="layout-main">
+ <h3>This website is made using these Awesome Open Source Projects <i class="icon-heart" style="color: red"></i></h3>
+ <hr>
+ <table class="table table-bordered table-striped">
+ <tbody>
+ <tr>
+ <td><a href="https://github.com/webnotes/erpnext">ERPNext</a></td>
+ <td>Web based, Open Source ERP. <br>
+ Get top class hosting and support at <a href="https://erpnext.com">ERPNext.com</a></td>
+ </tr>
+ <tr>
+ <td><a href="https://github.com/webnotes/wnframework">wnframework</a></td>
+ <td>The full stack Python + Javascript web application framework on which ERPNext is built.</td>
+ </tr>
+ <tr>
+ <td><a href="http://en.wikipedia.org/wiki/Linux">Linux Operating System</a></td>
+ <td>The operating system that brought a revolution in Open Source software.</td>
+ </tr>
+ <tr>
+ <td><a href="http://www.mysql.com/">MySQL Database</a></td>
+ <td>The world's most popular Open Source Database.</td>
+ </tr>
+ <tr>
+ <td><a href="http://httpd.apache.org">Apache HTTPD web server</a></td>
+ <td>The Number One HTTP Server On The Internet.</td>
+ </tr>
+ <tr>
+ <td><a href="http://python.org/">Python Programming Language</a></td>
+ <td>The "batteries included" language that lets you write elegant code, quickly.<br><br>Python Libraries:
+ <ul>
+ <li>MySQLdb
+ <li>pytz
+ <li>jinja2
+ <li>markdown2
+ <li>dateutil
+ <li>termcolor
+ <li>python-memcached
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td><a href="http://git-scm.com/">Git - Source Code Management</a></td>
+ <td>Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.<br><br>
+ Kindly hosted on the web by <a href="https://github.com">GitHub</a>: The service that makes it easier for individuals and teams to write better code, faster. </td>
+ </tr>
+ <tr>
+ <td><a href="http://jquery.com/">JQuery Javascript Libary</a></td>
+ <td>The write less, do more Javascript Library.</td>
+ </tr>
+ <tr>
+ <td><a href="http://jqueryui.com/">JQuery UI - User Interface Library</a></td>
+ <td>A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.</td>
+ </tr>
+ <tr>
+ <td><a href="http://twitter.github.com/bootstrap/index.html">Bootstrap CSS Framework</a></td>
+ <td>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</td>
+ </tr>
+ <tr>
+ <td><a href="http://fortawesome.github.com/Font-Awesome/">Font Awesome - Icons</a></td>
+ <td>The iconic font designed for use with Twitter Bootstrap.</td>
+ </tr>
+ <tr>
+ <td><a href="http://www.tinymce.com/">TinyMCE Rich Text Editor</a></td>
+ <td>TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB.</td>
+ </tr>
+ <tr>
+ <td><a href="https://github.com/mleibman/SlickGrid">SlickGrid</a></td>
+ <td>A lightning fast JavaScript grid/spreadsheet.</td>
+ </tr>
+ <tr>
+ <td><a href="http://www.flotcharts.org/">Flot Charting Library</a></td>
+ <td>Attractive JavaScript plotting for jQuery.</td>
+ </tr>
+ <tr>
+ <td><a href="http://ace.ajax.org/">Ace Code Editor</a></td>
+ <td>High Performance Code Editor for the web.</td>
+ </tr>
+ <tr>
+ <td><a href="http://taitems.github.com/jQuery.Gantt/">JQuery.Gantt - Gantt Charts</a></td>
+ <td>Draw Gantt charts with the famous jQuery ease of development.</td>
+ </tr>
+ <tr>
+ <td><a href="http://jscolor.com/">JSColor - Color Picker</a></td>
+ <td>HTML/Javascript Color Picker.</td>
+ </tr>
+ <tr>
+ <td><a href="https://github.com/dcneiner/Downloadify">Downloadify - Flash Download Widget</a></td>
+ <td>A tiny javascript + Flash library that enables the creation and download of text files without server interaction.</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <p class="alert">Note: A link to this page must be easily accessible.</p>
+ </div>
+</div>
+{% endblock %}
\ No newline at end of file