summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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%;