adding copy and a better profile picture for non-sso users

This commit is contained in:
kevgliss 2015-10-02 15:36:50 -07:00
parent d4bc6ae7a1
commit 2187898494
4 changed files with 46 additions and 20 deletions

View File

@ -29,11 +29,14 @@
"angular-ui-switch": "~0.1.0", "angular-ui-switch": "~0.1.0",
"angular-chart.js": "~0.7.1", "angular-chart.js": "~0.7.1",
"satellizer": "~0.9.4", "satellizer": "~0.9.4",
"angularjs-toaster": "~0.4.14" "angularjs-toaster": "~0.4.14",
"ngletteravatar": "~3.0.1",
"angular-tour": "~0.2.5"
}, },
"devDependencies": { "devDependencies": {
"angular-mocks": "~1.3", "angular-mocks": "~1.3",
"angular-scenario": "~1.3" "angular-scenario": "~1.3",
"ngletteravatar": "~3.0.1"
}, },
"resolutions": { "resolutions": {
"bootstrap": "~3.3.1", "bootstrap": "~3.3.1",

View File

@ -13,7 +13,8 @@ var lemur = angular
'toaster', 'toaster',
'uiSwitch', 'uiSwitch',
'mgo-angular-wizard', 'mgo-angular-wizard',
'satellizer' 'satellizer',
'ngLetterAvatar'
]) ])
.config(function ($routeProvider, $authProvider) { .config(function ($routeProvider, $authProvider) {
$routeProvider $routeProvider

View File

@ -1,12 +1,26 @@
<div class="jumbotron"> <div class="jumbotron">
<span class="pull-right"><button class="btn btn-sm btn-primary">First Time? Take the Tour!</button></span>
<h1>Hey there!</h1> <h1>Hey there!</h1>
<p>Welcome to Lemur! A central portal for all (most) of your TLS certificate needs. With Lemur you are able to create, deploy and track the TLS certificates in your environment. Lets get started!</p>
<p>Welcome to Lemur! A central portal for all (most) of your TLS needs.</p>
<p><a href="/#/certificates/create" class="btn btn-primary btn-lg" role="button">Create a Certificate</a></p>
</div> </div>
<div class="row featurette">
<div class="col-md-10"> <div class="container marketing">
<h2 class="featurette-heading">TLS In The Cloud <span class="text-muted">Encrypt it all </span></h2> <!-- Three columns of text below the carousel -->
</div> <div class="row">
<div class="col-lg-4">
<h2>Create</h2>
<p>With Lemur you can create certificates from any authority; internal or external! Lemur does not issue certificates itself. Instead it acts as a broker, creating private keys and CSRs that are sent to external services.</p>
<p><a class="btn btn-default" href="#" role="button">View certificates &raquo;</a></p>
</div><!-- /.col-lg-4 -->
<div class="col-lg-4">
<h2>Deploy</h2>
<p>Once certificates have been created with Lemur, you can put them to use! Lemur has the ability to create destinations for certificates that allow them to be uploaded to and used by a variety of environments.</p>
<p><a class="btn btn-default" href="#" role="button">View Destinations &raquo;</a></p>
</div><!-- /.col-lg-4 -->
<div class="col-lg-4">
<h2>Authority</h2>
<p>Have an internal Certificate Authority? Need an easy way to create an manage those authorities? Lemur has you covered!</p>
<p><a class="btn btn-default" href="#" role="button">View Authorities &raquo;</a></p>
</div><!-- /.col-lg-4 -->
</div><!-- /.row -->
</div> </div>

View File

@ -71,7 +71,12 @@
<ul ng-show="currentUser.username" class="nav navbar-nav navbar-right"> <ul ng-show="currentUser.username" class="nav navbar-nav navbar-right">
<li class="dropdown" dropdown on-toggle="toggled(open)"> <li class="dropdown" dropdown on-toggle="toggled(open)">
<a href class="dropdown-toggle profile-nav" dropdown-toggle> <a href class="dropdown-toggle profile-nav" dropdown-toggle>
{{ currentUser.username }}<img ng-if="currentUser.profileImage" src="{{ currentUser.profileImage }}" class="profile img-circle"> <span ng-show="currentUser.profileImage">
{{ currentUser.username }}<img src="{{ currentUser.profileImage }}" class="profile img-circle">
</span>
<span ng-show="!currentUser.profileImage">
{{ currentUser.username }}<ng-letter-avatar height="35" width="35" data="currentUser.username" shape="round"></ng-letter-avatar>
</span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><a ng-click="logout()">Logout</a></li> <li><a ng-click="logout()">Logout</a></li>
@ -87,7 +92,10 @@
</div> </div>
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
<p class="text-muted">Lemur is broken regularly by <a href="https://github.com/Netflix/lemur.git">Netflix</a>.</p> <p class="text-muted">
<span>Lemur is broken regularly by <a href="https://github.com/Netflix/lemur.git">Netflix</a>.</span>
<span class="pull-right">Confused? Check out our <a href="https://lemur.readthedocs.org/en/latest">docs</a>!</span>
</p>
</div> </div>
</footer> </footer>
</body> </body>