0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2024-12-22 07:13:09 -05:00
Commit graph

63 commits

Author SHA1 Message Date
Pablo Vazquez
52d4651d55 UI: Fix links to milestones and repositories
Missed in the previous fix.
2023-02-10 16:36:03 +01:00
Pablo Vazquez
5c63c87393 UI: Fix broken path to font
And move font-weight overrides to the header so it affects all themes.
2023-02-10 15:08:32 +01:00
Pablo Vazquez
9d337666c9 UI: Minor style fixes and tweaks
* Fix margin around avatars in some places
* Round images in file view
* Transparent background tables for better contrast
2023-02-10 12:59:13 +01:00
Pablo Vazquez
e43d5a5883 UI: Use absolute URL in card modules template
So it can be embedded anywhere.
2023-02-10 12:13:52 +01:00
Pablo Vazquez
ddced31c6a UI: Fix links in modules menu
Fixes infrastructure/blender-projects-platform#15
2023-02-10 12:06:22 +01:00
Pablo Vazquez
667595efa0 UI: Layout update to dashboard and home cards 2023-02-09 19:48:16 +01:00
Pablo Vazquez
0c9d528c29 Theme: Move some styling to apply to all themes
Use the header.tmpl file to apply global styling (like removing the
app logo).
2023-02-09 19:47:49 +01:00
Pablo Vazquez
de7e6ce2f1 UI: Replace default avatar image
By default, Gitea uses the app logo as the default avatar when running the
command `make generate-images`.

Use our own image instead.
2023-02-09 16:47:06 +01:00
Pablo Vazquez
5abde14b19 UI: Fix alignment of navbar expand toggle 2023-02-09 14:38:24 +01:00
Pablo Vazquez
7de5bc01bb UI: Fix alignment of navbar after recent change 2023-02-09 13:19:22 +01:00
Pablo Vazquez
6a5683c2e6 UI: Tweak diff colors
Applied feedback from @angavrilov on DevTalk[0], thanks!

[0] https://devtalk.blender.org/t/gitea-workflows-and-module-help-needed/27541/10
2023-02-09 13:13:50 +01:00
Pablo Vazquez
26029b7c9c UI: Style links in repository file view 2023-02-09 12:50:54 +01:00
Pablo Vazquez
83b9250438 UI: Fix navbar items missing on mobile 2023-02-09 12:47:06 +01:00
Pablo Vazquez
4dc96e204f UI: Remove custom color styling on labels
Thanks to a patch upstream labels in tabs are no longer marked as "primary".
2023-02-09 12:46:45 +01:00
Pablo Vazquez
b2760396bf CSS: Cleanup
Round decimal numbers (result of auto-conversion from hex to hsl)
2023-02-09 12:44:07 +01:00
Pablo Vazquez
89cf5f4a88 Navbar: Limit width to match other dev sites 2023-02-08 20:18:28 +01:00
Pablo Vazquez
e421cd5ae2 Auth: Simplify Link Account template
Hide inputs from the interface and simply show an explanation text.
2023-02-08 20:05:27 +01:00
Pablo Vazquez
bc97b622df Auth: Fix link account
Inputs must not be disabled otherwise it gives an error (field cannot be empty)
2023-02-08 17:13:41 +01:00
Pablo Vazquez
1c961188a0 Auth: Override Link Account template
The wrong template was overriden in the previous commit.
2023-02-08 17:09:42 +01:00
Pablo Vazquez
cee06cc9c9 Override signup template to include Blender ID message 2023-02-08 15:40:25 +01:00
Pablo Vazquez
40a657a016 Remove signin template no longer used.
We now use Gitea's built-in template.
2023-02-08 15:40:09 +01:00
Pablo Vazquez
3e68853e77 Dev Navbar: Update link to docs
Matching other dev sites
2023-02-07 19:05:53 +01:00
Pablo Vazquez
e8fb4b5527 Update logo to match other dev sites 2023-02-07 19:05:30 +01:00
Francesco Siddi
bbc5446a80 Always show navigation cards in dashboard 2023-02-07 15:54:56 +01:00
Francesco Siddi
be7a1616c4 Refactor repos into template 2023-02-07 15:52:22 +01:00
Francesco Siddi
85c2abfcc1 Make login form visible
We go to production soon!
2023-02-07 11:27:54 +01:00
Francesco Siddi
19bb420880 Make login buttons visible again
We go to production soon!
2023-02-07 11:23:55 +01:00
Pablo Vazquez
0937a95c5a Home: Typo 2023-02-02 18:48:29 +01:00
Pablo Vazquez
e33d9a9921 Home: Add images to repository links 2023-02-02 18:47:44 +01:00
Pablo Vazquez
04542a3890 Navbar: Hide Gitea's help link in navbar
I couldn't find another way of doing it through the config
https://docs.gitea.io/en-us/config-cheat-sheet/#ui-ui
2023-02-02 18:09:15 +01:00
Pablo Vazquez
d72b4f9bb7 Home: Layout and style adjustments
* Replace images with icons.
* Add links to ongoing projects and swap for code blog entries.
* Style tweaks.
2023-02-02 18:03:43 +01:00
Pablo Vazquez
2987e8e46b UI: Show user buttons in navbar when logged in. 2023-02-02 15:42:07 +01:00
Francesco Siddi
0ace44ca06 Repo cards: remove commented markup, fix links 2023-02-02 14:09:50 +01:00
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
4e8be1543d Login: Add notice about disabled login and hide buttons 2023-02-02 12:35:06 +01:00
Brecht Van Lommel
28f97a396c Homepage: disable links that we don't expect to lead anywhere 2023-02-01 18:57:06 +01:00
Brecht Van Lommel
ed13d551f4 Homepage: add initial links to releases, modules and repos
Most still to be created.
2023-02-01 17:31:31 +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
62c9a71d15 Theme: Fix text colors in cards 2023-01-31 19:27:32 +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
11a072d1ad Fix editor broken in bhree-dark theme
The error was caused by using hsl colors for variables.
Solved by converting the used variables to hex values.

It seems that the editor used by gitea does not support other colors
than hex (transparent, hsl, rgb, etc).

Issue: https: //github.com/microsoft/monaco-editor/issues/1815
2023-01-31 19:01:21 +01:00
Francesco Siddi
cd13db56cc First pass on homepage content when anonymous 2023-01-31 17:36:55 +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
Francesco Siddi
07112f0629 Use 'user-like' image for avatar_default.png 2023-01-30 00:18:38 +01:00
Brecht Van Lommel
40e9b39cd9 UI: small tweaks to theme
* Restore divide line below secondary nav bar, so that e.g. Issues is not in
  the same space as the per repository Issues.
* Make secondary nav bar slightly more compact.
* Restore colored owner/repository name since this is information worth
  highlighting to understand the context of what you're looking at.
* Slightly reduce contrast on divider lines.
* Fix inconsistent number pills styling on pull request page.
2023-01-29 16:54:19 +01:00
Sybren A. Stüvel
73e4a3d525 Update README.md 2023-01-27 10:22:14 +01:00
Pablo Vazquez
ef239744e3 UI: Add font matching other blender.org sites
Use Heebo variable font, the same as in blender.org and other sites.
2023-01-26 18:52:41 +01:00
Pablo Vazquez
5da551a2a4 UI: Small adjustments to diff syntax highlight colors
Highlight diff lines and line number on row hover.
2023-01-26 18:31:39 +01:00
Pablo Vazquez
d3707e9983 UI: Adjust code diff syntax highlight colors 2023-01-26 17:59:49 +01:00