From 94008a4bf617c941805c31bb626658920f62f741 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 12 Oct 2011 18:00:18 +0530 Subject: [PATCH] add basic templates --- best/templates/dashboard.html | 60 +++++++++++++++++++++++ best/templates/layout.html | 89 +++++++++++++++++++++++++++++++++++ 2 files changed, 149 insertions(+) create mode 100644 best/templates/dashboard.html create mode 100644 best/templates/layout.html diff --git a/best/templates/dashboard.html b/best/templates/dashboard.html new file mode 100644 index 0000000..e6a691c --- /dev/null +++ b/best/templates/dashboard.html @@ -0,0 +1,60 @@ +{% extends "layout.html" %} +{% block title %}Dashboard{% endblock %} + +{% block stylesheets %} +{{ block.super }} + +{% endblock %} + +{% block content %} +
+

Installation Successful!

+ +
+

+ See the RapidSMS wiki + to learn how to install community apps or create your own. +

+ +

+ To replace this message with a different view, add a pattern in app's + urls module with the pattern: r'^$. +

+ +

+ For example: +

+ +
from django.conf.urls.defaults import *
+from myproject.myapp import views
+
+urlpatterns = patterns('',
+    url(r'^$', views.dashboard)
+)
+
+
+{% endblock %} diff --git a/best/templates/layout.html b/best/templates/layout.html new file mode 100644 index 0000000..ca903ff --- /dev/null +++ b/best/templates/layout.html @@ -0,0 +1,89 @@ + + +{% load region_tags %} +{% load tabs_tags %} +{% load i18n %} + + + + {% block title %}RapidSMS{% endblock %} + + +{% block stylesheets %} + + + + + + +{% endblock %} + +{% block javascripts %} + + +{% endblock %} + + + +
+ {% region "top" %} + + {% block header %} + + {% endblock %} + + {% block breadcrumbs %}{% if breadcrumbs %} + {% endif %} + {% endblock %} + +
+ {% block content %}{% endblock %} +
+ + {% block footer %} + + {% endblock %} + + {% region "bottom" %} +
+ +