diff --git a/main/template/default/layout/head.tpl b/main/template/default/layout/head.tpl index 14eef970de..a77a592594 100644 --- a/main/template/default/layout/head.tpl +++ b/main/template/default/layout/head.tpl @@ -9,7 +9,6 @@ {# Use the latest engine in ie8/ie9 or use google chrome engine if available #} {# Improve usability in portal devices #} - {{ title_string }} {{ css_file_to_string }} {{ css_style_print }} diff --git a/main/template/jqm/index/course_block.tpl b/main/template/jqm/index/course_block.tpl deleted file mode 100644 index 70f218bb0a..0000000000 --- a/main/template/jqm/index/course_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': course_block} %} \ No newline at end of file diff --git a/main/template/jqm/index/course_session_block.tpl b/main/template/jqm/index/course_session_block.tpl deleted file mode 100644 index 23b6c35e27..0000000000 --- a/main/template/jqm/index/course_session_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': course_session_block} %} \ No newline at end of file diff --git a/main/template/jqm/index/notice_block.tpl b/main/template/jqm/index/notice_block.tpl deleted file mode 100644 index e6205c3492..0000000000 --- a/main/template/jqm/index/notice_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': notice_block} %} \ No newline at end of file diff --git a/main/template/jqm/index/skills_block.tpl b/main/template/jqm/index/skills_block.tpl deleted file mode 100644 index d27587a19d..0000000000 --- a/main/template/jqm/index/skills_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': skills_block} %} \ No newline at end of file diff --git a/main/template/jqm/index/teacher_block.tpl b/main/template/jqm/index/teacher_block.tpl deleted file mode 100644 index c9dd5c96ae..0000000000 --- a/main/template/jqm/index/teacher_block.tpl +++ /dev/null @@ -1 +0,0 @@ -{% include 'default/layout/block_menu.tpl' with {'block_menu': teacher_block} %} \ No newline at end of file diff --git a/main/template/jqm/userportal/course_page.tpl b/main/template/jqm/userportal/course_page.tpl deleted file mode 100644 index be719a0472..0000000000 --- a/main/template/jqm/userportal/course_page.tpl +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "default/layout/layout_2_col.tpl" %} - diff --git a/main/template/jqm/userportal/index.tpl b/main/template/jqm/userportal/index.tpl deleted file mode 100644 index 4fd1b8f775..0000000000 --- a/main/template/jqm/userportal/index.tpl +++ /dev/null @@ -1 +0,0 @@ -{% extends "default/layout/layout_2_col.tpl" %} \ No newline at end of file diff --git a/main/template/jqm/admin/settings_index.tpl b/main/template/jquery_mobile/admin/settings_index.tpl similarity index 95% rename from main/template/jqm/admin/settings_index.tpl rename to main/template/jquery_mobile/admin/settings_index.tpl index 337b31b92b..81b6ff5d2e 100644 --- a/main/template/jqm/admin/settings_index.tpl +++ b/main/template/jquery_mobile/admin/settings_index.tpl @@ -1,4 +1,4 @@ -{% extends "default/layout/layout_1_col.tpl" %} +{% extends "jquery_mobile/layout/layout_1_col.tpl" %} {% block content %} \ No newline at end of file + diff --git a/main/template/jqm/notebook/upload.tpl b/main/template/jquery_mobile/notebook/edit.tpl similarity index 65% rename from main/template/jqm/notebook/upload.tpl rename to main/template/jquery_mobile/notebook/edit.tpl index 54dc5810fe..1bc933d8c7 100644 --- a/main/template/jqm/notebook/upload.tpl +++ b/main/template/jquery_mobile/notebook/edit.tpl @@ -1,4 +1,5 @@ -{% include 'default/notebook/header.tpl' %} + +{% include 'jquery_mobile/notebook/header.tpl' %}
@@ -6,4 +7,4 @@
-{{form.return_form()}} \ No newline at end of file +{{form.return_form()}} diff --git a/main/template/jqm/notebook/header.tpl b/main/template/jquery_mobile/notebook/header.tpl similarity index 100% rename from main/template/jqm/notebook/header.tpl rename to main/template/jquery_mobile/notebook/header.tpl diff --git a/main/template/jqm/notebook/index.tpl b/main/template/jquery_mobile/notebook/index.tpl similarity index 90% rename from main/template/jqm/notebook/index.tpl rename to main/template/jquery_mobile/notebook/index.tpl index 33223a7398..524b52ec5c 100644 --- a/main/template/jqm/notebook/index.tpl +++ b/main/template/jquery_mobile/notebook/index.tpl @@ -1,5 +1,5 @@ -{% include 'default/notebook/header.tpl' %} -{% include 'default/notebook/javascript.tpl' %} +{% include 'jquery_mobile/notebook/header.tpl' %} +{% include 'jquery_mobile/notebook/javascript.tpl' %}
{% if is_allowed_to_edit %} @@ -37,5 +37,5 @@
-{% include 'default/notebook/list.tpl' %} +{% include 'jquery_mobile/notebook/list.tpl' %} diff --git a/main/template/jqm/notebook/javascript.tpl b/main/template/jquery_mobile/notebook/javascript.tpl similarity index 100% rename from main/template/jqm/notebook/javascript.tpl rename to main/template/jquery_mobile/notebook/javascript.tpl diff --git a/main/template/jqm/notebook/list.tpl b/main/template/jquery_mobile/notebook/list.tpl similarity index 100% rename from main/template/jqm/notebook/list.tpl rename to main/template/jquery_mobile/notebook/list.tpl diff --git a/main/template/jqm/notebook/edit.tpl b/main/template/jquery_mobile/notebook/upload.tpl similarity index 75% rename from main/template/jqm/notebook/edit.tpl rename to main/template/jquery_mobile/notebook/upload.tpl index 244ffab0dc..0ca4792fa3 100644 --- a/main/template/jqm/notebook/edit.tpl +++ b/main/template/jquery_mobile/notebook/upload.tpl @@ -1,5 +1,4 @@ - -{% include 'default/notebook/header.tpl' %} +{% include 'jquery_mobile/notebook/header.tpl' %}
diff --git a/main/template/jqm/pages/add.tpl b/main/template/jquery_mobile/pages/add.tpl similarity index 71% rename from main/template/jqm/pages/add.tpl rename to main/template/jquery_mobile/pages/add.tpl index 57eaabf34e..6087e2f03a 100755 --- a/main/template/jqm/pages/add.tpl +++ b/main/template/jquery_mobile/pages/add.tpl @@ -1,8 +1,8 @@ -{% extends "default/layout/layout_1_col.tpl" %} +{% extends "jquery_mobile/layout/layout_1_col.tpl" %} {% block content %}
{{ form_widget(form) }}
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/main/template/jqm/pages/listing.tpl b/main/template/jquery_mobile/pages/listing.tpl similarity index 84% rename from main/template/jqm/pages/listing.tpl rename to main/template/jquery_mobile/pages/listing.tpl index 72ae7d53da..1e97581e8d 100755 --- a/main/template/jqm/pages/listing.tpl +++ b/main/template/jquery_mobile/pages/listing.tpl @@ -1,4 +1,4 @@ -{% extends "default/layout/layout_1_col.tpl" %} +{% extends "jquery_mobile/layout/layout_1_col.tpl" %} {% block content %} {% for page in pages %} @@ -11,4 +11,4 @@
{% endfor %} {{ pagination }} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/main/template/jqm/pages/show.tpl b/main/template/jquery_mobile/pages/show.tpl similarity index 61% rename from main/template/jqm/pages/show.tpl rename to main/template/jquery_mobile/pages/show.tpl index e786091bf3..d99cf4671e 100755 --- a/main/template/jqm/pages/show.tpl +++ b/main/template/jquery_mobile/pages/show.tpl @@ -1,8 +1,8 @@ -{% extends 'default/layout/layout_1_col.tpl' %} +{% extends 'jquery_mobile/layout/layout_1_col.tpl' %} {% block content %} {{ page|var_dump}} {{ page.title }} {{ page.slug }} {{ page.content }} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/main/template/jqm/skill/profile.tpl b/main/template/jquery_mobile/skill/profile.tpl similarity index 100% rename from main/template/jqm/skill/profile.tpl rename to main/template/jquery_mobile/skill/profile.tpl diff --git a/main/template/jqm/skill/profile_item.tpl b/main/template/jquery_mobile/skill/profile_item.tpl similarity index 100% rename from main/template/jqm/skill/profile_item.tpl rename to main/template/jquery_mobile/skill/profile_item.tpl diff --git a/main/template/jqm/skill/skill_ranking.tpl b/main/template/jquery_mobile/skill/skill_ranking.tpl similarity index 100% rename from main/template/jqm/skill/skill_ranking.tpl rename to main/template/jquery_mobile/skill/skill_ranking.tpl diff --git a/main/template/jqm/skill/skill_tree.tpl b/main/template/jquery_mobile/skill/skill_tree.tpl similarity index 100% rename from main/template/jqm/skill/skill_tree.tpl rename to main/template/jquery_mobile/skill/skill_tree.tpl diff --git a/main/template/jqm/skill/skill_tree_student.tpl b/main/template/jquery_mobile/skill/skill_tree_student.tpl similarity index 99% rename from main/template/jqm/skill/skill_tree_student.tpl rename to main/template/jquery_mobile/skill/skill_tree_student.tpl index fdb7dab51c..f3fce80b6e 100644 --- a/main/template/jqm/skill/skill_tree_student.tpl +++ b/main/template/jquery_mobile/skill/skill_tree_student.tpl @@ -166,7 +166,7 @@ jsPlumb.bind("ready", function() { ;(function() { window.jsPlumbDemo = { init : function() { - console.log('Import defaults'); + console.log('Import defaults'); jsPlumb.Defaults.Anchors = [ "BottomCenter", "TopCenter" ]; jsPlumb.Defaults.Container = "skill_tree"; @@ -213,4 +213,4 @@ $(document).ready( function() {
- \ No newline at end of file + diff --git a/main/template/jqm/skill/skill_wheel.js.tpl b/main/template/jquery_mobile/skill/skill_wheel.js.tpl similarity index 99% rename from main/template/jqm/skill/skill_wheel.js.tpl rename to main/template/jquery_mobile/skill/skill_wheel.js.tpl index 74de28a41b..d680680988 100644 --- a/main/template/jqm/skill/skill_wheel.js.tpl +++ b/main/template/jquery_mobile/skill/skill_wheel.js.tpl @@ -1,5 +1,5 @@ {# topbar #} -{% include "default/layout/topbar.tpl" %} +{% include "jquery_mobile/layout/topbar.tpl" %}