mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-19 09:15:55 +00:00
Various improvements to pages: notifications and subscriptions
- fix rounding on /notifications/subscriptions - add navigation interconnectivity between notifications and subscriptions - use modern style for tabs - clearing notificatons: hide the whole form instead of div. It doesn't seem like its changed via JS? - replace issue-title-buttons and edit-buttons with universal top-right-buttons, get rid of tw-mr-0 helpers - repo issues: fix misalignments on mobile view
This commit is contained in:
parent
4fc06cfd78
commit
41ab13c14f
5 changed files with 53 additions and 35 deletions
|
@ -1,15 +1,20 @@
|
|||
{{template "base/head" .}}
|
||||
<div role="main" aria-label="{{.Title}}" class="page-content user notification">
|
||||
<div class="ui container">
|
||||
<div class="ui top attached tabular menu">
|
||||
<a href="{{AppSubUrl}}/notifications/subscriptions" class="{{if eq .Status 1}}active {{end}}item">
|
||||
{{ctx.Locale.Tr "notification.subscriptions"}}
|
||||
</a>
|
||||
<a href="{{AppSubUrl}}/notifications/watching" class="{{if eq .Status 2}}active {{end}}item">
|
||||
{{ctx.Locale.Tr "notification.watching"}}
|
||||
<div class="tw-flex tw-items-center tw-justify-between tw-mb-4">
|
||||
<div class="ui secondary partial menu">
|
||||
<a href="{{AppSubUrl}}/notifications/subscriptions" class="{{if eq .Status 1}}active {{end}}item">
|
||||
{{ctx.Locale.Tr "notification.subscriptions"}}
|
||||
</a>
|
||||
<a href="{{AppSubUrl}}/notifications/watching" class="{{if eq .Status 2}}active {{end}}item">
|
||||
{{ctx.Locale.Tr "notification.watching"}}
|
||||
</a>
|
||||
</div>
|
||||
<a class="ui tiny button" href="{{AppSubUrl}}/notifications">
|
||||
{{ctx.Locale.Tr "notifications"}}
|
||||
</a>
|
||||
</div>
|
||||
<div class="ui bottom attached active tab segment">
|
||||
<div class="ui bottom active tab segment">
|
||||
{{if eq .Status 1}}
|
||||
<div class="tw-flex tw-justify-between">
|
||||
<div class="tw-flex">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue