0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2025-01-05 06:10:11 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Francesco Siddi
564a8df61c Create card components and add them to dashboard
Refactor the Releases, Modules and Projects cards into reusable
templates. Now they are used in the non-logged-in landing homepage
and in the logged-in dashboard.
2023-02-02 13:06:08 +01:00
Francesco Siddi
bc327d7973 Navbar: Make 'projects' active 2023-02-02 13:05:05 +01:00
Pablo Vazquez
45edf9ce26 Navbar: Highlight SVG fill color in active links
Match code.blender.org
2023-02-01 12:47:37 +01:00
Pablo Vazquez
236f9ae3da Developer Navbar: Update
* Update markup to match code blog.
* More strict reset.
* Add comments.
2023-01-31 19:12:59 +01:00
Pablo Vazquez
2d09e39a1b Navigation: Move gitea/user items back
Remove gitea-specific links from top developer navbar.
2023-01-31 12:54:59 +01:00
Pablo Vazquez
24e354fc79 Introducing: Developer navigation bar
In line with the code blog and other dev sites (Wiki, DevTalk)

Everything is pretty much copied from the one in blender.org (_navbar_developer.php),
with some additions to make it work in Gitea.

The styling additions are in the <style> block with the comment "/* Custom styling for Gitea */"

The link to "Projects" is projects.blender.org (since it makes sense here but
not yet in the Code blog).

On the Gitea side, two custom templates have changed:
* head_navbar.tpml was changed to add the mobile navbar expand toggle.
* body_inner_pre.tpml contains the actual navbar, copied from the blender.org repo
  with the following changes:
 * Added <style> block custom for Gitea.
 * Added custom notifications code from head_navbar.tpml
 * Added user buttons (notif, create, register, sign in, etc),
   See the area around "{{/* Here starts the custom styling for gitea. */}}"
 * In order to style the buttons as such, the class `navbardev-btn` was added
   to the Register, Sign In, Notifications, Create, and User dropdown buttons.
2023-01-26 15:37:51 +01:00
Brecht Van Lommel
06948e85a2 Fix Blender logo not visible with themes other than bthree-dark 2023-01-26 04:21:40 +01:00
Brecht Van Lommel
e9c74b8383 Fix Report a Bug link to point to the template 2023-01-25 17:39:56 +01:00
Pablo Vazquez
c5fb50d41a Navbar: Add global navigation
Missing still is the apps button to jump to other blender.org sites.
2023-01-20 19:14:26 +01:00
Pablo Vazquez
e25fe139ab Initial commit
bthree dark theme
2023-01-20 12:23:48 +01:00