aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa
diff options
context:
space:
mode:
authorAlvin Li <liweitianux@gmail.com>2013-08-14 00:12:51 +0800
committerAlvin Li <liweitianux@gmail.com>2013-08-14 00:12:51 +0800
commit8a7b2f6ff9e2760c872625fcd906afcbdf75c2e4 (patch)
treeafb210b9dc371cd18ab722f77500d9f776055cc3 /97suifangqa
parentbb095adf76bddc2f6c5925bcdebb52bff75e6578 (diff)
download97dev-8a7b2f6ff9e2760c872625fcd906afcbdf75c2e4.tar.bz2
updated git index (previously deleted files)
Diffstat (limited to '97suifangqa')
-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
-rw-r--r--97suifangqa/templatetags/__init__.py0
-rw-r--r--97suifangqa/templatetags/tools.py6
7 files changed, 0 insertions, 170 deletions
diff --git a/97suifangqa/apps/indicator/templates/done.html b/97suifangqa/apps/indicator/templates/done.html
deleted file mode 100644
index 2a11ea8..0000000
--- a/97suifangqa/apps/indicator/templates/done.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<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
deleted file mode 100644
index 1448bb3..0000000
--- a/97suifangqa/apps/indicator/templates/show_category.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<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
deleted file mode 100644
index 0ecd027..0000000
--- a/97suifangqa/apps/indicator/templates/show_indicator.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<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
deleted file mode 100644
index 49c7918..0000000
--- a/97suifangqa/apps/indicator/templates/show_record.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<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
deleted file mode 100644
index 7775ab7..0000000
--- a/97suifangqa/apps/indicator/templates/simple.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<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>
-
diff --git a/97suifangqa/templatetags/__init__.py b/97suifangqa/templatetags/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/97suifangqa/templatetags/__init__.py
+++ /dev/null
diff --git a/97suifangqa/templatetags/tools.py b/97suifangqa/templatetags/tools.py
deleted file mode 100644
index d4d9d0e..0000000
--- a/97suifangqa/templatetags/tools.py
+++ /dev/null
@@ -1,6 +0,0 @@
-from django import template
-
-register = template.Library()
-@register.filter
-def get_range(count, start = 0):
- return range(start, start + count) \ No newline at end of file