diff --git a/bower.json b/bower.json index ccb98a7a..f2c6973d 100644 --- a/bower.json +++ b/bower.json @@ -31,7 +31,8 @@ "satellizer": "~0.9.4", "angularjs-toaster": "~0.4.14", "ngletteravatar": "~3.0.1", - "angular-ui-router": "~0.2.15" + "angular-ui-router": "~0.2.15", + "angular-clipboard": "~1.1.1" }, "devDependencies": { "angular-mocks": "~1.3", diff --git a/gulp/build.js b/gulp/build.js index 07ad3c5f..3bc41eaf 100644 --- a/gulp/build.js +++ b/gulp/build.js @@ -72,7 +72,6 @@ gulp.task('dev:styles', function () { }; var fileList = [ - 'lemur/static/app/styles/lemur.css', 'bower_components/bootswatch/sandstone/bootswatch.less', 'bower_components/fontawesome/css/font-awesome.css', 'bower_components/angular-spinkit/src/angular-spinkit.css', @@ -81,7 +80,8 @@ gulp.task('dev:styles', function () { 'bower_components/angular-ui-switch/angular-ui-switch.css', 'bower_components/angular-wizard/dist/angular-wizard.css', 'bower_components/ng-table/ng-table.css', - 'bower_components/angularjs-toaster/toaster.css' + 'bower_components/angularjs-toaster/toaster.css', + 'lemur/static/app/styles/lemur.css' ]; return gulp.src(fileList) diff --git a/lemur/static/app/angular/app.js b/lemur/static/app/angular/app.js index 386b696d..a3e259d7 100644 --- a/lemur/static/app/angular/app.js +++ b/lemur/static/app/angular/app.js @@ -14,7 +14,8 @@ var lemur = angular 'uiSwitch', 'mgo-angular-wizard', 'satellizer', - 'ngLetterAvatar' + 'ngLetterAvatar', + 'angular-clipboard' ]) .config(function ($stateProvider, $urlRouterProvider, $authProvider) { $urlRouterProvider.otherwise('/welcome'); diff --git a/lemur/static/app/angular/certificates/view/view.tpl.html b/lemur/static/app/angular/certificates/view/view.tpl.html index 479674c9..26aa2657 100644 --- a/lemur/static/app/angular/certificates/view/view.tpl.html +++ b/lemur/static/app/angular/certificates/view/view.tpl.html @@ -6,11 +6,11 @@
@@ -32,7 +32,8 @@
- +
@@ -46,104 +47,121 @@
- - + +
- - -
    -
  • - Creator - - {{ certificate.creator.email }} - -
  • -
  • - Not Before - - {{ momentService.createMoment(certificate.notBefore) }} - -
  • -
  • - Not After - - {{ momentService.createMoment(certificate.notAfter) }} - -
  • -
  • - San - - - - -
  • -
  • - Bits - {{ certificate.bits }} -
  • -
  • - Serial - {{ certificate.serial }} -
  • -
  • - Validity - - Unknown - Revoked - Valid - -
  • -
  • - Description - {{ certificate.description }} -
  • -
-
- -
    -
  • - {{ notification.label }} - {{ notification.description}} -
  • -
-
- -
    -
  • - {{ destination.label }} - {{ destination.description }} -
  • -
-
- - - -
- - -

-

{{ certificate.chain }}
-

+ + Basic Info +
    +
  • + Creator + + {{ certificate.creator.email }} + +
  • +
  • + Not Before + + {{ momentService.createMoment(certificate.notBefore) }} + +
  • +
  • + Not After + + {{ momentService.createMoment(certificate.notAfter) }} + +
  • +
  • + San + + + + +
  • +
  • + Bits + {{ certificate.bits }} +
  • +
  • + Serial + {{ certificate.serial }} +
  • +
  • + Validity + + Unknown + Revoked + Valid + +
  • +
  • + Description + {{ certificate.description }} +
  • +
- -

-

{{ certificate.body }}
-

+ + Notifications +
    +
  • + {{ notification.label }} + {{ notification.description}} +
  • +
+
+ + Destinations +
    +
  • + {{ destination.label }} + {{ destination.description }} +
  • +
+
+ + Domains + + +
+ + + + Chain + + +
{{ certificate.chain }}
+
+ + + Public Certificate + + +
{{ certificate.body }}
Private Key + -

-

{{ certificate.privateKey }}
-

+
{{ certificate.privateKey }}
diff --git a/lemur/static/app/angular/welcome/welcome.html b/lemur/static/app/angular/welcome/welcome.html index c6bcd03f..99b9a803 100644 --- a/lemur/static/app/angular/welcome/welcome.html +++ b/lemur/static/app/angular/welcome/welcome.html @@ -10,17 +10,17 @@

Create

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.

-

View certificates »

+

View certificates »

Deploy

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.

-

View Destinations »

+

View Destinations »

Authority

Have an internal Certificate Authority? Need an easy way to create an manage those authorities? Lemur has you covered!

-

View Authorities »

+

View Authorities »

diff --git a/lemur/static/app/styles/lemur.css b/lemur/static/app/styles/lemur.css index dfd45f03..6ff900c6 100644 --- a/lemur/static/app/styles/lemur.css +++ b/lemur/static/app/styles/lemur.css @@ -169,3 +169,13 @@ a { background-color: #FFFFFF !important; } +.clipboard-btn { + border-width: 0; + background-color: transparent; + color: #777; + display: inline-block; + top: 0; + line-height: 1; +} + +