var el = $('#myslice-message');
el.find('.message').text(msg);
el.addClass('alert-' + level);
- el.fadeIn('fast');
+ el.parent().fadeIn('fast');
};
/* Table initialisation */
$(document).ready(function() {
-
$("#objectList").load("/table/resource/", {"fields" : ["hostname","hrn","country","type"], "options": ["checkbox"] }, function(data) {
$(this).dataTable( {
"sScrollY": window.innerHeight - 275,
-<div class="alert alert-dismissable" id="myslice-message" style="display:none;">
+<div style="display:none;position:fixed;left:50%;border:1px solid red;width:0;top:80px;z-index:999;">
+<div class="alert alert-dismissable" id="myslice-message" style="position:relative;left:-491px;width:980px;margin:0 auto;box-shadow: 10px 10px 5px #888888;">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<span class="glyphicon glyphicon-exclamation-sign"></span>
<span class="message"></span>
+</div>
</div>
\ No newline at end of file
{% block content %}
<div class="row">
{% widget '_widget-news.html' %}
-{% widget '_widget-message.html' %}
-
</div>
<div class="row" id="home-dashboard">
<ul class="nav nav-tabs">
-
+{% load portal_filters %}
<div id="header">
<div class="wrapper">
<div class="logo">
</div>
{% endif %}
</div>
+<div class="row">
+{% widget '_widget-message.html' %}
+</div>
<script>
$(document).ready(function() {
$('li.slices').mouseenter(function() {