Thread views on the web (#207)

* Webviews for status threads

* fix up templates

* add ForkAwesome and gotosocial-styling into repo

* clean up gotosocial-styling, old styling

* update CONTRIBUTING with new css building, and nodemon recommendation

* update Dockerfile with new css bundling

* those weren't supposed to make it in

* upgrade gotosocial-styling deps

* update authorize template with main wrapper

* update css pipeline

* abstract status from thread to avoid copy-pasting

* basic CW implementation

* fix PR review suggestions

* fix no-image-desc icon alignment

* remove template loading println

* remove println

* remove changes to testmodels

* reset changes to testmodels
This commit is contained in:
f0x52 2021-09-13 14:45:33 +02:00 committed by GitHub
commit 026674bc2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 1742 additions and 190 deletions

View file

@ -1,19 +1,26 @@
<!DOCTYPE html>
<!-- header.tmpl -->
<!-- Header tmpl -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="og:title" content="{{.instance.Title}}">
<meta name="og:description" content="{{.instance.Description}}">
<link rel="stylesheet" href="/assets/bundle.css">
<link rel="shortcut icon" href="/assets/sloth.png" type="image/png">
<meta name="og:title" content="GoToSocial Testing Instance">
<meta name="og:description" content="">
<link rel="stylesheet" href="/assets/base.css">
{{range .stylesheets}}<link rel="stylesheet" href="{{.}}">
{{end}}
<link rel="shortcut icon" href="/assets/logo.png" type="image/png">
<title>{{.instance.Title}} - GoToSocial</title>
</head>
<body>
<header>
<h1>
{{.instance.Title}}
</h1>
<img src="/assets/logo.png" alt="Instance Logo"/>
<div>
<h1>
{{.instance.Title}}
</h1>
</div>
<div></div>
</header>