aboutsummaryrefslogtreecommitdiffstats
path: root/demo/templates
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-22 00:01:12 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-22 00:01:12 +0800
commit6252823e3bb7475fd7d07eac7485d759d894f75f (patch)
tree5f2931bcfcf1e0a12878940b1d98a6397353ea8f /demo/templates
parent39f939d39ee6fc796baf2ce7848ed5e920f5d128 (diff)
downloaddjango-skaschool-6252823e3bb7475fd7d07eac7485d759d894f75f.tar.bz2
removed app demo
Diffstat (limited to 'demo/templates')
-rw-r--r--demo/templates/demo/base.html25
-rw-r--r--demo/templates/demo/bootstrap.html3
-rw-r--r--demo/templates/demo/form.html17
-rw-r--r--demo/templates/demo/form_horizontal.html17
-rw-r--r--demo/templates/demo/form_inline.html17
-rw-r--r--demo/templates/demo/form_with_files.html17
-rw-r--r--demo/templates/demo/home.html7
-rw-r--r--demo/templates/demo/pagination.html25
8 files changed, 0 insertions, 128 deletions
diff --git a/demo/templates/demo/base.html b/demo/templates/demo/base.html
deleted file mode 100644
index 06dc6e3..0000000
--- a/demo/templates/demo/base.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% extends 'demo/bootstrap.html' %}
-
-{% load url from future %}
-
-{% load bootstrap3 %}
-
-{% block bootstrap3_content %}
- <div class="container">
- <h1>{% block title %}(no title){% endblock %}</h1>
-
- <p>
- <a href="{% url 'home' %}">home</a>
- <a href="{% url 'form_default' %}">form</a>
- <a href="{% url 'form_horizontal' %}">form_horizontal</a>
- <a href="{% url 'form_inline' %}">form_inline</a>
- <a href="{% url 'form_with_files' %}">form_with_files</a>
- <a href="{% url 'pagination' %}">pagination</a>
- </p>
-
- {% bootstrap_messages %}
-
- {% block content %}(no content){% endblock %}
- </div>
-
-{% endblock %}
diff --git a/demo/templates/demo/bootstrap.html b/demo/templates/demo/bootstrap.html
deleted file mode 100644
index 5e5b581..0000000
--- a/demo/templates/demo/bootstrap.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% extends 'bootstrap3/bootstrap3.html' %}
-
-{% block bootstrap3_title %}{% block title %}{% endblock %}{% endblock %}
diff --git a/demo/templates/demo/form.html b/demo/templates/demo/form.html
deleted file mode 100644
index d89672f..0000000
--- a/demo/templates/demo/form.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{% extends 'demo/base.html' %}
-
-{% load bootstrap3 %}
-
-{% block title %}
- Forms
-{% endblock %}
-
-{% block content %}
-
- <form role="form" method="post">
- {% csrf_token %}
- {% bootstrap_form form %}
- {% buttons submit='OK' reset="Cancel" %}{% endbuttons %}
- </form>
-
-{% endblock %}
diff --git a/demo/templates/demo/form_horizontal.html b/demo/templates/demo/form_horizontal.html
deleted file mode 100644
index 229d400..0000000
--- a/demo/templates/demo/form_horizontal.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{% extends 'demo/base.html' %}
-
-{% load bootstrap3 %}
-
-{% block title %}
- Forms
-{% endblock %}
-
-{% block content %}
-
- <form role="form" class="form-horizontal" method="post">
- {% csrf_token %}
- {% bootstrap_form form layout="horizontal" %}
- {% buttons submit='OK' reset='Cancel' layout='horizontal' %}{% endbuttons %}
- </form>
-
-{% endblock %}
diff --git a/demo/templates/demo/form_inline.html b/demo/templates/demo/form_inline.html
deleted file mode 100644
index 9f76c1e..0000000
--- a/demo/templates/demo/form_inline.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{% extends 'demo/base.html' %}
-
-{% load bootstrap3 %}
-
-{% block title %}
- Forms
-{% endblock %}
-
-{% block content %}
-
- <form role="form" class="form-inline" method="post">
- {% csrf_token %}
- {% bootstrap_form form layout='inline' %}
- {% buttons submit='OK' reset='Cancel' layout='inline' %}{% endbuttons %}
- </form>
-
-{% endblock %}
diff --git a/demo/templates/demo/form_with_files.html b/demo/templates/demo/form_with_files.html
deleted file mode 100644
index 3e5e83f..0000000
--- a/demo/templates/demo/form_with_files.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{% extends 'demo/base.html' %}
-
-{% load bootstrap3 %}
-
-{% block title %}
- Forms
-{% endblock %}
-
-{% block content %}
-
- <form role="form" method="post" enctype="multipart/form-data" {% if layout != 'vertical' %}class="form-{{ layout }}"{% endif %}>
- {% csrf_token %}
- {% bootstrap_form form layout=layout %}
- {% buttons submit='OK' reset="Cancel" %}{% endbuttons %}
- </form>
-
-{% endblock %}
diff --git a/demo/templates/demo/home.html b/demo/templates/demo/home.html
deleted file mode 100644
index 7166062..0000000
--- a/demo/templates/demo/home.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% extends 'demo/base.html' %}
-
-{% block title %}django-bootstrap3{% endblock %}
-
-{% block content %}
- This is <em>bootstrap3</em> for <strong>Django</strong>.
-{% endblock %} \ No newline at end of file
diff --git a/demo/templates/demo/pagination.html b/demo/templates/demo/pagination.html
deleted file mode 100644
index e7c1ed3..0000000
--- a/demo/templates/demo/pagination.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% extends 'demo/base.html' %}
-
-{% load bootstrap3 %}
-
-{% block title %}
- Pagination
-{% endblock %}
-
-{% block content %}
-
- <table class="table">
- {% for line in lines %}
- <tr>
- <td>{{ line }}</td>
- </tr>
- {% endfor %}
- </table>
-
- <hr>
-
- {% bootstrap_pagination lines url="/pagination?page=1&flop=flip" extra="q=foo" size="small" %}
-
- {% bootstrap_pagination lines url="/pagination?page=1" size="large" %}
-
-{% endblock %} \ No newline at end of file