refactor&fix(dropdown buttons): use bootstrap ui instead simple bootstrap

pull/3/head
alex 2016-01-18 19:40:13 +03:00
parent fe8f8fd704
commit 9f2b12c5fe
1 changed files with 36 additions and 36 deletions

View File

@ -1,10 +1,10 @@
<div class="row btns-row">
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-primary dropdown-toggle" uib-dropdown-toggle>
Primary <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -14,11 +14,11 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-success dropdown-toggle" uib-dropdown-toggle>
Success <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -28,11 +28,11 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-info dropdown-toggle" uib-dropdown-toggle>
Info <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -42,11 +42,11 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-default dropdown-toggle" uib-dropdown-toggle>
Default <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -56,11 +56,11 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-warning dropdown-toggle" uib-dropdown-toggle>
Warning <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -70,11 +70,11 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-danger dropdown-toggle" uib-dropdown-toggle>
Danger <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -89,13 +89,13 @@
<div class="row btns-row">
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<button type="button" class="btn btn-primary dropdown-toggle" uib-dropdown-toggle>
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -105,13 +105,13 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<button type="button" class="btn btn-success dropdown-toggle" uib-dropdown-toggle>
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -121,13 +121,13 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<button type="button" class="btn btn-info dropdown-toggle" uib-dropdown-toggle>
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -137,13 +137,13 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-default">Default</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<button type="button" class="btn btn-default dropdown-toggle" uib-dropdown-toggle>
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -153,13 +153,13 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-warning">Warning</button>
<button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<button type="button" class="btn btn-warning dropdown-toggle" uib-dropdown-toggle>
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>
@ -169,13 +169,13 @@
</div>
</div>
<div class="col-sm-4 col-xs-6">
<div class="btn-group">
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<button type="button" class="btn btn-danger dropdown-toggle" uib-dropdown-toggle>
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<ul uib-dropdown-menu uib-dropdown-menu>
<li><a href>Action</a></li>
<li><a href>Another action</a></li>
<li><a href>Something else here</a></li>