Page UI Update

This commit is contained in:
2026-02-01 18:52:56 -05:00
parent 38495ae48d
commit cb4cc25316
2 changed files with 11 additions and 11 deletions

View File

@@ -518,7 +518,6 @@
<li>
<a class="size-h3 color-primary" href="{{ .String "html_url" }}">{{ .String "full_name" }}</a>
<h3><a href="" target="_blank"></a></h3>
<p>{{ .String "description" }}</p>
<ul class="list-horizontal-text device-info">
<li data-popover-type="html"><div data-popover-html="">Last Update</div>{{ formatTime "DateOnly" ( parseTime "RFC3339" (.String "updated_at") ) }}</li>
<li data-popover-type="html"><div data-popover-html="">Visibility</div>{{ .String "visibility" }}</li>

View File

@@ -4,7 +4,7 @@
widgets:
- type: rss
title: SirBlob Blog
limit: 15
limit: 5
style: vertical-list
feeds:
- url: https://blog.sirblob.co/rss.xml
@@ -1089,17 +1089,17 @@
cache: 1m
template: |
<div class="gitea-repos">
<ul class="list list-gap-14 collapsible-container" data-collapse-after="10">
<ul class="list list-gap-6 collapsible-container" data-collapse-after="8">
{{ range .JSON.Array "" }}
<li>
<a class="size-h4 color-primary text-truncate block" href="{{ .String "html_url" }}" target="_blank">{{ .String "name" }}</a>
<a class="size-sm color-primary text-truncate block" href="{{ .String "html_url" }}" target="_blank">{{ .String "name" }}</a>
{{ if .String "description" }}
<p class="size-sm color-subdue line-clamp-2" style="margin-top: 4px;">{{ .String "description" }}</p>
<p class="size-xs color-subdue line-clamp-1" style="margin-top: 2px;">{{ .String "description" }}</p>
{{ end }}
<ul class="list-horizontal-text size-xs margin-top-1">
<li>{{ formatTime "Jan 02" ( parseTime "RFC3339" (.String "updated_at") ) }}</li>
<li class="color-subdue">{{ formatTime "Jan 02" ( parseTime "RFC3339" (.String "updated_at") ) }}</li>
{{ if .String "language" }}
<li>{{ .String "language" }}</li>
<li class="color-subdue">{{ .String "language" }}</li>
{{ end }}
</ul>
</li>
@@ -1110,21 +1110,22 @@
- type: custom-api
title: Recent Activity
url: https://git.sirblob.co/api/v1/users/SirBlob/activities/feeds
parameters:
limit: 5
cache: 1m
headers:
Accept: application/json
template: |
<div class="activity-feed">
<ul class="list list-gap-10">
<ul class="list list-gap-6">
{{ range .JSON.Array "" }}
{{ $type := .String "op_type" }}
{{ $repo := .String "repo.full_name" }}
{{ $repoUrl := .String "repo.html_url" }}
{{ $date := .String "created" }}
<li>
<div class="size-sm color-subdue">{{ $date | parseTime "RFC3339" | formatTime "Jan 02 15:04" }}</div>
<div class="size-base">
<div class="size-xs color-subdue">{{ $date | parseTime "RFC3339" | formatTime "Jan 02 15:04" }}</div>
<div class="size-sm">
{{ if eq $type "commit_repo" }}
<span class="color-primary">Pushed</span> to <a href="{{ $repoUrl }}" class="color-highlight">{{ $repo }}</a>
{{ else if eq $type "create_repo" }}