Socket connection help

Revised help text, adding status icons. Added clear overlay under the modal dialog. Rotated the network icon left by 45 deg.
This commit is contained in:
Chris Houseknecht 2014-07-30 17:06:20 -04:00
parent 56255777bc
commit 10d0fa7631
5 changed files with 17 additions and 9 deletions

View File

@ -21,9 +21,8 @@ angular.module('ChromeSocketHelpDefinition', [])
src: 'socket_indicator.png',
maxWidth: 360
},
box: "<p>When live events are streaming the connection status indicator will be green. Red or orange indicates the " +
"browser is having difficulty connecting to the server, and live events are no longer being received.</p><p>If the indicator " +
"appears red or orange, click next for troubleshooting help.</p>"
box: "<p><i class=\"fa icon-socket-ok\"></i> indicates live events are streaming and the browser is connected to the live events server.</p><p>If the indicator continually shows <i class=\"fa icon-socket-error\"></i> " +
"or <i class=\"fa icon-socket-connecting\"></i>, then live events are not streaming, and the browser is having difficulty connecting to the live events server. In this case click Next for troubleshooting help.</p>"
}, {
intro: 'Live events connection:',
icon: {

View File

@ -21,9 +21,8 @@ angular.module('FFSocketHelpDefinition', [])
src: 'socket_indicator.png',
maxWidth: 360
},
box: "<p>When live events are streaming the connection status indicator will be green. Red or orange indicates the " +
"browser is having difficulty connecting to the server, and live events are no longer being received.</p><p>If the indicator " +
"appears red or orange, click Next for troubleshooting help.</p>"
box: "<p><i class=\"fa icon-socket-ok\"></i> indicates live events are streaming and the browser is connected to the live events server.</p><p>If the indicator continually shows <i class=\"fa icon-socket-error\"></i> " +
"or <i class=\"fa icon-socket-connecting\"></i>, then live events are not streaming, and the browser is having difficulty connecting to the live events server. In this case click Next for troubleshooting help.</p>"
}, {
intro: 'Live events connection:',
icon: {

View File

@ -21,9 +21,8 @@ angular.module('SafariSocketHelpDefinition', [])
src: 'socket_indicator.png',
maxWidth: 360
},
box: "<p>When live events are streaming the connection status indicator will be green. Red or orange indicates the " +
"browser is having difficulty connecting to the server, and live events are no longer being received.</p><p>If the indicator " +
"appears red or orange, click next for troubleshooting help.</p>"
box: "<p><i class=\"fa icon-socket-ok\"></i> indicates live events are streaming and the browser is connected to the live events server.</p><p>If the indicator continually shows <i class=\"fa icon-socket-error\"></i> " +
"or <i class=\"fa icon-socket-connecting\"></i>, then live events are not streaming, and the browser is having difficulty connecting to the live events server. In this case click Next for troubleshooting help.</p>"
}, {
intro: 'Live events connection:',
icon: {

View File

@ -1549,6 +1549,10 @@ tr td button i {
color: @grey-txt;
font-size: 14px;
}
.fa-rss {
transform:rotate(-45deg);
}
}
/* Activity Stream Widget */

View File

@ -408,6 +408,12 @@ angular.module('Utilities', ['RestServices', 'Utilities'])
$('#help-modal-dialog').dialog('close');
}
});
$('.overlay').css({
width: $(document).width(),
height: $(document).height()
}).fadeIn();
// Show the dialog
$('#help-modal-dialog').dialog({
position: {
@ -424,6 +430,7 @@ angular.module('Utilities', ['RestServices', 'Utilities'])
hide: 500,
resizable: false,
close: function () {
$('.overlay').hide();
$('#help-modal-dialog').empty();
}
});