diff -r ea11e17e0a35 -r 860340d4c645 client/js/defaults.js --- a/client/js/defaults.js Wed Apr 03 16:17:36 2013 +0200 +++ b/client/js/defaults.js Thu Apr 04 15:41:00 2013 +0200 @@ -1,4 +1,5 @@ Rkns.defaults = { + language: (navigator.language || navigator.userLanguage || "en"), /* GUI Language */ container: "renkan", @@ -19,6 +20,9 @@ /* Switch for Publish/Edit GUI. If editor_mode is false, read_only will be true. */ snapshot_mode: false, /* In snapshot mode, clicking on the floppy will save a snapshot. Otherwise, it will show the connection status */ + show_top_bar: true, + /* Show the top bar, (title, buttons, users) */ + default_user_color: "#303030", /* MINI-MAP OPTIONS */ @@ -26,6 +30,10 @@ /* Show a small map at the bottom right */ minimap_width: 160, minimap_height: 120, + minimap_background_color: "#ffffff", + minimap_border_color: "#cccccc", + minimap_highlight_color: "#ffff00", + minimap_highlight_weight: 5, /* EDGE/NODE COMMON OPTIONS */ @@ -39,8 +47,11 @@ /* Show circles for nodes */ clip_node_images: true, /* Constraint node images to circles */ + node_size_base: 25, node_stroke_width: 2, selected_node_stroke_width: 4, + node_fill_color: "#ffffff", + highlighted_node_fill_color: "#ffff00", node_label_color: "#000000", node_label_font_size: 10, node_label_font: 'Helvetica, Arial, sans-serif', @@ -71,5 +82,7 @@ tooltip_arrow_width : 40, tooltip_top_color: "#f0f0f0", tooltip_bottom_color: "#d0d0d0", + tooltip_border_color: "#808080", + tooltip_border_width: 1 }