overflow auto
0
best/__init__.py
Normal file → Executable file
0
best/clear_inbox.py
Normal file → Executable file
0
best/json/routes.json
Normal file → Executable file
0
best/json/stopbus.json
Normal file → Executable file
0
best/json/stoplist.json
Normal file → Executable file
0
best/manage.py
Normal file → Executable file
0
best/my_project_visualized.png
Normal file → Executable file
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 278 KiB |
0
best/new_best/__init__.py
Normal file → Executable file
0
best/new_best/admin.py
Normal file → Executable file
0
best/new_best/handlers/__init__.py
Normal file → Executable file
0
best/new_best/handlers/bus.py
Normal file → Executable file
0
best/new_best/handlers/bus.py.old
Normal file → Executable file
0
best/new_best/models.py
Normal file → Executable file
0
best/new_best/modelsOld.py
Normal file → Executable file
0
best/new_best/tests.py
Normal file → Executable file
0
best/new_best/views.py
Normal file → Executable file
14
best/settings.py
Normal file → Executable file
|
@ -155,6 +155,20 @@ TEMPLATE_CONTEXT_PROCESSORS = [
|
|||
"django.core.context_processors.request",
|
||||
]
|
||||
|
||||
TEMPLATE_LOADERS = (
|
||||
'django.template.loaders.filesystem.Loader',
|
||||
'django.template.loaders.app_directories.Loader',
|
||||
'django.template.loaders.eggs.Loader',
|
||||
)
|
||||
|
||||
|
||||
TEMPLATE_DIRS = (
|
||||
join(PROJECT_PATH, "templates"),
|
||||
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
|
||||
# Always use forward slashes, even on Windows.
|
||||
# Don't forget to use absolute paths, not relative paths.
|
||||
)
|
||||
|
||||
|
||||
# -------------------------------------------------------------------- #
|
||||
# HERE BE DRAGONS! #
|
||||
|
|
0
best/smsmesn/__init__.py
Normal file → Executable file
0
best/smsmesn/handlers/__init__.py
Normal file → Executable file
0
best/smsmesn/handlers/fromto.py
Normal file → Executable file
0
best/smsmesn/handlers/route.py
Normal file → Executable file
0
best/smsmesn/handlers/stop.py
Normal file → Executable file
0
best/smsmesn/models.py
Normal file → Executable file
0
best/smsmesn/tests.py
Normal file → Executable file
0
best/smsmesn/views.py
Normal file → Executable file
0
best/static/rapidsms/icons/silk/accept--dull.png
Normal file → Executable file
Before Width: | Height: | Size: 691 B After Width: | Height: | Size: 691 B |
0
best/static/rapidsms/icons/silk/accept.png
Normal file → Executable file
Before Width: | Height: | Size: 781 B After Width: | Height: | Size: 781 B |
0
best/static/rapidsms/icons/silk/add.png
Normal file → Executable file
Before Width: | Height: | Size: 733 B After Width: | Height: | Size: 733 B |
0
best/static/rapidsms/icons/silk/building.png
Normal file → Executable file
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 556 B |
0
best/static/rapidsms/icons/silk/bullet_white.png
Normal file → Executable file
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 201 B |
0
best/static/rapidsms/icons/silk/decline.png
Normal file → Executable file
Before Width: | Height: | Size: 781 B After Width: | Height: | Size: 781 B |
0
best/static/rapidsms/icons/silk/delete.png
Normal file → Executable file
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 715 B |
0
best/static/rapidsms/icons/silk/email.png
Normal file → Executable file
Before Width: | Height: | Size: 641 B After Width: | Height: | Size: 641 B |
0
best/static/rapidsms/icons/silk/email_error.png
Normal file → Executable file
Before Width: | Height: | Size: 792 B After Width: | Height: | Size: 792 B |
0
best/static/rapidsms/icons/silk/email_go.png
Normal file → Executable file
Before Width: | Height: | Size: 754 B After Width: | Height: | Size: 754 B |
0
best/static/rapidsms/icons/silk/email_open.png
Normal file → Executable file
Before Width: | Height: | Size: 783 B After Width: | Height: | Size: 783 B |
0
best/static/rapidsms/icons/silk/exclamation.png
Normal file → Executable file
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 701 B |
0
best/static/rapidsms/icons/silk/help.png
Normal file → Executable file
Before Width: | Height: | Size: 786 B After Width: | Height: | Size: 786 B |
0
best/static/rapidsms/icons/silk/magnifier.png
Normal file → Executable file
Before Width: | Height: | Size: 615 B After Width: | Height: | Size: 615 B |
0
best/static/rapidsms/icons/silk/package_add.png
Normal file → Executable file
Before Width: | Height: | Size: 899 B After Width: | Height: | Size: 899 B |
0
best/static/rapidsms/icons/silk/package_go.png
Normal file → Executable file
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 898 B |
0
best/static/rapidsms/icons/silk/phone.png
Normal file → Executable file
Before Width: | Height: | Size: 488 B After Width: | Height: | Size: 488 B |
0
best/static/rapidsms/icons/silk/reload.png
Normal file → Executable file
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 643 B |
0
best/static/rapidsms/icons/silk/resultset_first.png
Normal file → Executable file
Before Width: | Height: | Size: 836 B After Width: | Height: | Size: 836 B |
0
best/static/rapidsms/icons/silk/resultset_last.png
Normal file → Executable file
Before Width: | Height: | Size: 827 B After Width: | Height: | Size: 827 B |
0
best/static/rapidsms/icons/silk/resultset_next.png
Normal file → Executable file
Before Width: | Height: | Size: 600 B After Width: | Height: | Size: 600 B |
0
best/static/rapidsms/icons/silk/resultset_previous.png
Normal file → Executable file
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 597 B |
0
best/static/rapidsms/icons/silk/section_collapsed--bright.png
Normal file → Executable file
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
0
best/static/rapidsms/icons/silk/section_expanded--bright.png
Normal file → Executable file
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 271 B |
0
best/static/rapidsms/icons/silk/sort_ascending.png
Normal file → Executable file
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 506 B |
0
best/static/rapidsms/icons/silk/sort_descending.png
Normal file → Executable file
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 509 B |
0
best/static/rapidsms/icons/silk/user.png
Normal file → Executable file
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
0
best/static/rapidsms/images/bessms_header07d.png
Normal file → Executable file
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
0
best/static/rapidsms/images/bestsms_header_final.jpg
Normal file → Executable file
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
0
best/static/rapidsms/images/big-arrows/down.png
Normal file → Executable file
Before Width: | Height: | Size: 876 B After Width: | Height: | Size: 876 B |
0
best/static/rapidsms/images/big-arrows/error.png
Normal file → Executable file
Before Width: | Height: | Size: 774 B After Width: | Height: | Size: 774 B |
0
best/static/rapidsms/images/big-arrows/left.png
Normal file → Executable file
Before Width: | Height: | Size: 783 B After Width: | Height: | Size: 783 B |
0
best/static/rapidsms/images/big-arrows/right.png
Normal file → Executable file
Before Width: | Height: | Size: 806 B After Width: | Height: | Size: 806 B |
0
best/static/rapidsms/images/big-arrows/source.xcf
Normal file → Executable file
0
best/static/rapidsms/images/big-arrows/up.png
Normal file → Executable file
Before Width: | Height: | Size: 737 B After Width: | Height: | Size: 737 B |
0
best/static/rapidsms/images/body-bg.png
Normal file → Executable file
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
0
best/static/rapidsms/images/h2-bg-collapsed.png
Normal file → Executable file
Before Width: | Height: | Size: 825 B After Width: | Height: | Size: 825 B |
0
best/static/rapidsms/images/h2-bg.png
Normal file → Executable file
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
0
best/static/rapidsms/images/h3-bg.png
Normal file → Executable file
Before Width: | Height: | Size: 932 B After Width: | Height: | Size: 932 B |
0
best/static/rapidsms/images/header-bg.png
Normal file → Executable file
Before Width: | Height: | Size: 929 B After Width: | Height: | Size: 929 B |
0
best/static/rapidsms/images/rapidsms-logo.png
Normal file → Executable file
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
0
best/static/rapidsms/images/tab-bg-active.png
Normal file → Executable file
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 142 B |
0
best/static/rapidsms/images/tab-bg-hover.png
Normal file → Executable file
Before Width: | Height: | Size: 101 B After Width: | Height: | Size: 101 B |
0
best/static/rapidsms/images/tab-bg.png
Normal file → Executable file
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 228 B |
0
best/static/rapidsms/images/table-footer-bg.png
Normal file → Executable file
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 125 B |
0
best/static/rapidsms/images/table-header-bg-highlight.png
Normal file → Executable file
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 226 B |
0
best/static/rapidsms/images/table-header-bg.png
Normal file → Executable file
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 535 B |
0
best/static/rapidsms/images/table-row-bg-active.png
Normal file → Executable file
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 179 B |
0
best/static/rapidsms/images/unicef-logo.png
Normal file → Executable file
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
0
best/static/rapidsms/javascripts/collapse.js
Normal file → Executable file
0
best/static/rapidsms/javascripts/global/rs-module-help.js
Normal file → Executable file
0
best/static/rapidsms/javascripts/global/rs-pagination.js
Normal file → Executable file
0
best/static/rapidsms/javascripts/jquery-1.3.2.min.js
vendored
Normal file → Executable file
0
best/static/rapidsms/stylesheets/forms.css
Normal file → Executable file
0
best/static/rapidsms/stylesheets/icons.css
Normal file → Executable file
8
best/static/rapidsms/stylesheets/layout.css
Normal file → Executable file
|
@ -166,7 +166,8 @@ padding: 0 1em;
|
|||
border-right: 1px solid #FE0000;
|
||||
border-left: 1px solid #FE0000;
|
||||
outline: none;
|
||||
background-color:#CE0000; }
|
||||
background-color:#CE0000;
|
||||
text-shadow: 1px 2px 1px #000; }
|
||||
|
||||
/* there are unread messages in this tab! TODO: is this just
|
||||
* for the training app? if so, move it there! */
|
||||
|
@ -185,9 +186,10 @@ background-color:#CE0000; }
|
|||
|
||||
background: #fff url("../images/tab-bg-active.png") repeat-x;
|
||||
text-decoration: none;
|
||||
text-shadow: none;
|
||||
text-shadow: #000 1px 1px 2px;
|
||||
color: #000;
|
||||
|
||||
|
||||
/* the same color as the strip in header-bg.png */
|
||||
border: 1px solid #cef1f5;
|
||||
border-bottom: 0;
|
||||
|
@ -202,7 +204,7 @@ background-color:#CE0000; }
|
|||
#tabs li a:hover, #page-tabs li a:hover,
|
||||
#tabs li a:focus, #page-tabs li a:focus {
|
||||
/*background-image: url("../images/tab-bg-hover.png");*/
|
||||
text-shadow: #FB8C07 1px 1px 2px;
|
||||
text-shadow: #000 1px 1px 2px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
|
0
best/static/rapidsms/stylesheets/modules.css
Normal file → Executable file
0
best/static/rapidsms/stylesheets/splits.css
Normal file → Executable file
0
best/static/rapidsms/stylesheets/tables.css
Normal file → Executable file
188
best/templates/dashboard.html
Executable file
|
@ -0,0 +1,188 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block title %}Dashboard{% endblock %}
|
||||
|
||||
{% block stylesheets %}
|
||||
{{ block.super }}
|
||||
<style type="text/css">
|
||||
#inner {
|
||||
margin: 0px 25%;
|
||||
|
||||
}
|
||||
|
||||
div.module div {
|
||||
border: 1px solid #ddd;
|
||||
border-top-color: #636363;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
div.module p {
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
code, pre {
|
||||
background: #ffe;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Start Our CSS */
|
||||
|
||||
#languageBtns {
|
||||
position:absolute;
|
||||
top:32px;
|
||||
left:-205px;
|
||||
}
|
||||
|
||||
|
||||
#languageBtns span {
|
||||
display:block;
|
||||
font-size:18px;
|
||||
cursor:pointer;
|
||||
line-height:28px;
|
||||
}
|
||||
|
||||
#selectedLanguage {
|
||||
color:#CE0000;}
|
||||
|
||||
#instruction {
|
||||
border:2px solid #ce0000;}
|
||||
|
||||
|
||||
#instruction h2 /*THE CSS FOR THE INSTRUCTIONS FROM WIKI*/
|
||||
{font-size:16px;
|
||||
font-weight:normal;
|
||||
margin-bottom:16px;
|
||||
background: #ce0000; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ce0000 0%, #ce0000 44%, #ff4400 88%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ce0000), color-stop(44%,#ce0000), color-stop(88%,#ff4400)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ce0000 0%,#ce0000 44%,#ff4400 88%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ce0000 0%,#ce0000 44%,#ff4400 88%); /* Opera11.10+ */
|
||||
background: -ms-linear-gradient(top, #ce0000 0%,#ce0000 44%,#ff4400 88%); /* IE10+ */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ce0000', endColorstr='#ff4400',GradientType=0 ); /* IE6-9 */
|
||||
background: linear-gradient(top, #ce0000 0%,#ce0000 44%,#ff4400 88%); /* W3C */
|
||||
text-shadow: #000 1px 2px 1px;}
|
||||
|
||||
#instruction ul
|
||||
{list-style:none;
|
||||
margin-bottom:16px;
|
||||
margin-right:20px;}
|
||||
|
||||
#instruction ul li
|
||||
{margin-bottom:8px;}
|
||||
|
||||
#instruction p
|
||||
{margin-bottom:8px;}
|
||||
|
||||
code {
|
||||
font-weight:bold;
|
||||
font-size:14px;
|
||||
margin-left:17px;}
|
||||
|
||||
number {
|
||||
font-weight:bold;
|
||||
font-family:monospace;
|
||||
font-size:14px;}
|
||||
|
||||
/* END Our CSS */
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{{ block.super }}
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$('#languageBtns span').click(function() {
|
||||
var langString = '.english, .marathi, .hindi, .gujarati';
|
||||
$(langString).hide();
|
||||
var lang = $(this).attr("data-lang");
|
||||
$('.' + lang).show();
|
||||
});
|
||||
$('span[data-lang=english]').click();
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div id="languageBtns">
|
||||
<span data-lang="english">English</span> <span data-lang="marathi">मराठी</span> <span data-lang="hindi">हिन्दी</span> <span data-lang="gujarati">ગુજરાતી</span>
|
||||
</div>
|
||||
<div id="instruction" class="module">
|
||||
|
||||
<!-- <h1> Short Instructions</h1> -->
|
||||
<h2> Welcome!</h2>
|
||||
<ul><li class="english"> With this service, you can send and receive simple queries by SMS about bus stops, bus numbers and routing on BEST.<br><br>Send SMS to <number>9619524420</number> and you will receive a return SMS with the information you need.
|
||||
</li><li class="marathi"> चलोबेस्टद्वारे आपल्याला वेगवेगळ्या बेस्ट बसस्थानकांची, बसक्रमांकाची तसेच बसमार्गांची माहिती SMS ने मिळू शकते. <br><br>आपला SMS <number>९६१९५२४४२०</number> या क्रमांकावर पाठवावा, आम्ही आपल्याला पाहिजे असलेली माहिती SMS द्वारे परत पाठवू.
|
||||
</li><li class="hindi"> इस सुविधा से आप साधारण SMS के ज़रिये बेस्ट बस स्टॉप, बस क्रमांक और मार्गों की जानकारी पा सकते हैं| <br><br><number>9619524420</number> ईस नंबर पर SMS भेजनेपर आपको जवाबी SMS से जरुरी जानकारी मिलेगी।
|
||||
</li><li class="gujarati"> આ સુવિધા થકી એક સામાન્ય SMS કરીને આપ કોઈ પણ બસ સ્ટોપ, નંબર અથવા માર્ગ ની માહિતી મેળવી શકો છો.<br><br> <number>9619524420</number> પર SMS કરવાથી તમને વળતા SMS દ્વારા પૂછાવેલી માહિતી મોકલવામાં આવશે.
|
||||
</li></ul>
|
||||
<h2> How-To Use </h2>
|
||||
<ul><li class="english"> To see the route of any bus, send an SMS with "BUS " and any bus number. Example:
|
||||
</li><li class="marathi"> कोणत्याही बेस्ट बसमार्गाची माहिती करून घेण्यासाठी, "BUS" व त्यानंतर बसक्रमांक लिहून वरील क्रमांकावर SMS पाठवावा। उदाहरणार्थ:
|
||||
</li><li class="hindi"> किसी भी बस मार्ग के सभी स्टॉप जानने के लिए BUS और ऊसके बाद बस क्रमांक उपर दिए हुए नंबर पर SMS करें। उदहारण:
|
||||
</li><li class="gujarati"> કોઈ પણ નંબર ની બસ નું માર્ગ જાણવા માટે BUS પછી એનું નંબર SMS કરો. દાખલો:
|
||||
</li></ul>
|
||||
<p><span>▸ </span><code> BUS 21</code>
|
||||
</p>
|
||||
<ul><li class="english"> To see all the bus routes served by a stop, send an SMS with "STOP " and the name of any bus stop or area. Example:
|
||||
</li><li class="marathi"> एखाद्या बसस्थानकावर येणाऱ्या सर्व बसेसची माहिती मिळवण्यासाठी, "STOP" व त्यानंतर बसस्थानकाचे नाव किंवा विभागाचे नाव लिहून वरील क्रमांकावर SMS पाठवावा| उदाहरणार्थ:
|
||||
</li><li class="hindi"> कोई भी स्टॉप पर रुकनेवाली सारी बसों की जानकारी के लिए STOP एवं उसका नाम या इलाके का नाम SMS करें| उदहारण:
|
||||
</li><li class="gujarati"> કોઈ પણ સ્ટોપ પર પસાર થતી બસો ની માહિતી માટે STOP પછી બસ સ્ટોપ નું નામ અથવા વિસ્તાર નું નામ SMS કરો. દાખલો:
|
||||
</li></ul>
|
||||
<p><span>▸ </span><code>STOP MAHIM</code>
|
||||
</p>
|
||||
<ul><li class="english"> To find out how to go from one stop to another, send an SMS with "FROM " any stop name "TO " any stop name. Example:
|
||||
</li><li class="marathi"> एका स्थानकावरून दुस-या स्थानकापर्यंत कोणत्या बसने जावे हे माहित करण्यासाठी, "FROM" (कुठून) "TO" (कुठपर्यंत) लिहून वरील क्रमांकावर SMS पाठवावा| उदाहरणार्थ:
|
||||
</li><li class="hindi"> कोई भी स्टॉप से अन्य स्टॉप तक जानेवाली बसों की जानकारी के किये FROM एवं स्टॉप का नाम और TO एवं स्टॉप का नाम SMS करें| उदहारण:
|
||||
</li><li class="gujarati"> * કોઈ પણ બસ સ્ટોપ થી બીજે જતી બસો ના નંબર જાણવા માટે "FROM" પછી સ્ટોપ નું નામ અને "TO" પછી બીજા સ્ટોપ નું નામ SMS કરો. દાખલો:
|
||||
</li></ul>
|
||||
<p><span>▸ </span><code>FROM COLABA TO MAHIM</code>
|
||||
</p>
|
||||
<h2> Feedback </span></h2>
|
||||
<ul><li class="english"> ChaloBEST is still being tested, we plan to release a public beta soon. We welcome your feedback and comments via email to info@chalobest.in
|
||||
</li><li class="marathi"> चलोबेस्टची सध्या तपासणी सुरु आहे. आम्ही लवकरच ही लोकसेवा पूर्णपणे सुरू करणार आहोत. चलोबेस्टविषयी आपल्या प्रतिक्रिया आणि विचार कळविल्यास आम्हाला आंनद होईल. आपण आम्हाला इमेलद्वारे info@chalobest.in या पत्त्यावर संपर्क साधु शकता.
|
||||
</li><li class="hindi"> चलोबेस्ट सेवा की फिलहाल जाँच शुरु है। जल्दही हम ये सेवा पुरी तरह से शुरु करेंगे। ईस सेवा के बारे में आपके विचार और प्रतिक्रिया जानने पर हमें खुशी होगी। आप हमें info@chalobest.in ईस ईमेल पर अपनी राय दे सकते है।
|
||||
</li><li class="gujarati"> ચલોબેસ્ટ હાલ પ્રાયોગિક ધોરણે દાખલ કરેલ છે. જાહેર ઉપયોગ માટે ટૂંક સમય માં એનું વિમોચન થશે. info@chalobest.in પર ઈ-મેઈલ દ્વારા તમારી પ્રતિક્રિયા તેમજ સૂચન નું આવકાર છે.
|
||||
</li></ul>
|
||||
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div class="module">
|
||||
<h2>Installation Successful!</h2>
|
||||
|
||||
<div>
|
||||
<p>
|
||||
See <a href="http://docs.rapidsms.org/Installation">the RapidSMS wiki</a>
|
||||
to learn how to install community apps or create your own.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
To replace this message with a different view, add a pattern in app's
|
||||
<code>urls</code> module with the pattern: <code>r'^$</code>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For example:
|
||||
</p>
|
||||
|
||||
<pre>from django.conf.urls.defaults import *
|
||||
from myproject.myapp import views
|
||||
|
||||
urlpatterns = patterns('',
|
||||
url(r'^$', views.dashboard)
|
||||
)</pre>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
<div id="footer"></div>
|
||||
|
||||
{% endblock %}
|
89
best/templates/layout.html
Executable file
|
@ -0,0 +1,89 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
{% load region_tags %}
|
||||
{% load tabs_tags %}
|
||||
{% load i18n %}
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||
<head>
|
||||
<title>{% block title %}RapidSMS{% endblock %}</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
|
||||
{% block stylesheets %}
|
||||
<link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}rapidsms/stylesheets/layout.css" />
|
||||
<link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}rapidsms/stylesheets/splits.css" />
|
||||
<link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}rapidsms/stylesheets/modules.css" />
|
||||
<link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}rapidsms/stylesheets/tables.css" />
|
||||
<link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}rapidsms/stylesheets/forms.css" />
|
||||
<link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}rapidsms/stylesheets/icons.css" />
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
<script type="text/javascript" src="{{ MEDIA_URL }}rapidsms/javascripts/jquery-1.3.2.min.js"></script>
|
||||
<script type="text/javascript" src="{{ MEDIA_URL }}rapidsms/javascripts/collapse.js"></script>
|
||||
{% endblock %}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
{% region "top" %}
|
||||
|
||||
{% block header %}
|
||||
<div id="header">
|
||||
<div id="branding">
|
||||
<h1>
|
||||
<a title="{% trans "Return to the Dashboard" %}" href="{% url rapidsms-dashboard %}">
|
||||
<span>RapidSMS</span>
|
||||
</a>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
{% block auth %}
|
||||
<div id="auth">{% if user.is_authenticated %}
|
||||
<a href="{% url rapidsms-logout %}">{% trans "Log out" %} {{ user.username }}</a>{% else %}
|
||||
<a href="{% url rapidsms-login %}">{% trans "Log in" %}</a>{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% get_tabs as tabs %}
|
||||
|
||||
<ul id="tabs">{% for tab in tabs %}
|
||||
<li class="app-{{ tab.name }}{% if tab.is_active %} active{% endif %}">
|
||||
<a href="{{ tab.url }}"><span>{{ tab.caption }}</span></a>
|
||||
</li>{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% block page_tabs %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}{% if breadcrumbs %}
|
||||
<div id="breadcrumbs">{% for caption, url in breadcrumbs %}
|
||||
<a href="{{ url }}">{{ caption }}</a>{% if not forloop.last %}
|
||||
<span>»</span>{% endif %}{% endfor %}
|
||||
</div>{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
<div id="inner">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
{% block footer %}
|
||||
<div id="footer">
|
||||
<p class="rights">
|
||||
Copyright © 2008 – 2010
|
||||
<a href="http://unicef.org">UNICEF</a> et al.<br />
|
||||
<a href="http://github.com/rapidsms/rapidsms">RapidSMS</a> is available under
|
||||
<a href="http://github.com/rapidsms/rapidsms/raw/master/LICENSE">the BSD license</a>.
|
||||
</p>
|
||||
|
||||
{% region "footer" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% region "bottom" %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
0
best/urls.py
Normal file → Executable file
0
data/acexpressroutes.csv
Normal file → Executable file
0
data/areamaster.csv
Normal file → Executable file
0
data/areaname_marathi.csv
Normal file → Executable file
0
data/asroutes.csv
Normal file → Executable file
0
data/atlas.csv
Normal file → Executable file
0
data/atlas_16.8.2011.csv
Normal file → Executable file
0
data/chetan_db_import.csv
Normal file → Executable file
0
data/expressroutes.csv
Normal file → Executable file
0
data/hardcodedroutes.csv
Normal file → Executable file
0
data/holidays.csv
Normal file → Executable file
0
data/regularroutes.csv
Normal file → Executable file
Can't render this file because it is too large.
|