Márton Lente 9eae45125d UI: Upgrade nav-global to web-assets v2 component (#9)
This pull request upgrades navigation global's markup and styles to Web Assets v2 pre-compiled _nav-global_ component, to improve visual consistency with other sites.

The Web Assets v2 _nav-global_ component brings UI fixes, spacing improvements and variable naming changes and cleanup to the navigation bar.

Co-authored-by: Pablo Vazquez <pablo@blender.org>
Co-authored-by: Thomas Dinges <thomas@blender.org>
Co-authored-by: Bastien Montagne <bastien@blender.org>
Reviewed-on: https://projects.blender.org/infrastructure/gitea-custom/pulls/9
2025-02-04 10:32:47 +01:00
2023-01-20 12:23:48 +01:00

Gitea Customization for Blender Developer Portal

Setup

  • Clone this repo in a custom folder at the root of your gitea install.
  • Edit app.ini to set the following in the [ui] section:
    • DEFAULT_THEME = bthree-dark
    • THEMES = bthree-dark
  • Run the gitea binary with the following arguments (or do the clone into Gitea's own custom directory, merging with your conf dir).
    • --custom-path pointing to the repo directory
    • --config pointing to the custom app.ini
  • Update your user preferences to set the new theme, or it will keep showing the old one.

Alternative setup with Docker

[ui]
DEFAULT_THEME = bthree-dark
THEMES = bthree-dark

(Docker Gitea's root directory defaults to /gitea/gitea/ from installation root.)

  • Clone this repository to Gitea's root directory, so that its contents are merged. (Gitea's custom directory defaults to Gitea's root.)

Gitea's root flat directory tree should look similar to the following, if done correctly:

.
├── actions_artifacts
├── actions_log
├── attachments
├── avatars
├── conf
├── gitea.db
├── home
├── indexers
├── jwt
├── log
├── packages
├── public
├── queues
├── README.md
├── repo-archive
├── repo-avatars
├── sessions
├── sphinx
├── templates
└── tmp
Languages
CSS 41.7%
Shell 35.7%
Python 22.6%