1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

new access token UI

This commit is contained in:
Unknwon
2015-08-19 03:36:16 +08:00
parent 2e8ffc2ffb
commit 4c7b6414eb
15 changed files with 234 additions and 201 deletions

File diff suppressed because one or more lines are too long

View File

@@ -226,13 +226,6 @@ function initRepository() {
});
}
// Settings
if ($('.repository.settings').length > 0) {
$('#add-deploy-key').click(function () {
$('#add-deploy-key-panel').show();
});
}
// Issues
if ($('.repository.view.issue').length > 0) {
var $status_btn = $('#status-button');
@@ -351,6 +344,9 @@ $(document).ready(function () {
}).modal('show');
return false;
});
$('.show-panel.button').click(function () {
$($(this).data('panel')).show();
});
initCommentForm();
initInstall();

View File

@@ -1,4 +1,12 @@
.user {
padding-top: 15px;
padding-bottom: @footer-margin * 3;
&.settings {
.key.list {
.desc.item {
padding-bottom: 30px;
}
}
}
}

View File

@@ -88,7 +88,7 @@ img.avatar-100 {
z-index: 100;
font-size: 12px;
width: 120%;
min-width: 100px;
min-width: 140px;
}
#footer-lang .drop-down li > a {
padding: 3px 9px;

View File

@@ -102,7 +102,7 @@ clear: both;
z-index: 100;
font-size: 12px;
width: 120%;
min-width: 100px;
min-width: 140px;
li > a {
padding: 3px 9px;
}