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

UI: Layout update to dashboard and home cards

This commit is contained in:
Pablo Vazquez 2023-02-09 19:48:16 +01:00
parent 0c9d528c29
commit 667595efa0
7 changed files with 147 additions and 57 deletions

View file

@ -1,4 +1,4 @@
<div class="ui card"> <div class="ui fluid card">
<div class="content"> <div class="content">
<h3>Modules</h3> <h3>Modules</h3>
<div class="description"> <div class="description">

View file

@ -1,4 +1,4 @@
<div class="ui card"> <div class="ui fluid card">
<div class="content"> <div class="content">
<h3>Ongoing Projects</h3> <h3>Ongoing Projects</h3>
<p>Focused activities to advance Blender.</p> <p>Focused activities to advance Blender.</p>

View file

@ -1,4 +1,4 @@
<div class="ui card"> <div class="ui fluid card">
<div class="content"> <div class="content">
<h3>Release Status</h3> <h3>Release Status</h3>
<p>Current and upcoming versions</p> <p>Current and upcoming versions</p>

View file

@ -1,55 +1,49 @@
<div class="ui stackable three column grid"> <div class="ui cards">
<div class="column"> <div class="ui card card-with-image" style="flex: 1;">
<div class="ui card card-with-image card-with-icon"> <a href="blender/blender" class="image">
<a href="blender/blender" class="image"> <img src="/assets/img/thumb_blender.jpg">
<img src="/assets/img/thumb_blender.jpg"> </a>
</a> <div class="row">
<div class="row"> <div class="content p-4">
<div class="content"> <a href="blender/blender">
<a href="blender/blender"> <h3>Blender</h3>
<h3>Blender</h3> </a>
</a> <div class="description">
<div class="description"> <p>The main repository for Blender's code and all its branches.</p>
<p>The main repository for Blender's code and all its branches.</p> </div>
</div>
</div>
</div>
</div> </div>
</div>
</div> </div>
<div class="column"> <div class="ui card card-with-image" style="flex: 1;">
<div class="ui card card-with-image card-with-icon"> <a href="blender/documentation" class="image">
<a href="blender/documentation" class="image"> <img src="/assets/img/thumb_manual.jpg">
<img src="/assets/img/thumb_manual.jpg"> </a>
</a> <div class="row">
<div class="row"> <div class="content p-4">
<div class="content"> <a href="blender/documentation">
<a href="blender/documentation"> <h3>User Manual</h3>
<h3>User Manual</h3> </a>
</a> <div class="description">
<div class="description"> <p>The official Blender manual, with references and examples.</p>
<p>The official Blender manual, with references and examples.</p> </div>
</div>
</div>
</div>
</div> </div>
</div>
</div> </div>
<div class="column"> <div class="ui card card-with-image" style="flex: 1;">
<div class="ui card card-with-image card-with-icon"> <a href="studio/flamenco" class="image">
<a href="studio/flamenco" class="image"> <img src="/assets/img/thumb_flamenco.jpg">
<img src="/assets/img/thumb_flamenco.jpg"> </a>
</a> <div class="row">
<div class="row"> <div class="content p-4">
<div class="content"> <a href="studio/flamenco">
<a href="studio/flamenco"> <h3>Flamenco</h3>
<h3>Flamenco</h3> </a>
</a> <div class="description">
<div class="description"> <p>Free and open source render management software.</p>
<p>Free and open source render management software.</p> </div>
</div>
</div>
</div>
</div> </div>
</div>
</div> </div>
</div> </div>

View file

@ -1 +1,41 @@
<div class="ui dropdown jump item tooltip" data-content="Modules">
<span class="text">
Modules
<span class="fitted not-mobile">{{svg "octicon-triangle-down"}}</span>
</span>
<div class="menu">
<a class="item" href="blender/blender/wiki/Module: Animation & Rigging">Animation & Rigging</a>
<a class="item" href="blender/blender/wiki/Module: Asset Browser">Asset Browser</a>
<a class="item" href="blender/blender/wiki/Module: Core">Core</a>
<a class="item" href="blender/blender/wiki/Module: Grease Pencil">Grease Pencil</a>
<a class="item" href="blender/blender/wiki/Module: Modeling">Modeling</a>
<div class="divider"></div>
<div class="header">Nodes</div>
<a class="item" href="blender/blender/wiki/Module: Geometry Nodes">Geometry Nodes</a>
<a class="item" href="blender/blender/wiki/Module: Nodes & Physics">Nodes & Physics</a>
<div class="divider"></div>
<a class="item" href="blender/blender/wiki/Module: Pipeline, Assets & I/O">Pipeline, Assets & I/O</a>
<a class="item" href="blender/blender/wiki/Module: Platforms, Builds, Tests & Devices">Platforms, Builds, Tests & Devices</a>
<div class="divider"></div>
<div class="header">Python & Add-ons</div>
<a class="item" href="blender/blender/wiki/Module: Python API & Text Editor">Python API & Text Editor</a>
<a class="item" href="blender/blender/wiki/Module: Officially Maintained Add-ons">Officially Maintained Add-ons</a>
<a class="item" href="blender/blender/wiki/Module: Community Maintained Add-ons">Community Maintained Add-ons</a>
<div class="divider"></div>
<div class="header">Rendering</div>
<a class="item" href="blender/blender/wiki/Module: EEVEE & Viewport">EEVEE & Viewport</a>
<a class="item" href="blender/blender/wiki/Module: Render & Cycles">Render & Cycles</a>
<div class="divider"></div>
<a class="item" href="blender/blender/wiki/Module: Sculpt, Paint & Texture">Sculpt, Paint & Texture</a>
<a class="item" href="blender/blender/wiki/Module: Triaging">Triaging</a>
<a class="item" href="blender/blender/wiki/Module: User Interface">User Interface</a>
<a class="item" href="blender/blender/wiki/Module: VFX & Video">VFX & Video</a>
</div>
</div>
<a class="item" href="{{AppSubUrl}}/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml">{{.locale.Tr "Report a Bug"}}</a> <a class="item" href="{{AppSubUrl}}/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml">{{.locale.Tr "Report a Bug"}}</a>

View file

@ -15,7 +15,7 @@
</p> </p>
</div> </div>
<div class="ui stackable twelve column"> <div class="ui stackable twelve column mb-4">
<p>This portal hosts more than just the Blender sources, bug and patch tracker. Explore the other repositories and get involved!</p> <p>This portal hosts more than just the Blender sources, bug and patch tracker. Explore the other repositories and get involved!</p>
</div> </div>

View file

@ -2,14 +2,70 @@
<div class="page-content dashboard feeds"> <div class="page-content dashboard feeds">
{{template "user/dashboard/navbar" .}} {{template "user/dashboard/navbar" .}}
<div class="ui container"> <div class="ui container">
{{template "blender_components/card_repos" .}} <div class="ui stackable grid">
<div class="ui stackable two column grid"> <div class="ui container ten wide column">
<div class="column">
{{template "blender_components/card_projects" .}} <div class="ui">
{{template "blender_components/card_releases" .}} <div class="ui stackable three column grid">
<div class="column">
<div class="ui card card-with-image card-with-icon">
<a href="blender/blender" class="image">
<img src="/assets/img/thumb_blender.jpg">
</a>
<div class="row">
<div class="content p-3">
<a href="blender/blender">
<h4>Blender</h4>
</a>
<div class="description">
<p>The main repository for Blender's code and all its branches.</p>
</div>
</div>
</div>
</div>
</div>
<div class="column">
<div class="ui card card-with-image card-with-icon">
<a href="blender/documentation" class="image">
<img src="/assets/img/thumb_manual.jpg">
</a>
<div class="row">
<div class="content p-3">
<a href="blender/documentation">
<h4>User Manual</h4>
</a>
<div class="description">
<p>The official Blender manual, with references and examples.</p>
</div>
</div>
</div>
</div>
</div>
<div class="column">
<div class="ui card card-with-image card-with-icon">
<a href="studio/flamenco" class="image">
<img src="/assets/img/thumb_flamenco.jpg">
</a>
<div class="row">
<div class="content p-3">
<a href="studio/flamenco">
<h4>Flamenco</h4>
</a>
<div class="description">
<p>Free and open source render management software.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{{/* template "blender_components/card_modules" . */}}
</div> </div>
<div class="column"> <div class="six wide column">
{{template "blender_components/card_modules" .}} {{template "blender_components/card_releases" .}}
</div> </div>
</div> </div>
{{template "base/alert" .}} {{template "base/alert" .}}