From 62152c38a78deb78fdfbfe6386568b789aa82e6b Mon Sep 17 00:00:00 2001 From: Thomas Tempelmann Date: Thu, 11 Jun 2015 16:44:20 +0200 Subject: [PATCH] Trims the SQL output to remove empty lines at top and end. Makes Load/Save dialog a little bit wider to allow a better flow of the buttons. Hides Dropbox buttons if Dropbox load/save is unavailable. Renames the buttons and functions from "clientdropbox..." to "dropbox..." --- index.html | 18 +++++++++++------- js/wwwsqldesigner.js | 29 +++++++++++++++++++---------- locale/en.xml | 6 +++--- styles/style.css | 6 +++--- 4 files changed, 36 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index 55c3401..6d8ffa6 100755 --- a/index.html +++ b/index.html @@ -147,24 +147,28 @@ - -
+
+
-
- - - -
+
+
+
+
+ + + +

+
diff --git a/js/wwwsqldesigner.js b/js/wwwsqldesigner.js index b1c61ab..2653b25 100755 --- a/js/wwwsqldesigner.js +++ b/js/wwwsqldesigner.js @@ -1278,7 +1278,7 @@ SQL.IO.prototype.init = function(owner) { }; var ids = ["saveload","clientlocalsave", "clientsave", "clientlocalload", "clientlocallist","clientload", "clientsql", - "clientdropboxsave", "clientdropboxload", "clientdropboxlist", + "dropboxsave", "dropboxload", "dropboxlist", "quicksave", "serversave", "serverload", "serverlist", "serverimport"]; for (var i=0;iInput / Output Save XML Load XML - Save to Dropbox - Load from Dropbox - List from Dropbox Save in Browser Load from Browser List from Browser + Save to Dropbox + Load from Dropbox + List from Dropbox Generate SQL Server backend: Save diff --git a/styles/style.css b/styles/style.css index 2a3c7f5..4a8f8e0 100644 --- a/styles/style.css +++ b/styles/style.css @@ -3,7 +3,7 @@ body { font-size: small; padding: 0px; margin: 0px; - background: #FFF; + background: #FFF; visibility: hidden; -moz-user-select: -moz-none; -khtml-user-select: none; @@ -211,8 +211,8 @@ body { } #textarea { - width: 600px; - height: 100px; + width: 650px; + height: 200px; } #opts {