removed some unecessary buttons at the top of the renkan editor (via config options)
authordurandn
Mon, 11 Apr 2016 17:12:51 +0200
changeset 64 8745c7bcf096
parent 63 6bfac7c633a0
child 65 c765c06f0b91
removed some unecessary buttons at the top of the renkan editor (via config options)
server/src/metaeducation/templates/base.html
server/src/metaeducation/templates/renkan_edit.html
server/src/metaeducation/templates/renkan_view.html
--- a/server/src/metaeducation/templates/base.html	Mon Apr 11 16:47:09 2016 +0200
+++ b/server/src/metaeducation/templates/base.html	Mon Apr 11 17:12:51 2016 +0200
@@ -9,7 +9,6 @@
         <title>{% block title %}RENKAN{% endblock title %}</title>
         <meta name="description" content="" />
         <meta name="author" content="Institut de Recherche et d'Innovation" />
-        <!--link rel="icon" href="{% static 'img/favicon.ico' %}" type="image/x-icon" /-->
         {% block js_import %}
           <script src="{% static 'renkanmanager/lib/jquery/jquery.js' %}" ></script>
         {% endblock js_import %}
--- a/server/src/metaeducation/templates/renkan_edit.html	Mon Apr 11 16:47:09 2016 +0200
+++ b/server/src/metaeducation/templates/renkan_edit.html	Mon Apr 11 17:12:51 2016 +0200
@@ -26,8 +26,24 @@
               user_authenticated: true,
               user_id: "{{ user.id }}",       
               user_name: "{{ user.username }}",
+              url_parameters: false,
+              update_url: false,
+              user_color_editable: false,
+              show_user_color: false,
+              show_search_field: true,
+              show_user_list: false,
+              user_name_editable: false,
               user_color_editable: false,
               show_user_color: false,
+              show_save_button: true,
+              show_export_button: false,
+              show_open_button: false,
+              show_addnode_button: true,
+              show_addedge_button: true,
+              show_bookmarklet: false,
+              show_fullscreen_button: false,
+              home_button_url: false,
+              popup_editor: false,
           });
           Rkns.jsonIO(_renkan, {
               url: "{% url 'v1.0:renkan_detail' renkan_guid=renkan_guid %}?content_only=true"
--- a/server/src/metaeducation/templates/renkan_view.html	Mon Apr 11 16:47:09 2016 +0200
+++ b/server/src/metaeducation/templates/renkan_view.html	Mon Apr 11 17:12:51 2016 +0200
@@ -22,13 +22,27 @@
               editor_mode: false,
               show_bins: false,
               language: "{{LANGUAGE_CODE}}",
-              url_parameters: false,
-              update_url: false,
               user_authenticated: true,
               user_id: "{{ user.id }}",       
               user_name: "{{ user.username }}",
+              url_parameters: false,
+              update_url: false,
+              user_color_editable: false,
+              show_user_color: false,
+              show_search_field: true,
+              show_user_list: false,
+              user_name_editable: false,
               user_color_editable: false,
               show_user_color: false,
+              show_save_button: true,
+              show_export_button: false,
+              show_open_button: false,
+              show_addnode_button: true,
+              show_addedge_button: true,
+              show_bookmarklet: false,
+              show_fullscreen_button: false,
+              home_button_url: false,
+              popup_editor: false,
           });
           Rkns.jsonIO(_renkan, {
               url: "{% url 'v1.0:renkan_detail' renkan_guid=renkan_guid %}?content_only=true"