alpha
Login
or
Join now
4uffin.bsky.social
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
My own copy of Tangled :)
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
update styles a bit
author
Akshay
date
1 year ago
(Mar 9, 2025, 8:38 PM UTC)
commit
090bb642
090bb642ee135a67bb657a3a7e6d7f884d522d32
parent
daeea33a
daeea33ac2b333b5ce66f6fbedfeeee6d0c09940
+7
-5
2 changed files
Expand all
Collapse all
Unified
Split
appview
pages
templates
fragments
editRepoDescription.html
repoDescription.html
+6
-4
appview/pages/templates/fragments/editRepoDescription.html
Reviewed
···
1
1
{{ define "fragments/editRepoDescription" }}
2
2
<form hx-put="/{{ .RepoInfo.FullName }}/description" hx-target="this" hx-swap="outerHTML">
3
3
-
<input type="text" name="description" value="{{ .RepoInfo.Description }}" class="input">
4
4
-
<button type="submit" class="btn">save</button>
5
5
-
<button type="button" class="btn" hx-get="/{{ .RepoInfo.FullName }}/description" >
6
6
-
cancel
3
3
+
<input type="text" name="description" value="{{ .RepoInfo.Description }}">
4
4
+
<button type="submit" class="bg-green-100 text-green-700 rounded p-1 mr-1 hover:bg-green-200 font-mono uppercase text-sm">
5
5
+
save
6
6
+
</button>
7
7
+
<button type="button" class="bg-red-100 text-red-700 rounded p-1 hover:bg-red-200 font-mono uppercase text-sm" hx-get="/{{ .RepoInfo.FullName }}/description" >
8
8
+
cancel
7
9
</button>
8
10
</form>
9
11
{{ end }}
+1
-1
appview/pages/templates/fragments/repoDescription.html
Reviewed
···
7
7
{{ end }}
8
8
9
9
{{ if .RepoInfo.Roles.IsOwner }}
10
10
-
<button class="btn" hx-get="/{{ .RepoInfo.FullName }}/description/edit">
10
10
+
<button class="bg-gray-100 rounded p-1 mr-1 hover:bg-gray-200 font-mono text-sm" hx-get="/{{ .RepoInfo.FullName }}/description/edit">
11
11
edit
12
12
</button>
13
13
{{ end }}