summaryrefslogtreecommitdiff
path: root/gstudio/tests/templates
diff options
context:
space:
mode:
authorgnowgi <nagarjun@gnowledge.org>2012-03-15 16:19:20 +0530
committergnowgi <nagarjun@gnowledge.org>2012-03-15 16:19:20 +0530
commit7a4f561e851fdc7246d804c3abb6748b8a4199a6 (patch)
treed2afc3463fd49625a9be482012f5c3bfcf7c42b9 /gstudio/tests/templates
downloadgnowsys-7a4f561e851fdc7246d804c3abb6748b8a4199a6.tar.gz
master trunk of gnowsys-studio
Diffstat (limited to 'gstudio/tests/templates')
-rw-r--r--gstudio/tests/templates/gstudio/_nodetype_detail.html3
-rw-r--r--gstudio/tests/templates/gstudio/base.html9
-rw-r--r--gstudio/tests/templates/gstudio/nodetype_detail.html7
-rw-r--r--gstudio/tests/templates/gstudio/nodetype_list.html10
-rw-r--r--gstudio/tests/templates/gstudio/nodetype_search.html1
5 files changed, 30 insertions, 0 deletions
diff --git a/gstudio/tests/templates/gstudio/_nodetype_detail.html b/gstudio/tests/templates/gstudio/_nodetype_detail.html
new file mode 100644
index 00000000..0ffd2e67
--- /dev/null
+++ b/gstudio/tests/templates/gstudio/_nodetype_detail.html
@@ -0,0 +1,3 @@
+<h1>{{ object.title }}</h1>
+
+{{ object.content|linebreaks }}
diff --git a/gstudio/tests/templates/gstudio/base.html b/gstudio/tests/templates/gstudio/base.html
new file mode 100644
index 00000000..6b4226d1
--- /dev/null
+++ b/gstudio/tests/templates/gstudio/base.html
@@ -0,0 +1,9 @@
+<html>
+ <head>
+ <title>Gnowledge Studio - {% block title %}{% endblock %}</title>
+ </head>
+ <body>
+ {% block content %}{% endblock %}
+ </body>
+</html>
+
diff --git a/gstudio/tests/templates/gstudio/nodetype_detail.html b/gstudio/tests/templates/gstudio/nodetype_detail.html
new file mode 100644
index 00000000..43491f7c
--- /dev/null
+++ b/gstudio/tests/templates/gstudio/nodetype_detail.html
@@ -0,0 +1,7 @@
+{% extends "gstudio/base.html" %}
+
+{% block title %}{{ object.title }}{% endblock %}
+
+{% block content %}
+ {{ object.html_content|safe }}
+{% endblock %}
diff --git a/gstudio/tests/templates/gstudio/nodetype_list.html b/gstudio/tests/templates/gstudio/nodetype_list.html
new file mode 100644
index 00000000..269e0ae8
--- /dev/null
+++ b/gstudio/tests/templates/gstudio/nodetype_list.html
@@ -0,0 +1,10 @@
+{% extends "gstudio/base.html" %}
+
+{% block content %}
+
+{% for object in object_list %}
+ {{ object.html_content|safe }}
+{% endfor %}
+
+{% endblock %}
+
diff --git a/gstudio/tests/templates/gstudio/nodetype_search.html b/gstudio/tests/templates/gstudio/nodetype_search.html
new file mode 100644
index 00000000..54b89147
--- /dev/null
+++ b/gstudio/tests/templates/gstudio/nodetype_search.html
@@ -0,0 +1 @@
+{% extends "gstudio/nodetype_list.html" %}