summaryrefslogtreecommitdiffstats
path: root/js/config.js
diff options
context:
space:
mode:
authorOndrej Zara <ondrej.zara@firma.seznam.cz>2015-06-12 09:40:15 +0200
committerOndrej Zara <ondrej.zara@firma.seznam.cz>2015-06-12 09:40:15 +0200
commit6fb6ba452f2bd616b6fe8d2edd0273e63b6e3f62 (patch)
tree58f9be7ce76ea934c0b9ed5f12d200151e5f9df9 /js/config.js
parentb3bf2bd8ecc9bd175793f67c46a8319b7d67174c (diff)
downloadwwwsqldesigner-6fb6ba452f2bd616b6fe8d2edd0273e63b6e3f62.zip
wwwsqldesigner-6fb6ba452f2bd616b6fe8d2edd0273e63b6e3f62.tar.gz
wwwsqldesigner-6fb6ba452f2bd616b6fe8d2edd0273e63b6e3f62.tar.bz2
dropbox conf in config.js, fixed button hiding
Diffstat (limited to 'js/config.js')
-rw-r--r--js/config.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/js/config.js b/js/config.js
index f455200..f591ab1 100644
--- a/js/config.js
+++ b/js/config.js
@@ -13,5 +13,18 @@ var CONFIG = {
RELATION_COLORS: ["#000", "#800", "#080", "#008", "#088", "#808", "#088"],
STATIC_PATH: "",
- XHR_PATH: ""
+ XHR_PATH: "",
+
+ /*
+ * The key below needs to be set individually by you if you want to use the Dropbox load/save feature.
+ * To do that, first sign up with Dropbox (may require a specific developer / SDK sign-up), go to
+ * https://www.dropbox.com/developers/apps and use "Create app" to add a new app. Call it, for instance,
+ * "wwwsqldesigner", and give it the "App Folder" permission. Unter "OAuth 2", "Redirect URIs", add
+ * the URL to the "dropbox-oauth-receiver.html" file on your server. E.g, if you install wwwsqldesigner
+ * on your local web server under "http://localhost/sqldesigner/", then add
+ * http://localhost/sqldesigner/dropbox-oauth-receiver.html as a Redirection URI.
+ * Copy the shown "App key" and paste it here below:
+ */
+ DROPBOX_KEY: null // "your app key";
+
}