summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakefeasel <jfeasel@gmail.com>2012-10-18 21:49:49 -0700
committerjakefeasel <jfeasel@gmail.com>2012-10-18 21:49:49 -0700
commite6e7dd4d3780e983edefa359f06750d3e4b67286 (patch)
treec62f07160e762286dad33ab64aa48c77060b51ae
parent29bc776f0a337f719e2644171cfca1e781b60252 (diff)
downloadsqlfiddle-e6e7dd4d3780e983edefa359f06750d3e4b67286.zip
sqlfiddle-e6e7dd4d3780e983edefa359f06750d3e4b67286.tar.gz
sqlfiddle-e6e7dd4d3780e983edefa359f06750d3e4b67286.tar.bz2
Sponsorship suggestions
-rw-r--r--src/main/webapp/javascripts/fiddle_backbone/templates/queryPlaintextOutput.html2
-rw-r--r--src/main/webapp/javascripts/fiddle_backbone/templates/queryTabularOutput.html2
-rw-r--r--src/main/webapp/stylesheets/fiddle.css5
-rw-r--r--src/main/webapp/stylesheets/fiddle.less8
4 files changed, 15 insertions, 2 deletions
diff --git a/src/main/webapp/javascripts/fiddle_backbone/templates/queryPlaintextOutput.html b/src/main/webapp/javascripts/fiddle_backbone/templates/queryPlaintextOutput.html
index 04c04d9..4e5190d 100644
--- a/src/main/webapp/javascripts/fiddle_backbone/templates/queryPlaintextOutput.html
+++ b/src/main/webapp/javascripts/fiddle_backbone/templates/queryPlaintextOutput.html
@@ -47,4 +47,6 @@
{{/if}}
</div>
{{/each_with_index}}
+
+ <span id="donationSuggestion">Did this query solve the problem? If so, consider donating $5 to help make sure SQL Fiddle will be here next time you need help with a database problem. Thanks!</span>
{{/if}}
diff --git a/src/main/webapp/javascripts/fiddle_backbone/templates/queryTabularOutput.html b/src/main/webapp/javascripts/fiddle_backbone/templates/queryTabularOutput.html
index 3670320..e398b5f 100644
--- a/src/main/webapp/javascripts/fiddle_backbone/templates/queryTabularOutput.html
+++ b/src/main/webapp/javascripts/fiddle_backbone/templates/queryTabularOutput.html
@@ -56,4 +56,6 @@
{{/if}}
</div>
{{/each_with_index}}
+
+ <span id="donationSuggestion">Did this query solve the problem? If so, consider donating $5 to help make sure SQL Fiddle will be here next time you need help with a database problem. Thanks!</span>
{{/if}} \ No newline at end of file
diff --git a/src/main/webapp/stylesheets/fiddle.css b/src/main/webapp/stylesheets/fiddle.css
index 75b4673..30a4ca0 100644
--- a/src/main/webapp/stylesheets/fiddle.css
+++ b/src/main/webapp/stylesheets/fiddle.css
@@ -152,6 +152,11 @@ pre.results,
#runQueryOptions {
min-width: 120px;
}
+#donationSuggestion {
+ font-size: 8pt;
+ text-align: center;
+ display: block;
+}
#content .panel form textarea {
display: block;
/* height: 97%;
diff --git a/src/main/webapp/stylesheets/fiddle.less b/src/main/webapp/stylesheets/fiddle.less
index 4dc326b..b55369b 100644
--- a/src/main/webapp/stylesheets/fiddle.less
+++ b/src/main/webapp/stylesheets/fiddle.less
@@ -108,13 +108,17 @@ pre.results, .resultSetPreview li pre {
.database-error {
white-space: pre-wrap;
-}
+}
#runQueryOptions {
min-width: 120px;
}
-
+#donationSuggestion {
+ font-size: 8pt;
+ text-align: center;
+ display: block;
+}
#content .panel form textarea {
display: block;
/* height: 97%;