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

Refactor repos into template

This commit is contained in:
Francesco Siddi 2023-02-07 15:52:22 +01:00
parent 85c2abfcc1
commit be7a1616c4
3 changed files with 57 additions and 55 deletions

View file

@ -0,0 +1,55 @@
<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">
<a href="blender/blender">
<h3>Blender</h3>
</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">
<a href="blender/documentation">
<h3>User Manual</h3>
</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">
<a href="studio/flamenco">
<h3>Flamenco</h3>
</a>
<div class="description">
<p>Free and open source render management software.</p>
</div>
</div>
</div>
</div>
</div>
</div>

View file

@ -19,61 +19,7 @@
<p>This portal hosts more than just the Blender sources, bug and patch tracker. Explore the other repositories and get involved!</p>
</div>
<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">
<a href="blender/blender">
<h3>Blender</h3>
</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">
<a href="blender/documentation">
<h3>User Manual</h3>
</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">
<a href="studio/flamenco">
<h3>Flamenco</h3>
</a>
<div class="description">
<p>Free and open source render management software.</p>
</div>
</div>
</div>
</div>
</div>
</div>
{{template "blender_components/card_repos" .}}
<div class="ui stackable two column grid mb-4 pt-0">
<div class="column">

View file

@ -3,6 +3,7 @@
{{template "user/dashboard/navbar" .}}
<div class="ui container">
{{if not .Feeds}}
{{template "blender_components/card_repos" .}}
<div class="ui stackable two column grid">
<div class="column">
{{template "blender_components/card_projects" .}}