Mercurial > libervia-templates
comparison sat_templates/templates/bulma/merge-request/item.html @ 246:1928ba66c194
bulma: replaced custom styles by new spacing helpers
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jun 2020 17:57:13 +0200 |
parents | 0e69b5843c2f |
children | 40fccd3b7cf0 |
comparison
equal
deleted
inserted
replaced
245:10278ba367a2 | 246:1928ba66c194 |
---|---|
40 </div> | 40 </div> |
41 | 41 |
42 <div class="tab__page state_clicked" id="tab_description"> | 42 <div class="tab__page state_clicked" id="tab_description"> |
43 <div class="columns"> | 43 <div class="columns"> |
44 <div class="column has-background-white"> | 44 <div class="column has-background-white"> |
45 <div id="{{ item.widget_value['id'] }}" class="media has-padding-1"> | 45 <div id="{{ item.widget_value['id'] }}" class="media px-1 py-1"> |
46 {% if identities is defined %} | 46 {% if identities is defined %} |
47 {% if avatar is defined %} | 47 {% if avatar is defined %} |
48 <figure class="media-left"> | 48 <figure class="media-left"> |
49 {{ avatar.avatar(item.widget_value['publisher'].bare) }} | 49 {{ avatar.avatar(item.widget_value['publisher'].bare) }} |
50 </figure> | 50 </figure> |
107 {% for patch in patches %} | 107 {% for patch in patches %} |
108 <div class="card"> | 108 <div class="card"> |
109 <div class="card-content has-background-primary"> | 109 <div class="card-content has-background-primary"> |
110 <p class="commit_msg">{{patch.commit_msg}}</p> | 110 <p class="commit_msg">{{patch.commit_msg}}</p> |
111 </div> | 111 </div> |
112 <div class="card-footer has-vpadding-6"> | 112 <div class="card-footer py-5"> |
113 <div class="level"> | 113 <div class="level"> |
114 <div class="level-left"> | 114 <div class="level-left"> |
115 <div class="level-item"> | 115 <div class="level-item"> |
116 <span class="author has-text-weight-bold">{{patch.author}}</span> | 116 <span class="author has-text-weight-bold">{{patch.author}}</span> |
117 </div> | 117 </div> |
118 </div> | 118 </div> |
119 </div> | 119 </div> |
120 </div> | 120 </div> |
121 </div> | 121 </div> |
122 <div class="box has-margin-top-1"> | 122 <div class="box mt-4"> |
123 <div class="diff"> | 123 <div class="diff"> |
124 {{- patch.diff|highlight('diff') -}} | 124 {{- patch.diff|highlight('diff') -}} |
125 </div> | 125 </div> |
126 </div> | 126 </div> |
127 {% endfor %} | 127 {% endfor %} |