Some cosmetic changes. Fade out of button after asking a question, some margin to avoid interference of the button with scrollbars, reduced timeframe upon appearance and changed modal window description text.

This commit is contained in:
Ralf Teusner
2016-05-01 12:12:46 +02:00
parent d2ebfc9fde
commit 1f7f2865a0
4 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,7 @@ $(function() {
var THEME = 'ace/theme/textmate';
var REMEMBER_TAB = false;
var AUTOSAVE_INTERVAL = 15 * 1000;
var REQUEST_FOR_COMMENTS_DELAY = 5 * 60 * 1000;
var REQUEST_FOR_COMMENTS_DELAY = 3 * 60 * 1000;
var NONE = 0;
var WEBSOCKET = 1;
var SERVER_SEND_EVENT = 2;
@ -1171,6 +1171,8 @@ $(function() {
}).error(ajaxError);
$('#comment-modal').modal('hide');
var button = $('#requestCommentsButton');
button.fadeOut();
}
var initializeCodePilot = function() {

View File

@ -92,5 +92,6 @@ button i.fa-spin {
#requestCommentsButton {
position: relative;
margin-top: -50px;
margin-right: 25px;
float: right;
}

View File

@ -248,7 +248,7 @@ de:
removeAllOnLine: Meine Kommentare auf dieser Zeile löschen
listing: Die neuesten Kommentaranfragen
request: "Kommentaranfrage stellen"
question: "Was ist Ihre Frage? (optional)"
question: "Bitte beschreiben Sie kurz ihre Problem oder nennen Sie den Programmteil, zu dem sie Feedback wünschen."
index:
clone: Duplizieren
implement: Implementieren

View File

@ -248,7 +248,7 @@ en:
removeAllOnLine: Remove my comments on this line
listing: Listing the newest comment requests
request: "Request Comments"
question: "What is your question? (optional)"
question: "Please shortly describe your problem or the program part you would like to get feedback for."
index:
clone: Duplicate
implement: Implement