/admin/plugins: Add a loading indicator to some messages
This commit is contained in:
parent
c4d9a71156
commit
bc8d6d4c45
|
@ -46,7 +46,7 @@ $(document).ready(function () {
|
|||
show: function(plugin, msg) {
|
||||
$('.installed-results .'+plugin+' .progress').show()
|
||||
$('.installed-results .'+plugin+' .progress .message').text(msg)
|
||||
$(window).scrollTop($('.'+plugin).offset().top-100)
|
||||
if($(window).scrollTop() > $('.'+plugin).offset().top)$(window).scrollTop($('.'+plugin).offset().top-100)
|
||||
},
|
||||
hide: function(plugin) {
|
||||
$('.installed-results .'+plugin+' .progress').hide()
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
<tbody class="messages">
|
||||
<tr><td></td><td>
|
||||
<p class="nothing-installed">You haven't installed any plugins yet.</p>
|
||||
<p class="fetching">Fetching installed plugins...</p>
|
||||
<p class="fetching"><img src="../static/img/loading.gif"/><br/>Fetching installed plugins...</p>
|
||||
</td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -100,7 +100,7 @@
|
|||
<tr><td></td><td>
|
||||
<div class="search-progress" class="progress"><img src="../static/img/loading.gif"/></div>
|
||||
<p class="nothing-found">No plugins found.</p>
|
||||
<p class="fetching">Fetching catalogue...</p>
|
||||
<p class="fetching"><img src="../static/img/loading.gif"/><br/>Fetching catalogue...</p>
|
||||
</td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue