mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
add a simple loading screen that hides the UI until the theme is loaded
This commit is contained in:
parent
5a3e1d06d2
commit
7f4b433e49
@ -14,6 +14,9 @@
|
||||
<script src="$base/template/static/js/deluge.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="overlay">
|
||||
<div class="title">Loading...</div>
|
||||
</div>
|
||||
<div id="page">
|
||||
<div id="toolbar">
|
||||
<ul id="buttons">
|
||||
|
@ -57,6 +57,7 @@ Deluge.UI = {
|
||||
|
||||
window.addEvent('resize', this.bound.resized);
|
||||
Deluge.UI.update();
|
||||
$('overlay').destroy();
|
||||
},
|
||||
|
||||
initialize_grid: function() {
|
||||
|
@ -13,9 +13,21 @@ Version: 0.1
|
||||
html, body {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
width: 100%:
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: #304663 url(/static/images/simple_bg.jpg) repeat-x;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
#details {
|
||||
padding: 5px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user