Skip to content

Commit

Permalink
Merge 3245516 into cde05b9
Browse files Browse the repository at this point in the history
  • Loading branch information
koegel committed May 6, 2016
2 parents cde05b9 + 3245516 commit 87cc8a7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
12 changes: 12 additions & 0 deletions examples/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,15 @@ body {
.jsf-masterdetail-header {
text-decoration: none;
}

.jsf .popover-title {
color: black;
background-color: lemonchiffon;
}

.jsf .popover-content {
color: black;
font-style: italic;

}

11 changes: 7 additions & 4 deletions src/components/renderers/controls/control.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
<div>
<label ng-if="vm.showLabel" for="{{vm.id}}">{{vm.label}}</label>
</div>
<div ng-transclude>
</div>
<div>
<alert ng-repeat="alert in vm.alerts" type="{{alert.type}}" >{{alert.msg}}</alert>
<div ng-transclude uib-popover-template="'validation.html'" popover-enable="vm.alerts.length>0" popover-trigger="mouseenter" popover-title="Invalid value" popover-placement="bottom-left">
</div>
<script id="validation.html" type="text/ng-template">
<div>
<alert ng-repeat="alert in vm.alerts" type="{{alert.type}}">{{alert.msg}}</alert>
</div>
</script>
</div>

0 comments on commit 87cc8a7

Please sign in to comment.