1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00
woodpecker/template/amber/user.amber
2015-09-29 18:21:17 -07:00

34 lines
718 B
Plaintext

extends base
block append head
title Profile
block header
ol
li Account Profile
block content
div.container.profile
div.row
div.col-md-3 Login
div.col-md-9 #{User.Login}
div.row
div.col-md-3 Email
div.col-md-9 #{User.Email}
div.row
div.col-md-3 Token
div.col-md-9
button.btn.btn-info#showToken show token
pre.result
block append scripts
script
$( "#showToken" ).click(function() {
$( "#showToken" ).hide();
$.post( "/api/user/token", function( data ) {
$( ".result" ).text( data );
});
});