added about us page and settings

This commit is contained in:
Rushabh Mehta
2012-12-27 16:50:24 +05:30
33 changed files with 571 additions and 316 deletions

View File

@@ -21,7 +21,7 @@
<div class="well well-small">
<div class="container-fluid" style="padding-left: 0px; margin-left:-10px; line-height: 2em;">
{% for d in sub_groups %}
<div class="span2">
<div class="span4">
<a href="{{ d.page_name }}">{{ d.name }} ({{ d.count }})</a>
</div>
{% endfor %}

View File

@@ -1 +1 @@
<div class='website-missing-image'><i class='icon-camera'></i></div>
<div class='missing-image'><i class='icon-camera'></i></div>

View File

@@ -0,0 +1,40 @@
{% extends "html/page.html" %}
{% block content %}
<div class="layout-wrapper">
<div class="layout-main">
{% if obj.doc.company_introduction %}
{{ obj.doc.company_introduction }}
{% endif %}
{% if obj.doclist.get({"doctype":"Company History"}) %}
<h3>{{ obj.doc.company_history_heading or "Company History" }}</h3>
<table class="table table-bordered" style="width: 100%; table-layout: fixed">
<tbody>
{% for d in obj.doclist.get({"doctype":"Company History"}) %}
<tr>
<td style="width: 30%; text-align: right"><h4>{{ d.year }}</h4></td>
<td>{{ d.highlight }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% if obj.doclist.get({"doctype":"Employee"}) %}
<h3>{{ obj.doc.team_members_heading or "Team Members" }}</h3>
<table class="table table-bordered" style="width: 100%; table-layout: fixed">
<tbody>
{% for d in obj.doclist.get({"doctype":"Employee"}) %}
<tr>
<td style="text-align:right; width: 30%;">
<img src="{{ d.image }}" style=""></td>
<td><h4>{{ d.employee_name }}</h4>
{{ d.bio }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{{ obj.doc.footer or "" }}
</div>
</div>
{% endblock %}