Skip to content

Commit

Permalink
wip685 - fix ngeo modal example
Browse files Browse the repository at this point in the history
  • Loading branch information
adube committed Oct 30, 2018
1 parent 2523919 commit ba882da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
</head>
<body ng-controller="MainController as ctrl">
<p id="desc">This example shows how to use the <code><a href="../apidoc/ngeo.message.modalComponent.html" title="Read our documentation">ngeo-modal</a></code> directive to open a modal.</p>
<button ng-click="ctrl.modalShown = true">Show modal</button>
<button
class="btn btn-primary"
ng-click="ctrl.modalShown = true">Show modal</button>
<ngeo-modal ng-model="ctrl.modalShown">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body">
...
Expand Down

0 comments on commit ba882da

Please sign in to comment.