+function mysliceAlert(msg) {
+ $('#myslice-message').find('.message').text(msg);
+ $('#myslice-message').fadeIn('fast');
+}
/* Table initialisation */
$(document).ready(function() {
--- /dev/null
+<div class="alert alert-warning alert-dismissable" id="myslice-message">
+<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
+<span class="glyphicon glyphicon-exclamation-sign"></span>
+<span class="message"></span>
+</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">