1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-07 10:44:26 +00:00
gitea/web_src/css
Denys Konovalov ab78c39e41
Refactor project templates (#26448)
This PR refactors a bunch of projects-related code, mostly the
templates.
The following things were done:
  - rename boards to columns in frontend code
  - use the new `ctx.Locale.Tr` method
  - cleanup template, remove useless newlines, classes, comments
  - merge org-/user and repo level project template together
    - move "new column" button into project toolbar
- move issue card (shared by projects and pinned issues) to shared
template, remove useless duplicated styles
- add search function to projects (to make the layout more similar to
milestones list where it is inherited from 😆)
  - maybe more changes I forgot I've done 😆 

Closes #24893

After:
![Bildschirmfoto vom 2023-08-10
23-02-00](https://github.com/go-gitea/gitea/assets/47871822/cab61456-1d23-4373-8163-e567f1b3b5f9)
![Bildschirmfoto vom 2023-08-10
23-02-26](https://github.com/go-gitea/gitea/assets/47871822/94b55d60-5572-48eb-8111-538a52d8bcc6)
![Bildschirmfoto vom 2023-08-10
23-02-46](https://github.com/go-gitea/gitea/assets/47871822/a0358f4b-4e05-4194-a7bc-6e0ecba5a9b6)

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-08-12 10:30:28 +00:00
..
chroma Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables (#24827) 2023-05-21 23:37:32 +00:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Several fixes for mobile UI (#25634) 2023-07-04 17:45:45 +00:00
features Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
markup Render plaintext task list items for markdown files (#26186) 2023-07-27 14:15:31 +00:00
modules Reduce margins on user settings page, introduce flex-container (#26046) 2023-07-31 07:16:03 +00:00
repo Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
shared Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Add custom ansi colors and CSS variables for them (#25546) 2023-06-28 15:38:55 +02:00
actions.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
admin.css Reduce margins on user settings page, introduce flex-container (#26046) 2023-07-31 07:16:03 +00:00
base.css Fix text truncate (#26354) 2023-08-07 22:44:04 +02:00
dashboard.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
explore.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Fix mobile navbar and misc cleanups (#25134) 2023-06-09 09:10:51 +00:00
helpers.css Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
home.css avoid hard-coding height in language dropdown menu (#25986) 2023-07-19 23:30:57 +02:00
index.css Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
repo.css Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
review.css Make add line comment buttons focusable (#25894) 2023-07-15 11:45:34 +02:00
user.css Fix the display of orgs listed in user profile (#26424) 2023-08-11 03:28:36 +08:00