From 7a4f561e851fdc7246d804c3abb6748b8a4199a6 Mon Sep 17 00:00:00 2001 From: gnowgi Date: Thu, 15 Mar 2012 16:19:20 +0530 Subject: master trunk of gnowsys-studio --- gstudio/templates/404.html | 46 +++ gstudio/templates/500.html | 46 +++ gstudio/templates/admin/gstudio/app_index.html | 41 ++ .../admin/gstudio/nodetype/autocomplete_tags.js | 11 + .../templates/admin/gstudio/nodetype/markitup.js | 3 + .../admin/gstudio/nodetype/tinymce_textareas.js | 23 ++ .../templates/admin/gstudio/nodetype/wymeditor.js | 10 + .../admin/gstudio/widgets/ATquickpost.html | 59 +++ .../admin/gstudio/widgets/OTquickpost.html | 58 +++ .../admin/gstudio/widgets/_content_stats.html | 146 +++++++ .../admin/gstudio/widgets/_draft_nodetypes.html | 37 ++ .../admin/gstudio/widgets/_recent_comments.html | 45 ++ .../admin/gstudio/widgets/_recent_linkbacks.html | 31 ++ gstudio/templates/admin/gstudio/widgets/base.html | 6 + .../admin/gstudio/widgets/content_stats.html | 12 + .../admin/gstudio/widgets/draft_nodetypes.html | 12 + .../templates/admin/gstudio/widgets/quickpost.html | 14 + .../admin/gstudio/widgets/recent_comments.html | 12 + .../admin/gstudio/widgets/recent_linkbacks.html | 12 + gstudio/templates/base.html | 105 +++++ .../templates/comments/comment_authors_email.txt | 6 + .../comments/comment_notification_email.txt | 14 + gstudio/templates/comments/comment_reply_email.txt | 6 + .../templates/comments/gstudio/nodetype/form.html | 22 + .../comments/gstudio/nodetype/posted.html | 13 + .../comments/gstudio_nodetype_preview.html | 37 ++ gstudio/templates/feeds/comment_description.html | 1 + gstudio/templates/feeds/comment_title.html | 2 + .../templates/feeds/discussion_description.html | 1 + gstudio/templates/feeds/discussion_title.html | 2 + gstudio/templates/feeds/nodetype_description.html | 1 + gstudio/templates/feeds/nodetype_title.html | 1 + gstudio/templates/feeds/pingback_description.html | 1 + gstudio/templates/feeds/pingback_title.html | 2 + gstudio/templates/feeds/trackback_description.html | 1 + gstudio/templates/feeds/trackback_title.html | 2 + gstudio/templates/gstudio/_header.html | 79 ++++ gstudio/templates/gstudio/_narrative_detail.html | 200 +++++++++ gstudio/templates/gstudio/_nodetype_detail.html | 32 ++ .../templates/gstudio/_nodetype_neighbourhood.html | 18 + gstudio/templates/gstudio/_subtype_detail.html | 1 + .../templates/gstudio/attributetype_detail.html | 281 +++++++++++++ .../templates/gstudio/author/nodetype_list.html | 1 + gstudio/templates/gstudio/author_list.html | 27 ++ gstudio/templates/gstudio/base.html | 107 +++++ gstudio/templates/gstudio/cms/nodetype_detail.html | 8 + gstudio/templates/gstudio/cms/nodetype_list.html | 12 + .../templates/gstudio/cms/random_nodetypes.html | 4 + gstudio/templates/gstudio/graph1.html | 347 ++++++++++++++++ gstudio/templates/gstudio/login.html | 40 ++ .../templates/gstudio/metatype/nodetype_list.html | 1 + gstudio/templates/gstudio/metatype_list.html | 25 ++ gstudio/templates/gstudio/nodetype_archive.html | 30 ++ .../templates/gstudio/nodetype_archive_day.html | 23 ++ .../templates/gstudio/nodetype_archive_month.html | 31 ++ .../templates/gstudio/nodetype_archive_year.html | 21 + gstudio/templates/gstudio/nodetype_detail.html | 357 ++++++++++++++++ gstudio/templates/gstudio/nodetype_list.html | 143 +++++++ gstudio/templates/gstudio/nodetype_search.html | 49 +++ gstudio/templates/gstudio/nodetype_trackback.xml | 9 + gstudio/templates/gstudio/opensearch.xml | 24 ++ gstudio/templates/gstudio/password.html | 35 ++ gstudio/templates/gstudio/rsd.xml | 16 + gstudio/templates/gstudio/sitemap.html | 70 ++++ gstudio/templates/gstudio/skeleton.html | 451 +++++++++++++++++++++ gstudio/templates/gstudio/tag/nodetype_list.html | 1 + gstudio/templates/gstudio/tag_list.html | 24 ++ .../templates/gstudio/tags/archives_nodetypes.html | 15 + .../gstudio/tags/archives_nodetypes_link.html | 3 + .../gstudio/tags/archives_nodetypes_tree.html | 43 ++ gstudio/templates/gstudio/tags/authors.html | 15 + gstudio/templates/gstudio/tags/breadcrumbs.html | 7 + gstudio/templates/gstudio/tags/calendar.html | 17 + gstudio/templates/gstudio/tags/dummy.html | 1 + .../templates/gstudio/tags/featured_nodetypes.html | 12 + gstudio/templates/gstudio/tags/metatypes.html | 16 + gstudio/templates/gstudio/tags/nodetypes.html | 16 + gstudio/templates/gstudio/tags/pagination.html | 59 +++ .../templates/gstudio/tags/popular_nodetypes.html | 16 + .../templates/gstudio/tags/random_nodetypes.html | 12 + .../templates/gstudio/tags/recent_comments.html | 20 + .../templates/gstudio/tags/recent_linkbacks.html | 21 + .../templates/gstudio/tags/recent_nodetypes.html | 20 + .../templates/gstudio/tags/similar_nodetypes.html | 12 + .../templates/gstudio/tags/slider_nodetypes.html | 27 ++ gstudio/templates/gstudio/tags/tag_cloud.html | 13 + gstudio/templates/gstudio/wlwmanifest.xml | 63 +++ gstudio/templates/gstudio/wxr.xml | 125 ++++++ gstudio/templates/gstudiodashboard/dashboard.html | 40 ++ .../gstudioforms/gstudioattributeform.html | 21 + .../gstudioforms/gstudioattributetypeform.html | 21 + .../gstudioforms/gstudiocomplementform.html | 21 + .../gstudioforms/gstudiointersectionform.html | 21 + .../gstudioforms/gstudiometatypeform.html | 22 + .../gstudioforms/gstudioobjecttypeform.html | 21 + .../gstudioforms/gstudioprocesstypeform.html | 20 + .../gstudioforms/gstudiorelationform.html | 21 + .../gstudioforms/gstudiorelationtypeform.html | 20 + .../gstudioforms/gstudiosystemtypeform.html | 21 + .../templates/gstudioforms/gstudiounionform.html | 21 + gstudio/templates/index.html | 6 + gstudio/templates/registration/activate.html | 18 + .../templates/registration/activation_email.txt | 6 + .../registration/activation_email_subject.txt | 1 + gstudio/templates/registration/login.html | 14 + gstudio/templates/registration/logout.html | 7 + .../registration/password_change_done.html | 6 + .../registration/password_change_form.html | 10 + .../registration/password_reset_complete.html | 10 + .../registration/password_reset_confirm.html | 20 + .../registration/password_reset_done.html | 6 + .../registration/password_reset_email.html | 5 + .../registration/password_reset_form.html | 10 + .../registration/registration_complete.html | 6 + .../templates/registration/registration_form.html | 10 + gstudio/templates/skeleton.html | 73 ++++ 116 files changed, 4319 insertions(+) create mode 100644 gstudio/templates/404.html create mode 100644 gstudio/templates/500.html create mode 100644 gstudio/templates/admin/gstudio/app_index.html create mode 100644 gstudio/templates/admin/gstudio/nodetype/autocomplete_tags.js create mode 100644 gstudio/templates/admin/gstudio/nodetype/markitup.js create mode 100644 gstudio/templates/admin/gstudio/nodetype/tinymce_textareas.js create mode 100644 gstudio/templates/admin/gstudio/nodetype/wymeditor.js create mode 100644 gstudio/templates/admin/gstudio/widgets/ATquickpost.html create mode 100644 gstudio/templates/admin/gstudio/widgets/OTquickpost.html create mode 100644 gstudio/templates/admin/gstudio/widgets/_content_stats.html create mode 100644 gstudio/templates/admin/gstudio/widgets/_draft_nodetypes.html create mode 100644 gstudio/templates/admin/gstudio/widgets/_recent_comments.html create mode 100644 gstudio/templates/admin/gstudio/widgets/_recent_linkbacks.html create mode 100644 gstudio/templates/admin/gstudio/widgets/base.html create mode 100644 gstudio/templates/admin/gstudio/widgets/content_stats.html create mode 100644 gstudio/templates/admin/gstudio/widgets/draft_nodetypes.html create mode 100644 gstudio/templates/admin/gstudio/widgets/quickpost.html create mode 100644 gstudio/templates/admin/gstudio/widgets/recent_comments.html create mode 100644 gstudio/templates/admin/gstudio/widgets/recent_linkbacks.html create mode 100644 gstudio/templates/base.html create mode 100644 gstudio/templates/comments/comment_authors_email.txt create mode 100644 gstudio/templates/comments/comment_notification_email.txt create mode 100644 gstudio/templates/comments/comment_reply_email.txt create mode 100644 gstudio/templates/comments/gstudio/nodetype/form.html create mode 100644 gstudio/templates/comments/gstudio/nodetype/posted.html create mode 100644 gstudio/templates/comments/gstudio_nodetype_preview.html create mode 100644 gstudio/templates/feeds/comment_description.html create mode 100644 gstudio/templates/feeds/comment_title.html create mode 100644 gstudio/templates/feeds/discussion_description.html create mode 100644 gstudio/templates/feeds/discussion_title.html create mode 100644 gstudio/templates/feeds/nodetype_description.html create mode 100644 gstudio/templates/feeds/nodetype_title.html create mode 100644 gstudio/templates/feeds/pingback_description.html create mode 100644 gstudio/templates/feeds/pingback_title.html create mode 100644 gstudio/templates/feeds/trackback_description.html create mode 100644 gstudio/templates/feeds/trackback_title.html create mode 100644 gstudio/templates/gstudio/_header.html create mode 100644 gstudio/templates/gstudio/_narrative_detail.html create mode 100644 gstudio/templates/gstudio/_nodetype_detail.html create mode 100644 gstudio/templates/gstudio/_nodetype_neighbourhood.html create mode 100644 gstudio/templates/gstudio/_subtype_detail.html create mode 100644 gstudio/templates/gstudio/attributetype_detail.html create mode 100644 gstudio/templates/gstudio/author/nodetype_list.html create mode 100644 gstudio/templates/gstudio/author_list.html create mode 100644 gstudio/templates/gstudio/base.html create mode 100644 gstudio/templates/gstudio/cms/nodetype_detail.html create mode 100644 gstudio/templates/gstudio/cms/nodetype_list.html create mode 100644 gstudio/templates/gstudio/cms/random_nodetypes.html create mode 100644 gstudio/templates/gstudio/graph1.html create mode 100644 gstudio/templates/gstudio/login.html create mode 100644 gstudio/templates/gstudio/metatype/nodetype_list.html create mode 100644 gstudio/templates/gstudio/metatype_list.html create mode 100644 gstudio/templates/gstudio/nodetype_archive.html create mode 100644 gstudio/templates/gstudio/nodetype_archive_day.html create mode 100644 gstudio/templates/gstudio/nodetype_archive_month.html create mode 100644 gstudio/templates/gstudio/nodetype_archive_year.html create mode 100644 gstudio/templates/gstudio/nodetype_detail.html create mode 100644 gstudio/templates/gstudio/nodetype_list.html create mode 100644 gstudio/templates/gstudio/nodetype_search.html create mode 100644 gstudio/templates/gstudio/nodetype_trackback.xml create mode 100644 gstudio/templates/gstudio/opensearch.xml create mode 100644 gstudio/templates/gstudio/password.html create mode 100644 gstudio/templates/gstudio/rsd.xml create mode 100644 gstudio/templates/gstudio/sitemap.html create mode 100644 gstudio/templates/gstudio/skeleton.html create mode 100644 gstudio/templates/gstudio/tag/nodetype_list.html create mode 100644 gstudio/templates/gstudio/tag_list.html create mode 100644 gstudio/templates/gstudio/tags/archives_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/archives_nodetypes_link.html create mode 100644 gstudio/templates/gstudio/tags/archives_nodetypes_tree.html create mode 100644 gstudio/templates/gstudio/tags/authors.html create mode 100644 gstudio/templates/gstudio/tags/breadcrumbs.html create mode 100644 gstudio/templates/gstudio/tags/calendar.html create mode 100644 gstudio/templates/gstudio/tags/dummy.html create mode 100644 gstudio/templates/gstudio/tags/featured_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/metatypes.html create mode 100644 gstudio/templates/gstudio/tags/nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/pagination.html create mode 100644 gstudio/templates/gstudio/tags/popular_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/random_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/recent_comments.html create mode 100644 gstudio/templates/gstudio/tags/recent_linkbacks.html create mode 100644 gstudio/templates/gstudio/tags/recent_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/similar_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/slider_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/tag_cloud.html create mode 100644 gstudio/templates/gstudio/wlwmanifest.xml create mode 100644 gstudio/templates/gstudio/wxr.xml create mode 100644 gstudio/templates/gstudiodashboard/dashboard.html create mode 100644 gstudio/templates/gstudioforms/gstudioattributeform.html create mode 100644 gstudio/templates/gstudioforms/gstudioattributetypeform.html create mode 100644 gstudio/templates/gstudioforms/gstudiocomplementform.html create mode 100644 gstudio/templates/gstudioforms/gstudiointersectionform.html create mode 100644 gstudio/templates/gstudioforms/gstudiometatypeform.html create mode 100644 gstudio/templates/gstudioforms/gstudioobjecttypeform.html create mode 100644 gstudio/templates/gstudioforms/gstudioprocesstypeform.html create mode 100644 gstudio/templates/gstudioforms/gstudiorelationform.html create mode 100644 gstudio/templates/gstudioforms/gstudiorelationtypeform.html create mode 100644 gstudio/templates/gstudioforms/gstudiosystemtypeform.html create mode 100644 gstudio/templates/gstudioforms/gstudiounionform.html create mode 100644 gstudio/templates/index.html create mode 100644 gstudio/templates/registration/activate.html create mode 100644 gstudio/templates/registration/activation_email.txt create mode 100644 gstudio/templates/registration/activation_email_subject.txt create mode 100644 gstudio/templates/registration/login.html create mode 100644 gstudio/templates/registration/logout.html create mode 100644 gstudio/templates/registration/password_change_done.html create mode 100644 gstudio/templates/registration/password_change_form.html create mode 100644 gstudio/templates/registration/password_reset_complete.html create mode 100644 gstudio/templates/registration/password_reset_confirm.html create mode 100644 gstudio/templates/registration/password_reset_done.html create mode 100644 gstudio/templates/registration/password_reset_email.html create mode 100644 gstudio/templates/registration/password_reset_form.html create mode 100644 gstudio/templates/registration/registration_complete.html create mode 100644 gstudio/templates/registration/registration_form.html create mode 100644 gstudio/templates/skeleton.html (limited to 'gstudio/templates') diff --git a/gstudio/templates/404.html b/gstudio/templates/404.html new file mode 100644 index 00000000..0a253b31 --- /dev/null +++ b/gstudio/templates/404.html @@ -0,0 +1,46 @@ +{% extends "gstudio/skeleton.html" %} +{% load i18n gstudio_tags %} + +{% block breadcrumbs %} + {% trans "Error 404" %} +{% endblock %} + +{% block title %}{% trans "Page not found" %}{% endblock %} + +{% block content %} +

{% trans "Page not found" %}

+ +

{% trans "Sorry, but the requested page could not be found." %}

+ +

{% trans "Useful links" %}

+ + +

{% trans "Recent node types" %}

+
+ {% get_recent_nodetypes 5 %} +
+ +

{% trans "Search" %}

+ + +{% endblock %} diff --git a/gstudio/templates/500.html b/gstudio/templates/500.html new file mode 100644 index 00000000..bf0551a2 --- /dev/null +++ b/gstudio/templates/500.html @@ -0,0 +1,46 @@ +{% extends "gstudio/skeleton.html" %} +{% load i18n gstudio_tags %} + +{% block breadcrumbs %} + {% trans "Error 500" %} +{% endblock %} + +{% block title %}{% trans "Server error" %}{% endblock %} + +{% block content %} +

{% trans "Server error" %}

+ +

{% trans "There's been an error. It's been reported to the site administrators via e-mail and should be fixed shortly. Thanks for your patience." %}

+ +

{% trans "Useful links" %}

+ + +

{% trans "Recent node types" %}

+
+ {% get_recent_nodetypes 5 %} +
+ +

{% trans "Search" %}

+ + +{% endblock %} diff --git a/gstudio/templates/admin/gstudio/app_index.html b/gstudio/templates/admin/gstudio/app_index.html new file mode 100644 index 00000000..3bd41716 --- /dev/null +++ b/gstudio/templates/admin/gstudio/app_index.html @@ -0,0 +1,41 @@ +{% extends "admin/app_index.html" %} +{% load i18n adminmedia %} + +{% block extrastyle %} +{{ block.super }} + + +{% endblock %} + +{% block extrahead %} +{{ block.super }} + + + + + + +{% endblock %} + +{% block content %} +
+ {% include "admin/gstudio/widgets/content_stats.html" %} + + {% include "admin/gstudio/widgets/quickpost.html" %} + + {% include "admin/gstudio/widgets/recent_comments.html" %} + + {% include "admin/gstudio/widgets/draft_nodetypes.html" %} + + {% include "admin/gstudio/widgets/recent_linkbacks.html" %} +
+{% endblock %} + + + diff --git a/gstudio/templates/admin/gstudio/nodetype/autocomplete_tags.js b/gstudio/templates/admin/gstudio/nodetype/autocomplete_tags.js new file mode 100644 index 00000000..8d318aed --- /dev/null +++ b/gstudio/templates/admin/gstudio/nodetype/autocomplete_tags.js @@ -0,0 +1,11 @@ +{% load tagging_tags %} + +$(document).ready(function() { + {% tags_for_model gstudio.Objecttype as objecttype_tags %} + var data = "{{ objecttype_tags|join:',' }}".split(","); + $("#id_tags").autocomplete(data, { + width: 150, max: 10, + multiple: true, multipleSeparator: ", ", + scroll: true, scrollHeight: 300, + matchContains: true, autoFill: true,}); +}); \ No newline at end of file diff --git a/gstudio/templates/admin/gstudio/nodetype/markitup.js b/gstudio/templates/admin/gstudio/nodetype/markitup.js new file mode 100644 index 00000000..543d49b5 --- /dev/null +++ b/gstudio/templates/admin/gstudio/nodetype/markitup.js @@ -0,0 +1,3 @@ +$(document).ready(function() { + $("#id_content").markItUp(mySettings); +}); diff --git a/gstudio/templates/admin/gstudio/nodetype/tinymce_textareas.js b/gstudio/templates/admin/gstudio/nodetype/tinymce_textareas.js new file mode 100644 index 00000000..51461c63 --- /dev/null +++ b/gstudio/templates/admin/gstudio/nodetype/tinymce_textareas.js @@ -0,0 +1,23 @@ +tinyMCE.init({ + mode: "exact", + elements: "id_content", + theme: "advanced", + skin : "o2k7", + skin_variant : "silver", + height: "250", + width: "800", + relative_urls: false, + language: "{{ language }}", + directionality: "{{ directionality }}", + spellchecker_languages : "{{ spellchecker_languages }}", + spellchecker_rpc_url : "{{ spellchecker_rpc_url }}", + theme_advanced_toolbar_location : "top", + theme_advanced_toolbar_align : "left", + theme_advanced_statusbar_location : "bottom", + theme_advanced_resizing : true, + plugins: "contextmenu,directionality,fullscreen,paste,preview,searchreplace,spellchecker,visualchars,wordcount", + paste_auto_cleanup_on_paste : true, + theme_advanced_buttons1 : "formatselect,fontsizeselect,|,undo,redo,|,cut,copy,paste,pastetext,pasteword,|,search,replace,|,visualchars,visualaid,cleanup,code,preview,fullscreen", + theme_advanced_buttons2 : "bold,italic,underline,strikethrough,|,forecolor,backcolor,removeformat,|,justifyleft,justifycenter,justifyright,justifyfull,|,sub,sup,|,bullist,numlist,|,outdent,indent,|,link,unlink,anchor,image,blockquote,hr,charmap,", + theme_advanced_buttons3 : "", + }); diff --git a/gstudio/templates/admin/gstudio/nodetype/wymeditor.js b/gstudio/templates/admin/gstudio/nodetype/wymeditor.js new file mode 100644 index 00000000..6cf8633a --- /dev/null +++ b/gstudio/templates/admin/gstudio/nodetype/wymeditor.js @@ -0,0 +1,10 @@ +$(document).ready(function() { + $("#id_content").wymeditor({ + skin: "django", lang: "{{ LANGUAGE_CODE }}", + stylesheet: "{{ STATIC_URL }}gstudio/css/wymeditor_styles.css", + updateSelector: "input:submit", updateEvent: "click", + postInit: function(wym) { + wym.hovertools(); + } + }); + }); diff --git a/gstudio/templates/admin/gstudio/widgets/ATquickpost.html b/gstudio/templates/admin/gstudio/widgets/ATquickpost.html new file mode 100644 index 00000000..025dc6ea --- /dev/null +++ b/gstudio/templates/admin/gstudio/widgets/ATquickpost.html @@ -0,0 +1,59 @@ +{% load i18n %} +
+
+ {% csrf_token %} + + + +

All the fields are mandatory

+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + + +
+
+
diff --git a/gstudio/templates/admin/gstudio/widgets/OTquickpost.html b/gstudio/templates/admin/gstudio/widgets/OTquickpost.html new file mode 100644 index 00000000..da24e304 --- /dev/null +++ b/gstudio/templates/admin/gstudio/widgets/OTquickpost.html @@ -0,0 +1,58 @@ +{% load i18n %} +
+
+ {% csrf_token %} + + +

All the fields are mandatory

+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + + +
+
+
diff --git a/gstudio/templates/admin/gstudio/widgets/_content_stats.html b/gstudio/templates/admin/gstudio/widgets/_content_stats.html new file mode 100644 index 00000000..90709feb --- /dev/null +++ b/gstudio/templates/admin/gstudio/widgets/_content_stats.html @@ -0,0 +1,146 @@ +{% load i18n %} + + + {% trans "Contents" %} + {% trans "Discussions" %} + + + + + + + + {% blocktrans %}{{ objecttypes }} objecttype{% endblocktrans %} + + + + + {% blocktrans %}{{ comments }} comments{% endblocktrans %} + + + +