padding-bottom: 30px;
padding-top: 10px;
}
+
+
+/* CSS for loading message */
+#loadingDiv {
+ position: absolute;
+ left: 45%;
+ bottom: 50%;
+ z-index: 20001;
+ height: auto;
+ border: 1px solid #ccc;
+}
+#loadingDiv a {
+ color: #225588;
+}
+
+#loadingDiv .loading-indicator {
+ background: white;
+ color: #444;
+ font: bold 12px tahoma;
+ padding: 10px;
+ margin: 0;
+ height: auto;
+}
<div class="span10 columns">
<div class="content">
<div id="user-messages"></div>
- <div id="main-content"><img src="images/medium-spinner.gif"/></div>
+ <div id="main-content"></div>
</div>
</div>
</div>
require(['order!domReady','archiva/main'],function (domReady) {
domReady.withResources(function () {
startArchivaApplication();
+ $("#loadingDiv").hide();
})
})
</script>
+
+<div id="loadingDiv">
+ <div class="loading-indicator">
+ <img src="img/loading.gif" />
+ <span id="loading-msg">Loading</span>
+ </div>
+</div>
+
<div id="dialog-spinner-modal" class="modal fade" style="display: block;">
<div class="modal-header">
<a class="close" href="#" data-dismiss="modal">×</a>