2017-08-21 17:21:00 +00:00
< nav class = "navbar navbar-default navbar-fixed-top" ng-init = "vm.initGetSession()" >
2017-08-08 06:35:11 +00:00
< div class = "container" >
< div class = "navbar-header" >
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-1" aria-expanded = "false" >
< span class = "sr-only" > Toggle navigation< / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
< / div >
< div class = "collapse navbar-collapse" id = "bs-example-navbar-collapse-1" >
< form class = "navbar-form navbar-left" >
< div class = "form-group" >
< input type = "text" class = "form-control" placeholder = "Search [this context]" >
< / div >
< button type = "submit" class = "btn btn-default" > < i class = "fa fa-search" > < / i > < / button >
< / form >
< ul class = "nav navbar-nav navbar-right" >
< li class = "dropdown" >
2017-08-14 23:00:01 +00:00
< a class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-haspopup = "true" aria-expanded = "false" > < span ng-bind = "vm.session.subject" > me@example.com< / span >
< i class = "fa fa-user" aria-hidden = "true" > < / i > < span class = "caret" > < / span >
< br > < small ng-bind = "vm.session.issuer" > example.com< / small > < / a >
2017-08-08 06:35:11 +00:00
< ul class = "dropdown-menu" >
< li > < a href = "feed.html" target = "_blank" > Preview My Public Site< / a > < / li >
2017-08-18 21:13:43 +00:00
< li > < a href = "#!/account-settings" > Account Settings< / a > < / li >
2017-08-14 23:00:01 +00:00
2017-08-09 18:41:43 +00:00
< li role = "separator" class = "divider" > < / li >
2017-08-14 23:00:01 +00:00
< li ng-if = "vm.sessions.length" > Switch User< / li >
< li ng-repeat = "session in vm.sessions" > < a ng-click = "vm.selectSession(session)" > < span ng-bind = "session.subject" > me@example.com< / span > < i class = "fa fa-user" aria-hidden = "true" > < / i >
< br > < small ng-bind = "session.issuer" > example.com< / small > < / a > < / li >
< li ng-if = "vm.sessions.length" role = "separator" class = "divider" > < / li >
< li > Add User < i class = "fa fa-cog" aria-hidden = "true" ng-click = "vm.toggleAdvanced()" > < / i >
< br > < input class = "input" type = "text" ng-model = "vm.newSubject" ng-change = "vm.setSubject()" / >
< br > < input class = "input" type = "text" ng-if = "vm.showAdvanced" ng-model = "vm.newIssuer" ng-change = "vm.setIssuer()" / >
< br > < button class = "btn btn-default" type = "button" ng-click = "vm.auth()" > Add< / button >
< / li >
2017-08-18 21:13:43 +00:00
< li class = "divider" role = "separator" > < / li >
2017-08-14 23:00:01 +00:00
< li ng-click = "vm.signOut()" > < a > Logout < i class = "fa fa-sign-out" aria-hidden = "true" > < / i > < / a > < / li >
2017-08-08 06:35:11 +00:00
< / ul >
< / li >
< / ul >
< / div >
< / div >
< / nav >