fixing links, and adding zeroclipboard

This commit is contained in:
kevgliss 2015-10-05 09:48:52 -07:00
parent ba5d2c925a
commit 9965af9ccd
4 changed files with 14 additions and 7 deletions

View File

@ -31,7 +31,8 @@
"satellizer": "~0.9.4", "satellizer": "~0.9.4",
"angularjs-toaster": "~0.4.14", "angularjs-toaster": "~0.4.14",
"ngletteravatar": "~3.0.1", "ngletteravatar": "~3.0.1",
"angular-ui-router": "~0.2.15" "angular-ui-router": "~0.2.15",
"angular-zeroclipboard": "~0.7.0"
}, },
"devDependencies": { "devDependencies": {
"angular-mocks": "~1.3", "angular-mocks": "~1.3",

View File

@ -136,7 +136,7 @@ gulp.task('dev:scripts', function () {
}); });
gulp.task('build:extras', function () { gulp.task('build:extras', function () {
return gulp.src(['lemur/static/app/*.*', '!lemur/static/app/*.html']) return gulp.src(['lemur/static/app/*.*', 'bower_components/zeroclipboard/dist/ZeroClipboard.swf', '!lemur/static/app/*.html'])
.pipe(gulp.dest('lemur/static/dist')); .pipe(gulp.dest('lemur/static/dist'));
}); });

View File

@ -14,9 +14,10 @@ var lemur = angular
'uiSwitch', 'uiSwitch',
'mgo-angular-wizard', 'mgo-angular-wizard',
'satellizer', 'satellizer',
'ngLetterAvatar' 'ngLetterAvatar',
'zeroclipboard'
]) ])
.config(function ($stateProvider, $urlRouterProvider, $authProvider) { .config(function ($stateProvider, $urlRouterProvider, $authProvider, uiZeroclipConfigProvider) {
$urlRouterProvider.otherwise('/welcome'); $urlRouterProvider.otherwise('/welcome');
$stateProvider $stateProvider
@ -36,6 +37,11 @@ var lemur = angular
authorizationEndpoint: 'https://example.com/as/authorization.oauth2', authorizationEndpoint: 'https://example.com/as/authorization.oauth2',
requiredUrlParams: ['scope'] requiredUrlParams: ['scope']
}); });
// config ZeroClipboard
uiZeroclipConfigProvider.setZcConf({
swfPath: 'ZeroClipboard.swf'
});
}); });
lemur.service('MomentService', function () { lemur.service('MomentService', function () {

View File

@ -10,17 +10,17 @@
<div class="col-lg-4"> <div class="col-lg-4">
<h2>Create</h2> <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>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> <p><a class="btn btn-default" ui-sref="certifcates" role="button">View certificates &raquo;</a></p>
</div><!-- /.col-lg-4 --> </div><!-- /.col-lg-4 -->
<div class="col-lg-4"> <div class="col-lg-4">
<h2>Deploy</h2> <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>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> <p><a class="btn btn-default" ui-sref="destinations" role="button">View Destinations &raquo;</a></p>
</div><!-- /.col-lg-4 --> </div><!-- /.col-lg-4 -->
<div class="col-lg-4"> <div class="col-lg-4">
<h2>Authority</h2> <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>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> <p><a class="btn btn-default" ui-sref="authorities">Dashboard role="button">View Authorities &raquo;</a></p>
</div><!-- /.col-lg-4 --> </div><!-- /.col-lg-4 -->
</div><!-- /.row --> </div><!-- /.row -->
</div> </div>