Browse Source

Improve templates by using more tags and remove levels

tags/v0.2.0
Bernhard Fröhlich 1 month ago
parent
commit
a89d8634a9
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333
1 changed files with 15 additions and 13 deletions
  1. 15
    13
      templates/index.html

+ 15
- 13
templates/index.html View File

@@ -26,20 +26,22 @@
26 26
 						<div class="tile is-parent is-vertical">
27 27
 
28 28
 							<article class="tile is-child message">
29
-								<div class="message-header"># {{.ID}}</div>
30
-								<div class="message-body level">
31
-									<div class="level-left">
32
-										<div class="level-item">
33
-											<p>
34
-												<span class="tag is-info">decke</span> committed
35
-												<a href="{{(index .PushEvent.Commits 0).URL}}">{{.PushEvent.CommitID}}</a>
36
-												to
37
-												<a href="{{.PushEvent.Repository.HTMLURL}}">{{.PushEvent.Repository.FullName}}</a>
38
-											</p>
29
+								<div class="message-header">{{.Port}}</div>
30
+								<div class="message-body">
31
+									<p>
32
+										<a href="{{(index .PushEvent.Commits 0).URL}}">{{.PushEvent.CommitID}}</a>
33
+										was committed to
34
+										<a href="{{.PushEvent.Repository.HTMLURL}}">{{.PushEvent.Repository.FullName}}</a>
35
+									</p>
36
+									<br />
37
+									<div class="field is-grouped is-grouped-multiline">
38
+										<div class="control">
39
+											<div class="tags has-addons">
40
+												<span class="tag is-dark">port</span>
41
+												<a class="tag is-danger" href="https://www.freshports.org/{{.Port}}">{{.Port}}</a>
42
+											</div>
39 43
 										</div>
40
-									</div>
41
-									<div class="level-right">
42
-										<div class="level-item">
44
+										<div class="control">
43 45
 											<div class="tags has-addons">
44 46
 												<span class="tag is-dark">build start</span>
45 47
 												<span class="tag is-info">{{.StartDate}}</span>

Loading…
Cancel
Save