-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(scaffold-navigation): upgrade to bootstrap v4 and fontawesome v5 #1167
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
d05bfc2
feat(scaffold-navigation): upgrade to bootstrap v4 and fontawesome v5
3cp 80a6abb
chore(scaffold-navigation): longer delay in protractor router test
3cp 5b4561d
chore: update question hint
3cp 4d6d438
chore: update docker file to bootstrap v4
3cp 64467ff
test: try protractor fix
3cp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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,30 +1,26 @@ | ||
<template bindable="router"> | ||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navigation-navbar-collapse-1"> | ||
<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="#"> | ||
<i class="fa fa-home"></i> | ||
<span>${router.title}</span> | ||
</a> | ||
</div> | ||
|
||
<div class="collapse navbar-collapse" id="navigation-navbar-collapse-1"> | ||
<ul class="nav navbar-nav"> | ||
<li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}"> | ||
<a data-toggle="collapse" data-target="#navigation-navbar-collapse-1.in" href.bind="row.href">${row.title}</a> | ||
</li> | ||
</ul> | ||
|
||
<ul class="nav navbar-nav navbar-right"> | ||
<li class="loader" if.bind="router.isNavigating"> | ||
<i class="fa fa-spinner fa-spin fa-2x"></i> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
</template> | ||
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark" role="navigation"> | ||
<a class="navbar-brand" href="#"> | ||
<i class="far fa-home"></i> | ||
<span>${router.title}</span> | ||
</a> | ||
|
||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation-navbar-collapse-1" aria-controls="navigation-navbar-collapse-1" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="collapse navbar-collapse" id="navigation-navbar-collapse-1"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li repeat.for="row of router.navigation" class="nav-item ${row.isActive ? 'active' : ''}"> | ||
<a class="nav-link" href.bind="row.href">${row.title}</a> | ||
</li> | ||
</ul> | ||
|
||
<ul class="navbar-nav"> | ||
<li class="nav-item" if.bind="router.isNavigating & debounce"> | ||
<i class="far fa-circle-notch fa-spin text-white fa-2x"></i> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
</template> |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shahabganji this fix did the job. The reason for
element not interactable
is that the protractor browser window size is too small.Nobody knows why the default screen size is so small inside docker(or maybe vm). Explicit window size does the trick.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When element is off screen, protractor says it's
not interactable
.