diff --git a/event/templates/event/example.html b/event/templates/event/example.html new file mode 100644 index 0000000..d7d4657 --- /dev/null +++ b/event/templates/event/example.html @@ -0,0 +1,660 @@ +{% extends "sidebase.html" %} + +{% block page_title %}Example{% endblock %} + + +{% block content %} + +

Basic Table Examples

+
+ +
+
+

Basic Table

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
+
+
+ +
+
+ +

Hover Table

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3SimonMosa@twitter
+
+
+
+ +
+
+
+ +

Advanced Table

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Company Descrition Profit Status
Company LtdLorem Ipsum dolor12000.00$ Due + + + +
+ + Dashgum co + + Lorem Ipsum dolor17900.00$ Due + + + +
+ + Another Co + + Lorem Ipsum dolor14400.00$ Paid + + + +
+ + Dashgum ext + + Lorem Ipsum dolor22000.50$ Paid + + + +
Total LtdLorem Ipsum dolor12120.00$ Due + + + +
+
+
+
+ +

To-Do Lists

+
+
+
+
+
Todo List - Basic Style
+
+
+
+ + + + + + + + + + + + + + + +
+ + Send invoice + +
+ + Check messages + +
+ + Pay bills + +
+ + Schedule site + +
+
+
+
+
+ +

Responsive Table Examples

+
+
+
+

Responsive Table

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CodeCompanyPriceChangeChange %OpenHighLowVolume
AACAUSTRALIAN AGRICULTURAL COMPANY LIMITED.$1.38-0.01-0.36%$1.39$1.39$1.389,395
AADARDENT LEISURE GROUP$1.15 +0.021.32%$1.14$1.15$1.1356,431
AAXAUSENCO LIMITED$4.00-0.04-0.99%$4.01$4.05$4.0090,641
ABCADELAIDE BRIGHTON LIMITED$3.00 +0.062.04%$2.98$3.00$2.96862,518
ABPABACUS PROPERTY GROUP$1.910.000.00%$1.92$1.93$1.90595,701
ABYADITYA BIRLA MINERALS LIMITED$0.77 +0.022.00%$0.76$0.77$0.7654,567
ACRACRUX LIMITED$3.71 +0.010.14%$3.70$3.72$3.68191,373
ADUADAMUS RESOURCES LIMITED$0.720.000.00%$0.73$0.74$0.728,602,291
AGGANGLOGOLD ASHANTI LIMITED$7.81-0.22-2.74%$7.82$7.82$7.81148
AGKAGL ENERGY LIMITED$13.82 +0.020.14%$13.83$13.83$13.67846,403
AGOATLAS IRON LIMITED$3.17-0.02-0.47%$3.11$3.22$3.105,416,303
+
+
+
+
+ +
+
+
+

No More Table

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CodeCompanyPriceChangeChange %OpenHighLowVolume
AACAUSTRALIAN AGRICULTURAL COMPANY LIMITED.$1.38-0.01-0.36%$1.39$1.39$1.389,395
AADARDENT LEISURE GROUP$1.15 +0.021.32%$1.14$1.15$1.1356,431
AAXAUSENCO LIMITED$4.00-0.04-0.99%$4.01$4.05$4.0090,641
ABCADELAIDE BRIGHTON LIMITED$3.00 +0.062.04%$2.98$3.00$2.96862,518
ABPABACUS PROPERTY GROUP$1.910.000.00%$1.92$1.93$1.90595,701
ABYADITYA BIRLA MINERALS LIMITED$0.77 +0.022.00%$0.76$0.77$0.7654,567
ACRACRUX LIMITED$3.71 +0.010.14%$3.70$3.72$3.68191,373
ADUADAMUS RESOURCES LIMITED$0.720.000.00%$0.73$0.74$0.728,602,291
AGGANGLOGOLD ASHANTI LIMITED$7.81-0.22-2.74%$7.82$7.82$7.81148
AGKAGL ENERGY LIMITED$13.82 +0.020.14%$13.83$13.83$13.67846,403
AGOATLAS IRON LIMITED$3.17-0.02-0.47%$3.11$3.22$3.105,416,303
+
+
+
+
+{% endblock %} + +{% block aside %} + +

NOTIFICATIONS

+ + +
+
+ +
+
+

2 Minutes Ago
+ James Brown subscribed to your newsletter.
+

+
+
+ +
+
+ +
+
+

3 Hours Ago
+ Diana Kennedy purchased a year subscription.
+

+
+
+ +
+
+ +
+
+

7 Hours Ago
+ Brandon Page purchased a year subscription.
+

+
+
+ +
+
+ +
+
+

11 Hours Ago
+ Mark Twain commented your post.
+

+
+
+ +
+
+ +
+
+

18 Hours Ago
+ Daniel Pratt purchased a wallet in your store.
+

+
+
+ + +

TEAM MEMBERS

+ +
+
+ +
+
+

DIVYA MANIAN
+ Available +

+
+
+ +
+
+ +
+
+

DJ SHERMAN
+ I am Busy +

+
+
+ +
+
+ +
+
+

DAN ROGERS
+ Available +

+
+
+ +
+
+ +
+
+

Zac Sniders
+ Available +

+
+
+ +
+
+ +
+
+

Marcel Newman
+ Available +

+
+
+ + +
+
+
+
+
+

+
+
+
+
+
+
+{% endblock %} + diff --git a/event/templates/event/example_form.html b/event/templates/event/example_form.html new file mode 100644 index 0000000..141fb63 --- /dev/null +++ b/event/templates/event/example_form.html @@ -0,0 +1,350 @@ +{% extends "base.html" %} + +{% block page_title %}Example Form{% endblock %} + +{% block extra_script %} + {% include "form_script.html" %} +{% endblock%} + + +{% block content %} +

Form Components

+ + +
+
+
+

Form Elements

+
+
+ +
+ +
+
+
+ +
+ + A block of help text that breaks onto a new line and may extend beyond one line. +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+

email@example.com

+
+
+
+
+
+
+ + +
+
+
+

Inline Form

+
+
+ + +
+
+ + +
+ +
+
+
+
+ + +
+
+
+

Input Messages

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+
+ + +
+
+
+

Checkboxes, Radios & Selects

+
+ +
+ +
+ +
+
+ +
+ +
+ + + + +
+ +
+ +
+
+ + +
+
+

Custom Toggles

+
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+ +
+
+ +
+
+
+
+
+{% endblock %} + +{% block aside %} + +

NOTIFICATIONS

+ + +
+
+ +
+
+

2 Minutes Ago
+ James Brown subscribed to your newsletter.
+

+
+
+ +
+
+ +
+
+

3 Hours Ago
+ Diana Kennedy purchased a year subscription.
+

+
+
+ +
+
+ +
+
+

7 Hours Ago
+ Brandon Page purchased a year subscription.
+

+
+
+ +
+
+ +
+
+

11 Hours Ago
+ Mark Twain commented your post.
+

+
+
+ +
+
+ +
+
+

18 Hours Ago
+ Daniel Pratt purchased a wallet in your store.
+

+
+
+ + +

TEAM MEMBERS

+ +
+
+ +
+
+

DIVYA MANIAN
+ Available +

+
+
+ +
+
+ +
+
+

DJ SHERMAN
+ I am Busy +

+
+
+ +
+
+ +
+
+

DAN ROGERS
+ Available +

+
+
+ +
+
+ +
+
+

Zac Sniders
+ Available +

+
+
+ +
+
+ +
+
+

Marcel Newman
+ Available +

+
+
+ + +
+
+
+
+
+

+
+
+
+
+
+
+{% endblock %} + diff --git a/event/urls.py b/event/urls.py index 61a7f6f..bbb14b4 100644 --- a/event/urls.py +++ b/event/urls.py @@ -1,7 +1,8 @@ from django.conf.urls import url -from event.views import Index +from event.views import Example, ExampleForm app_name = 'event' urlpatterns = [ - url(r'^$', Index.as_view(), name='index'), + url(r'^$', Example.as_view(), name='index'), + url(r'^form/$', ExampleForm.as_view(), name='index.form'), ] diff --git a/event/views.py b/event/views.py index 4938ce1..c94f466 100644 --- a/event/views.py +++ b/event/views.py @@ -3,3 +3,11 @@ from django.views.generic import TemplateView class Index(TemplateView): template_name = "event/index.html" + + +class Example(TemplateView): + template_name = "event/example.html" + + +class ExampleForm(TemplateView): + template_name = "event/example_form.html"