mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-23 13:19:22 +02:00
Compare commits
2 Commits
96a0d7cf05
...
df746e8482
Author | SHA1 | Date | |
---|---|---|---|
localhost_frssoft | df746e8482 | ||
localhost_frssoft | bb5ee85c34 |
10
README
10
README
|
@ -5,6 +5,16 @@ Features:
|
||||||
- Does not require JavaScript to display text, images, audio and videos.
|
- Does not require JavaScript to display text, images, audio and videos.
|
||||||
|
|
||||||
|
|
||||||
|
Changes (localhost_custom fork):
|
||||||
|
- Is personal fork, no recommended for public use (use as local frontend)
|
||||||
|
- Add reactions for pleroma (includes custom emojis input)
|
||||||
|
- tag timeline
|
||||||
|
- visible edited post time
|
||||||
|
- hide boosts in spoiler
|
||||||
|
- some micro visual changes
|
||||||
|
- some others changes no matter
|
||||||
|
|
||||||
|
|
||||||
Requirements:
|
Requirements:
|
||||||
|
|
||||||
- Go 1.11
|
- Go 1.11
|
||||||
|
|
|
@ -4,7 +4,7 @@ frame, body {
|
||||||
|
|
||||||
.status-container-container {
|
.status-container-container {
|
||||||
margin: 0 -4px 12px -4px;
|
margin: 0 -4px 12px -4px;
|
||||||
padding: 4px;
|
padding: 2px;
|
||||||
border-left: 4px solid transparent;
|
border-left: 4px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,7 +145,8 @@ frame, body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.retweet-info {
|
.retweet-info {
|
||||||
margin: 0 0 4px 24px;
|
margin: -1% 0 0 24px;
|
||||||
|
background-color: gainsboro;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{{with .Data}}
|
{{with .Data}}
|
||||||
<div id="status-{{.ID}}" class="status-container-container">
|
<div id="status-{{.ID}}" class="status-container-container">
|
||||||
{{if .Reblog}}
|
{{if .Reblog}}
|
||||||
|
<details>
|
||||||
|
<summary>
|
||||||
<div class="retweet-info">
|
<div class="retweet-info">
|
||||||
<a class="img-link" href="/user/{{.Account.ID}}">
|
<a class="img-link" href="/user/{{.Account.ID}}">
|
||||||
<img class="status-profile-img" src="{{.Account.Avatar}}" title="@{{.Account.Acct}}" alt="avatar" height="24" />
|
<img class="status-profile-img" src="{{.Account.Avatar}}" title="@{{.Account.Acct}}" alt="avatar" height="24" />
|
||||||
|
@ -9,9 +11,11 @@
|
||||||
<a href="/user/{{.Account.ID}}">
|
<a href="/user/{{.Account.ID}}">
|
||||||
<span class="status-uname">@{{.Account.Acct}}</span>
|
<span class="status-uname">@{{.Account.Acct}}</span>
|
||||||
</a>
|
</a>
|
||||||
retweeted
|
retweeteed
|
||||||
</div>
|
</div>
|
||||||
|
</summary>
|
||||||
{{template "status" (WithContext .Reblog $.Ctx)}}
|
{{template "status" (WithContext .Reblog $.Ctx)}}
|
||||||
|
</details>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{block "status" (WithContext . $.Ctx)}}
|
{{block "status" (WithContext . $.Ctx)}}
|
||||||
{{with $s := .Data}}
|
{{with $s := .Data}}
|
||||||
|
|
Loading…
Reference in New Issue