diff --git a/bower.json b/bower.json index f2fdb903..4478b775 100644 --- a/bower.json +++ b/bower.json @@ -32,7 +32,9 @@ "angularjs-toaster": "~0.4.14", "ngletteravatar": "~3.0.1", "angular-ui-router": "~0.2.15", - "angular-zeroclipboard": "~0.7.0" + "angular-zeroclipboard": "~0.7.0", + "clipboard": "~1.4.0", + "angular-clipboard": "~1.1.1" }, "devDependencies": { "angular-mocks": "~1.3", diff --git a/gulp/build.js b/gulp/build.js index 7553f5a0..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) @@ -136,7 +136,7 @@ gulp.task('dev:scripts', function () { }); gulp.task('build:extras', function () { - return gulp.src(['lemur/static/app/*.*', 'bower_components/zeroclipboard/dist/ZeroClipboard.swf', '!lemur/static/app/*.html']) + return gulp.src(['lemur/static/app/*.*', '!lemur/static/app/*.html']) .pipe(gulp.dest('lemur/static/dist')); }); diff --git a/lemur/static/app/angular/app.js b/lemur/static/app/angular/app.js index 4eddecfd..a3e259d7 100644 --- a/lemur/static/app/angular/app.js +++ b/lemur/static/app/angular/app.js @@ -15,9 +15,9 @@ var lemur = angular 'mgo-angular-wizard', 'satellizer', 'ngLetterAvatar', - 'zeroclipboard' + 'angular-clipboard' ]) - .config(function ($stateProvider, $urlRouterProvider, $authProvider, uiZeroclipConfigProvider) { + .config(function ($stateProvider, $urlRouterProvider, $authProvider) { $urlRouterProvider.otherwise('/welcome'); $stateProvider @@ -37,11 +37,6 @@ var lemur = angular authorizationEndpoint: 'https://example.com/as/authorization.oauth2', requiredUrlParams: ['scope'] }); - - // config ZeroClipboard - uiZeroclipConfigProvider.setZcConf({ - swfPath: 'ZeroClipboard.swf' - }); }); lemur.service('MomentService', function () { 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 @@
-
{{ certificate.chain }}- +
-
{{ certificate.body }}- +
{{ certificate.chain }}+
{{ certificate.body }}
-
{{ certificate.privateKey }}- +
{{ certificate.privateKey }}
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.
- +Have an internal Certificate Authority? Need an easy way to create an manage those authorities? Lemur has you covered!
- +