0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2025-01-03 13:20:08 -05:00
Commit graph

90 commits

Author SHA1 Message Date
Pablo Vazquez
2e5be3245c UI: Decrease padding in issues/PR list 2023-02-10 19:10:36 +01:00
Pablo Vazquez
95dfac43e6 UI: Style adjustments to issues list
* Hide branches
* Adjust padding
* Minor alignment tweaks
2023-02-10 17:09:47 +01:00
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
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
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
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
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
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
236f9ae3da Developer Navbar: Update
* Update markup to match code blog.
* More strict reset.
* Add comments.
2023-01-31 19:12:59 +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
Pablo Vazquez
130dc1ed8e Home: Use full-width column for welcome message
Text to be replaced soon anyway but at least it doesn't look misaligned
in the meantime.
2023-01-26 15:56:18 +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
Brecht Van Lommel
790ac21c36 Add text explaining policy for creating and migrating repositories.
Fix blender-migration/phabricator-migration#34
2023-01-25 17:35:47 +01:00
Pablo Vazquez
1e38c726dc Homepage: Add placeholder text 2023-01-20 19:14:39 +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