Skip to content

Commit aac3e97

Browse files
Justin Hallpkozlowski-opensource
authored andcommitted
demo(popover): fixed button styling for bootstrap 3
1 parent 3199dd8 commit aac3e97

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

src/popover/docs/demo.html

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,41 @@
22
<div class="well">
33
<div>
44
<h4>Dynamic</h4>
5-
<div>Dynamic Popover : <input type="text" ng-model="dynamicPopoverText"></div>
6-
<div>Dynamic Popover Popup Text: <input type="text" ng-model="dynamicPopover"></div>
7-
<div>Dynamic Popover Popup Title: <input type="text" ng-model="dynamicPopoverTitle"></div>
8-
<div><button popover="{{dynamicPopover}}" popover-title="{{dynamicPopoverTitle}}" class="btn">{{dynamicPopoverText}}</button></div>
5+
<form role="form">
6+
<div class="form-group">
7+
<label>Dynamic Popover </label>
8+
<input type="text" ng-model="dynamicPopoverText" class="form-control">
9+
</div>
10+
<div class="form-group">
11+
<label>Dynamic Popover Popup Text</label>
12+
<input type="text" ng-model="dynamicPopover" class="form-control">
13+
</div>
14+
<div class="form-group">
15+
<label>Dynamic Popover Popup Title:</label>
16+
<input type="text" ng-model="dynamicPopoverTitle" class="form-control">
17+
</div>
18+
<button popover="{{dynamicPopover}}" popover-title="{{dynamicPopoverTitle}}" class="btn btn-info">{{dynamicPopoverText}}</button>
19+
</form>
920
</div>
1021
<div>
1122
<h4>Positional</h4>
12-
<button popover-placement="top" popover="On the Top!" class="btn">Top</button>
13-
<button popover-placement="left" popover="On the Left!" class="btn">Left</button>
14-
<button popover-placement="right" popover="On the Right!" class="btn">Right</button>
15-
<button popover-placement="bottom" popover="On the Bottom!" class="btn">Bottom</button>
23+
<button popover-placement="top" popover="On the Top!" class="btn btn-info">Top</button>
24+
<button popover-placement="left" popover="On the Left!" class="btn btn-info">Left</button>
25+
<button popover-placement="right" popover="On the Right!" class="btn btn-info">Right</button>
26+
<button popover-placement="bottom" popover="On the Bottom!" class="btn btn-info">Bottom</button>
1627
</div>
1728
<div>
1829
<h4>Triggers</h4>
19-
<button popover="I appeared on mouse enter!" popover-trigger="mouseenter" class="btn">Mouseenter</button>
30+
<button popover="I appeared on mouse enter!" popover-trigger="mouseenter" class="btn btn-info">Mouseenter</button>
31+
<hr>
2032
<input type="text" value="Click me!"
2133
popover="I appeared on focus! Click away and I'll vanish..."
22-
popover-trigger="focus" />
34+
popover-trigger="focus" class="form-control">
2335
</div>
2436
<div>
2537
<h4>Other</h4>
26-
<button Popover-animation="true" popover="I fade in and out!" class="btn">fading</button>
27-
<button popover="I have a title!" popover-title="The title." class="btn">title</button>
38+
<button Popover-animation="true" popover="I fade in and out!" class="btn btn-info">fading</button>
39+
<button popover="I have a title!" popover-title="The title." class="btn btn-info">title</button>
2840
</div>
2941
</div>
3042
</div>

0 commit comments

Comments
 (0)