diff -r eb5f2313ce2b -r 4f458e6d32bd client/templates/scene.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/templates/scene.html Sat Apr 18 16:56:37 2015 +0200 @@ -0,0 +1,152 @@ +<% if (options.show_top_bar) { %> +
+
+ <% if (!options.editor_mode) { %> +

+ <%- project.get("title") || translate("Untitled project")%> +

+ <% } else { %> + + <% } %> + <% if (options.show_user_list) { %> +
+
+ <% if (options.show_user_color) { %> +
+ + <% if (options.user_color_editable) { %> + + <% } %> + + <% if (options.user_color_editable) { print(colorPicker) } %> +
+ <% } %> + <unknown user> +
+ +
+ <% } %> + <% if (options.home_button_url) {%> +
+ +
+
+ <%- translate(options.home_button_title) %> +
+
+
+ <% } %> + <% if (options.show_fullscreen_button) { %> +
+
+
+
+ <%-translate("Full Screen")%> +
+
+
+ <% } %> + <% if (options.editor_mode) { %> + <% if (options.show_addnode_button) { %> +
+
+
+
+ <%-translate("Add Node")%> +
+
+
+ <% } %> + <% if (options.show_addedge_button) { %> +
+
+
+
+ <%-translate("Add Edge")%> +
+
+
+ <% } %> + <% if (options.show_export_button) { %> +
+
+
+
+ <%-translate("Download Project")%> +
+
+
+ <% } %> + <% if (options.show_save_button) { %> +
+
+
+
+
+
+ <% } %> + <% if (options.show_open_button) { %> +
+
+
+
+ <%-translate("Open Project")%> +
+
+
+ <% } %> + <% if (options.show_bookmarklet) { %> +
+ +
+
+ <%-translate("Renkan \'Drag-to-Add\' bookmarklet")%> +
+
+
+
+ <% } %> + <% } else { %> + <% if (options.show_export_button) { %> +
+
+
+
+ <%-translate("Download Project")%> +
+
+
+
+ <% } %> + <% }; %> + <% if (options.show_search_field) { %> +
+ +
+
+ <% } %> +
+<% } %> +
+
+ resize="" <% } %>> +
+
+ <% if (options.show_bins) { %> +
«
+ <% } %> + <% if (options.show_zoom) { %> +
+
+
+
+ <% if (options.editor_mode && options.save_view) { %> +
+ <% } %> + <% if (options.save_view) { %> +
+ <% } %> +
+ <% } %> +
+
\ No newline at end of file