From 9636d4a6767f49384d5c386bc3f1142c88b90613 Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Tue, 13 Aug 2013 14:13:24 +0800 Subject: cloned from 'bitbucket', 2013/08/13 --- 97suifangqa/apps/indicator/templates/done.html | 9 ++++ .../apps/indicator/templates/show_category.html | 32 +++++++++++++ .../apps/indicator/templates/show_indicator.html | 48 ++++++++++++++++++++ .../apps/indicator/templates/show_record.html | 52 ++++++++++++++++++++++ 97suifangqa/apps/indicator/templates/simple.html | 23 ++++++++++ 5 files changed, 164 insertions(+) create mode 100644 97suifangqa/apps/indicator/templates/done.html create mode 100644 97suifangqa/apps/indicator/templates/show_category.html create mode 100644 97suifangqa/apps/indicator/templates/show_indicator.html create mode 100644 97suifangqa/apps/indicator/templates/show_record.html create mode 100644 97suifangqa/apps/indicator/templates/simple.html (limited to '97suifangqa/apps/indicator/templates') diff --git a/97suifangqa/apps/indicator/templates/done.html b/97suifangqa/apps/indicator/templates/done.html new file mode 100644 index 0000000..2a11ea8 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/done.html @@ -0,0 +1,9 @@ + + + DONE + + + +

DONE

+ + diff --git a/97suifangqa/apps/indicator/templates/show_category.html b/97suifangqa/apps/indicator/templates/show_category.html new file mode 100644 index 0000000..1448bb3 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/show_category.html @@ -0,0 +1,32 @@ + + + IndicatorCategory Details (id={{ object.id }}) + + + +

IndicatorCategory Details (id={{ object.id }})

+ + + + + + + + + + + + + + + + + + + + + + +
name:{{ object.name }}
pinyin:{{ object.pinyin }}
englishName:{{ object.englishName }}
description:{{ object.description }}
addByUser_username:{{ object.addByUser.username }}
+ + diff --git a/97suifangqa/apps/indicator/templates/show_indicator.html b/97suifangqa/apps/indicator/templates/show_indicator.html new file mode 100644 index 0000000..0ecd027 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/show_indicator.html @@ -0,0 +1,48 @@ + + + Indicator Details (id={{ object.id }}) + + + +

Indicator Details (id={{ object.id }})

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
name:{{ object.name }}
pinyin:{{ object.pinyin }}
englishName:{{ object.englishName }}
description:{{ object.description }}
helpText:{{ object.helpText }}
addByUser_username:{{ object.addByUser.username }}
categories_name: + {% for c in object.categories.all %} + {{ c.name }}; + {% endfor %} +
dataType:{{ object.dataType }}
+ + diff --git a/97suifangqa/apps/indicator/templates/show_record.html b/97suifangqa/apps/indicator/templates/show_record.html new file mode 100644 index 0000000..49c7918 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/show_record.html @@ -0,0 +1,52 @@ + + + IndicatorRecord Details (id={{ object.id }}) + + + +

IndicatorRecord Details (id={{ object.id }})

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
indicator_name:{{ object.indicator.name }}
user_username:{{ object.user.username }}
created_at:{{ object.created_at }}
updated_at:{{ object.updated_at }}
date:{{ object.date }}
unit_name:{{ object.unit.name }}
value:{{ object.value }}
val_max:{{ object.val_max }}
val_min:{{ object.val_min }}
notes:{{ object.notes }}
+ + diff --git a/97suifangqa/apps/indicator/templates/simple.html b/97suifangqa/apps/indicator/templates/simple.html new file mode 100644 index 0000000..7775ab7 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/simple.html @@ -0,0 +1,23 @@ + + + {{ action }} {{ object }} + + + +

{{ action }} {{ object }}

+ + {% if form.errors %} +

+ Please correct the error{{ form.errors|pluralize }} below. +

+ {% endif %} + +
{% csrf_token %} + + {{ form.as_table }} +
+ +
+ + + -- cgit v1.2.2