Commit bd5ecfba authored by yPhil's avatar yPhil
Browse files

Load: noSourcesButton spinner

parent 49b79db1
......@@ -118,12 +118,15 @@ input#feedGuess {
display:none !important;
}
#noSourcesButton button {
#noSourcesButton > button {
/* margin-top:50%; */
background-color: #39b54a;
border: 1px transparent solid;
color: #FFFFFF;
}
#noSourcesButton > button > i {
font-size: 24pt;
}
button > i {
......
......@@ -101,9 +101,11 @@ $tabs.on("click", "i.tabCloser", function() {
MOB.utilities.noSourcesButton();
$('#noSourcesButton button').button().click(function() {
MOB.dialog.newContent();
});
$('#noSourcesButton button').button();
// $('#noSourcesButton button').click(function() {
// MOB.dialog.newContent();
// });
// INIT
......@@ -130,4 +132,4 @@ setTimeout(function() {
$('#tabs').fadeIn(350);
$('#menu').fadeIn(600);
}, 1000);
}, 1000);
MOB.utilities = {
noSourcesButton:function() {
var $noSourcesButton = $('<button>').append('<span data-content="Whoops, no sources!" data-title="Whoops, no sources!" class="translate"> Whoops, no sources! </span> <br/> <span data-content="Click here to add some." data-title="Click here to add some." class="translate"> Click here to add some.</span>');
var $loadingSpinner = $('<i>')
.attr('class', 'icon-spin3 spin');
var $noSourcesButton = $('<button>')
// .append('<span data-content="Whoops, no sources!" data-title="Whoops, no sources!" class="translate"> Whoops, no sources! </span> <br/> <span data-content="Click here to add some." data-title="Click here to add some." class="translate"> Click here to add some.</span>')
.append($loadingSpinner);
var $noSourcesButtonContainer = $('<div>')
.attr('id', 'noSourcesButton')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment