mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-21 13:38:00 +02:00
Notifications: trying to get a better layout (#660)
* i18n button titles * Improvements on notification page layout * Notification count badge fixes * Make table <tr> clickable * Fix octicon aligment * Fix use of AppSubUrl
This commit is contained in:

committed by
Lunny Xiao

parent
d0ad7921f8
commit
d2bb8ef503
@ -2712,12 +2712,15 @@ footer .ui.language .menu {
|
||||
float: left;
|
||||
margin-left: 7px;
|
||||
}
|
||||
.user.notification .buttons-panel button {
|
||||
padding: 3px;
|
||||
}
|
||||
.user.notification .buttons-panel form {
|
||||
.user.notification table form {
|
||||
display: inline-block;
|
||||
}
|
||||
.user.notification table button {
|
||||
padding: 3px 3px 3px 5px;
|
||||
}
|
||||
.user.notification table tr {
|
||||
cursor: pointer;
|
||||
}
|
||||
.user.notification .octicon-issue-opened,
|
||||
.user.notification .octicon-git-pull-request {
|
||||
color: #21ba45;
|
||||
|
@ -1243,6 +1243,11 @@ $(document).ready(function () {
|
||||
$($(this).data('target')).slideToggle(100);
|
||||
});
|
||||
|
||||
// make table <tr> element clickable like a link
|
||||
$('tr[data-href]').click(function(event) {
|
||||
window.location = $(this).data('href');
|
||||
});
|
||||
|
||||
// Highlight JS
|
||||
if (typeof hljs != 'undefined') {
|
||||
hljs.initHighlightingOnLoad();
|
||||
|
@ -85,14 +85,18 @@
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
.buttons-panel {
|
||||
button {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
table {
|
||||
form {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 3px 3px 3px 5px;
|
||||
}
|
||||
|
||||
tr {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.octicon-issue-opened, .octicon-git-pull-request {
|
||||
|
Reference in New Issue
Block a user