Add navbar with avatar and name to oauth views

This commit is contained in:
Johannes Zellner
2015-10-12 19:50:09 +02:00
parent 6f2bc555e0
commit 7d7b759930
3 changed files with 72 additions and 43 deletions

View File

@@ -26,3 +26,13 @@
</head>
<body class="oauth">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-static-top shadow" role="navigation" style="margin-bottom: 0">
<div class="container-fluid">
<div class="navbar-header">
<span class="navbar-brand navbar-brand-icon"><img src="/api/v1/cloudron/avatar" width="40" height="40"/></span>
<span class="navbar-brand"><%= cloudronName %></span>
</div>
</div>
</nav>