Fixed: default theme is now enabled by default.

Added: close button to alerts

Fixes #135
This commit is contained in:
Sahat Yalkabov
2014-04-24 12:05:36 -04:00
parent db04d0d640
commit 7f3e395256
2 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
@import (less) "lib/font-awesome.min.css";
@import "lib/bootstrap/bootstrap";
@import "lib/bootstrap-social";
@import "themes/flatly";
@import "themes/default";
// Scaffolding
// -------------------------

View File

@ -1,13 +1,16 @@
#flash
if messages.errors
.alert.alert-danger.animated.fadeIn
button.close(type='button', data-dismiss='alert') ×
for error in messages.errors
div= error.msg
if messages.info
.alert.alert-info.animated.fadeIn
button.close(type='button', data-dismiss='alert') ×
for info in messages.info
div= info.msg
if messages.success
.alert.alert-success.animated.fadeIn
button.close(type='button', data-dismiss='alert') ×
for success in messages.success
div= success.msg