aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/apps/indicator/templates
diff options
context:
space:
mode:
authorAlvin Li <liweitianux@gmail.com>2013-08-13 14:13:24 +0800
committerAlvin Li <liweitianux@gmail.com>2013-08-13 14:13:24 +0800
commit9636d4a6767f49384d5c386bc3f1142c88b90613 (patch)
tree3a70f6d9e4be1791d36c87cc7cbfd1d5aa2b39dd /97suifangqa/apps/indicator/templates
parent9383d9a8a5988d071766c3d08a5c946e9c5b02ae (diff)
download97dev-9636d4a6767f49384d5c386bc3f1142c88b90613.tar.bz2
cloned from 'bitbucket', 2013/08/13
Diffstat (limited to '97suifangqa/apps/indicator/templates')
-rw-r--r--97suifangqa/apps/indicator/templates/done.html9
-rw-r--r--97suifangqa/apps/indicator/templates/show_category.html32
-rw-r--r--97suifangqa/apps/indicator/templates/show_indicator.html48
-rw-r--r--97suifangqa/apps/indicator/templates/show_record.html52
-rw-r--r--97suifangqa/apps/indicator/templates/simple.html23
5 files changed, 164 insertions, 0 deletions
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 @@
+<html>
+<head>
+ <title>DONE</title>
+</head>
+
+<body>
+ <h1>DONE</h1>
+</body>
+</html>
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 @@
+<html>
+<head>
+ <title>IndicatorCategory Details (id={{ object.id }})</title>
+</head>
+
+<body>
+ <h1>IndicatorCategory Details (id={{ object.id }})</h1>
+
+ <table>
+ <tr>
+ <td>name:</td>
+ <td>{{ object.name }}</td>
+ </tr>
+ <tr>
+ <td>pinyin:</td>
+ <td>{{ object.pinyin }}</td>
+ </tr>
+ <tr>
+ <td>englishName:</td>
+ <td>{{ object.englishName }}</td>
+ </tr>
+ <tr>
+ <td>description:</td>
+ <td>{{ object.description }}</td>
+ </tr>
+ <tr>
+ <td>addByUser_username:</td>
+ <td>{{ object.addByUser.username }}</td>
+ </tr>
+ </table>
+</body>
+</html>
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 @@
+<html>
+<head>
+ <title>Indicator Details (id={{ object.id }})</title>
+</head>
+
+<body>
+ <h1>Indicator Details (id={{ object.id }})</h1>
+
+ <table>
+ <tr>
+ <td>name:</td>
+ <td>{{ object.name }}</td>
+ </tr>
+ <tr>
+ <td>pinyin:</td>
+ <td>{{ object.pinyin }}</td>
+ </tr>
+ <tr>
+ <td>englishName:</td>
+ <td>{{ object.englishName }}</td>
+ </tr>
+ <tr>
+ <td>description:</td>
+ <td>{{ object.description }}</td>
+ </tr>
+ <tr>
+ <td>helpText:</td>
+ <td>{{ object.helpText }}</td>
+ </tr>
+ <tr>
+ <td>addByUser_username:</td>
+ <td>{{ object.addByUser.username }}</td>
+ </tr>
+ <tr>
+ <td>categories_name:</td>
+ <td>
+ {% for c in object.categories.all %}
+ {{ c.name }};
+ {% endfor %}
+ </td>
+ </tr>
+ <tr>
+ <td>dataType:</td>
+ <td>{{ object.dataType }}</td>
+ </tr>
+ </table>
+</body>
+</html>
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 @@
+<html>
+<head>
+ <title>IndicatorRecord Details (id={{ object.id }})</title>
+</head>
+
+<body>
+ <h1>IndicatorRecord Details (id={{ object.id }})</h1>
+
+ <table>
+ <tr>
+ <td>indicator_name:</td>
+ <td>{{ object.indicator.name }}</td>
+ </tr>
+ <tr>
+ <td>user_username:</td>
+ <td>{{ object.user.username }}</td>
+ </tr>
+ <tr>
+ <td>created_at:</td>
+ <td>{{ object.created_at }}</td>
+ </tr>
+ <tr>
+ <td>updated_at:</td>
+ <td>{{ object.updated_at }}</td>
+ </tr>
+ <tr>
+ <td>date:</td>
+ <td>{{ object.date }}</td>
+ </tr>
+ <tr>
+ <td>unit_name:</td>
+ <td>{{ object.unit.name }}</td>
+ </tr>
+ <tr>
+ <td>value:</td>
+ <td>{{ object.value }}</td>
+ </tr>
+ <tr>
+ <td>val_max:</td>
+ <td>{{ object.val_max }}</td>
+ </tr>
+ <tr>
+ <td>val_min:</td>
+ <td>{{ object.val_min }}</td>
+ </tr>
+ <tr>
+ <td>notes:</td>
+ <td>{{ object.notes }}</td>
+ </tr>
+ </table>
+</body>
+</html>
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 @@
+<html>
+<head>
+ <title>{{ action }} {{ object }}</title>
+</head>
+
+<body>
+ <h1>{{ action }} {{ object }}</h1>
+
+ {% if form.errors %}
+ <p style="color: red;">
+ Please correct the error{{ form.errors|pluralize }} below.
+ </p>
+ {% endif %}
+
+ <form action="" method="post">{% csrf_token %}
+ <table>
+ {{ form.as_table }}
+ </table>
+ <input type="submit" value="Submit" />
+ </form>
+</body>
+</html>
+