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

Dashboard: Move large card links to header dropdown

Move the cards "Blender, User Manual, Flamenco", to a "Products" dropdown
in the header, together with other projects. We can add more in the
future to give visibility to other projects.
This commit is contained in:
Pablo Vazquez 2024-05-24 19:04:49 +02:00
parent a083144d04
commit 8904b6b97f
2 changed files with 15 additions and 50 deletions

View file

@ -1,3 +1,18 @@
<div class="ui dropdown jump item tooltip" data-content="Modules">
Products
<span class="fitted not-mobile">{{svg "octicon-triangle-down"}}</span>
<div class="menu">
<a class="item" href="{{AppSubUrl}}/blender/blender/">Blender</a>
<a class="item" href="{{AppSubUrl}}/blender/blender/blender-manual/">User Manual</a>
<div class="divider"></div>
<a class="item" href="{{AppSubUrl}}/infrastructure/blender-open-data/">Blender Benchmark</a>
<div class="divider"></div>
<a class="item" href="{{AppSubUrl}}/studio/">Blender Studio Tools</a>
<a class="item" href="{{AppSubUrl}}/studio/flamenco/">Flamenco</a>
<a class="item" href="{{AppSubUrl}}/studio/watchtower/">Watchtower</a>
</div>
</div>
<div class="ui dropdown jump item tooltip" data-content="Modules">
Modules
<span class="fitted not-mobile">{{svg "octicon-triangle-down"}}</span>

View file

@ -5,56 +5,6 @@
<div class="ui stackable grid">
<div class="ui container ten wide column">
<div class="ui">
<div class="ui stackable three column grid">
<div class="column">
<div class="ui card card-with-image card-with-icon">
<a href="{{AppSubUrl}}/blender/blender" class="image">
<img src="/assets/img/thumb_blender.jpg" style="width: 100%; height: 100%;">
</a>
<div class="content">
<a href="{{AppSubUrl}}/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 class="column">
<div class="ui card card-with-image card-with-icon">
<a href="{{AppSubUrl}}/blender/documentation" class="image">
<img src="/assets/img/thumb_manual.jpg" style="width: 100%; height: 100%;">
</a>
<div class="content">
<a href="{{AppSubUrl}}/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 class="column">
<div class="ui card card-with-image card-with-icon">
<a href="{{AppSubUrl}}/studio/flamenco" class="image">
<img src="/assets/img/thumb_flamenco.jpg" style="width: 100%; height: 100%;">
</a>
<div class="content">
<a href="{{AppSubUrl}}/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>
<div class="six wide column">
{{template "blender_components/card_releases" .}}