Commit dc242236 by Rashid Khan

Refactored panel errors so they don't cover the panel buttons

parent 1a10a283
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<div ng-repeat="(name, panel) in row.panels|filter:isPanel" ng-hide="panel.span == 0 || panel.hide" class="span{{panel.span}} panel nospace" style="min-height:{{row.height}}; position:relative" data-drop="true" ng-model="row.panels" data-jqyoui-options jqyoui-droppable="{index:$index,mutate:false,onDrop:'panelMoveDrop',onOver:'panelMoveOver(true)',onOut:'panelMoveOut'}"> <div ng-repeat="(name, panel) in row.panels|filter:isPanel" ng-hide="panel.span == 0 || panel.hide" class="span{{panel.span}} panel nospace" style="min-height:{{row.height}}; position:relative" data-drop="true" ng-model="row.panels" data-jqyoui-options jqyoui-droppable="{index:$index,mutate:false,onDrop:'panelMoveDrop',onOver:'panelMoveOver(true)',onOut:'panelMoveOut'}">
<!-- Error Panel --> <!-- Error Panel -->
<div class="row-fluid"> <div class="row-fluid">
<div class="span12 alert alert-error panel-error" ng-hide="!panel.error"> <div class="span12 alert-error panel-error" ng-hide="!panel.error">
<a class="close" ng-click="panel.error=false">&times;</a> <a class="close" ng-click="panel.error=false">&times;</a>
<i class="icon-exclamation-sign"></i> <strong>Oops!</strong> {{panel.error}} <i class="icon-exclamation-sign"></i> <strong>Oops!</strong> {{panel.error}}
</div> </div>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -121,12 +121,6 @@ form input.ng-invalid { ...@@ -121,12 +121,6 @@ form input.ng-invalid {
border-top: 0px; border-top: 0px;
} }
.panel-error {
opacity: 0.9;
position:absolute;
z-index: 1000;
}
.panel-loading { .panel-loading {
position:absolute; position:absolute;
top: 0px; top: 0px;
...@@ -264,6 +258,11 @@ div.flot-text { ...@@ -264,6 +258,11 @@ div.flot-text {
padding-left:20px; padding-left:20px;
} }
.panel-error {
color: @textColor;
padding: 3px 10px 0px 10px;
}
/* =================================================== /* ===================================================
* popover-extra-placements.css v0.1 * popover-extra-placements.css v0.1
* http://twitter.github.com/bootstrap-popover-extra-placements * http://twitter.github.com/bootstrap-popover-extra-placements
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment