Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
made bootstrap ui work with dropdowns
- Loading branch information
Showing
7 changed files
with
55 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,4 +56,4 @@ | |
"angular-ui-router": "^0.4.2", | ||
"bootstrap": "^3.3.7" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<nav class="navbar navbar-default" role="navigation"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" ng-click="isNavCollapsed = !isNavCollapsed"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="#">ToDoSth</a> | ||
</div> | ||
<div class="collapse navbar-collapse" uib-collapse="isNavCollapsed"> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="#">Link 1</a></li> | ||
<li><a href="#">Link 2</a></li> | ||
<li uib-dropdown on-toggle="toggled(open)"> | ||
<a href id="simple-dropdown" uib-dropdown-toggle>Link 3 <span class="caret"></span></a> | ||
<ul class="dropdown-menu" uib-dropdown-menu aria-labelledby="simple-dropdown"> | ||
<li><a href="#">SubItem 1</a></li> | ||
<li><a href="#">SubItem 2</a></li> | ||
<li><a href="#">SubItem 3</a></li> | ||
<li role="separator" class="divider"></li> | ||
<li><a href="#">SubItem 4</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li uib-dropdown on-toggle="toggled(open)"> | ||
<a href id="simple-dropdown" class="nav-text" uib-dropdown-toggle>Signed in as John Doe <span class="caret"></span></a> | ||
<ul class="dropdown-menu" uib-dropdown-menu aria-labelledby="simple-dropdown"> | ||
<li><a href="#">Profile</a></li> | ||
<li role="separator" class="divider"></li> | ||
<li><a href="#">Sign Out</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
|
||
<div class="container-fluid"> | ||
<div ui-view></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
|
||
<title><%= htmlWebpackPlugin.options.title %></title> | ||
<title> | ||
<%= htmlWebpackPlugin.options.title %> | ||
</title> | ||
</head> | ||
|
||
|
||
<body> | ||
<root>Loading</root> | ||
<root>Loading...</root> | ||
</body> | ||
</html> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import 'angular'; | ||
import 'angular-ui-router'; | ||
|
||
import 'angular-ui-bootstrap'; | ||
import 'bootstrap/dist/css/bootstrap.css'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters