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:
parent
85c2abfcc1
commit
be7a1616c4
3 changed files with 57 additions and 55 deletions
55
templates/blender_components/card_repos.tmpl
Normal file
55
templates/blender_components/card_repos.tmpl
Normal 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>
|
|
@ -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>
|
<p>This portal hosts more than just the Blender sources, bug and patch tracker. Explore the other repositories and get involved!</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="ui stackable three column grid">
|
{{template "blender_components/card_repos" .}}
|
||||||
<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>
|
|
||||||
|
|
||||||
<div class="ui stackable two column grid mb-4 pt-0">
|
<div class="ui stackable two column grid mb-4 pt-0">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
{{template "user/dashboard/navbar" .}}
|
{{template "user/dashboard/navbar" .}}
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
{{if not .Feeds}}
|
{{if not .Feeds}}
|
||||||
|
{{template "blender_components/card_repos" .}}
|
||||||
<div class="ui stackable two column grid">
|
<div class="ui stackable two column grid">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
{{template "blender_components/card_projects" .}}
|
{{template "blender_components/card_projects" .}}
|
||||||
|
|
Loading…
Reference in a new issue