mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-24 09:20:59 +00:00
b43f9ceca9
* 🐸restructure frontend stuff, include admin and future user panel in main repo, properly deduplicate bundles for css+js across uses
* rename bundled to dist, caught by gitignore
* re-include status.css for profile template
* default to localhost
* serve frontend panels
* add todo message for abstraction
* refactor oauth registration flow
* oauth restructure
* update footer template
* change panel routes
* remove superfluous css imports
* write bundle to disk from test server, use forked budo-express
* wrap all page content in container
for robustness with addons etc injection other elements in body
* update documentation, goreleaser, Dockerfile
* update template meta tags
* add AGPL-3.0+ license header everywhere
* only attach update listener on EventEmitter
* cleaner config for various frontend bundles
* fix bundler script paths
* Merge commit 'd191931932b9293ce1be44ed08a1e69b9fcc1e25'
* fix up dockerfile, goreleaser
* go mod tidy
* add uglifyify
* move status hide/show js to frontend bundle
* fix stylesheet color( func regressions
* update contributing docs for new build path
* update goreleaser + docker building
* resolve dependency paths properly
* update package name
* use api errorhandler
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
34 lines
1.4 KiB
Cheetah
34 lines
1.4 KiB
Cheetah
{{ template "header.tmpl" .}}
|
|
<main>
|
|
{{ if .account.Header }}<a href="{{.account.Header}}" class="headerimage"><img src="{{.account.Header}}"></a>{{ end }}
|
|
<div class="profile">
|
|
<div class="basic">
|
|
<a href="{{.account.URL}}" class="displayname">{{if .account.DisplayName}}{{.account.DisplayName}}{{else}}{{.account.Username}}{{end}}</a>
|
|
<a href="{{.account.URL}}" class="username">@{{.account.Username}}</a>
|
|
<div class="avatar-container">
|
|
<a href="{{.account.Avatar}}" class="avatar"><img src="{{.account.Avatar}}"></a>
|
|
</div>
|
|
</div>
|
|
<div class="detailed">
|
|
<h2>About @{{.account.Username}}</h2>
|
|
<div class="bio">
|
|
{{ if .account.Note }}{{ .account.Note | noescape }}{{else}}This GoToSocial user hasn't written a bio yet!{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="accountstats">
|
|
<div class="entry">Joined {{.account.CreatedAt | timestampShort}}</div>
|
|
<div class="entry">Followed by {{.account.FollowersCount}}</div>
|
|
<div class="entry">Following {{.account.FollowingCount}}</div>
|
|
<div class="entry">Posted {{.account.StatusesCount}}</div>
|
|
</div>
|
|
<h2>Recent public posts by @{{.account.Username}}</h2>
|
|
<div class="thread">
|
|
{{range .statuses}}
|
|
<div class="toot expanded">
|
|
{{ template "status.tmpl" .}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</main>
|
|
{{ template "footer.tmpl" .}}
|