--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/account.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,12 @@
+- Account ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.username}}{{color "reset"}}
+ UID: {{color "red"}}{{.acct}}{{color "reset"}}
+ Display name: {{color "white,,bold"}}{{.display_name}}{{color "reset"}}
+ Date: {{.created_at}}
+ URL: {{color "cyan"}}{{.url}}{{color "reset"}}
+ Statuses: {{.statuses_count}}
+ Followers: {{.followers_count}}
+ Following: {{.following_count}}
+{{- with .note}}{{if ne . "<p></p>"}}
+ Note: {{. | fromhtml}}{{end}}{{end}}
+{{- if eq .locked true}}
+ Locked: true{{end}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/card.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,4 @@
+- Title: {{color ",,bold"}}{{.title}}{{color "reset"}}
+ URL: {{.url}}
+ Image: {{.image}}
+ Description: {{color "blue"}}{{.description}}{{color "reset"}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/client.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,2 @@
+Instance URL: {{color ",,bold"}}{{.InstanceURL}}{{color "reset"}}
+App ID: {{.ID}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/context.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,35 @@
+- Context:
+ Ancestors:
+{{- range .ancestors}}
+ - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+ Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
+ Date: {{.created_at}}
+ URL: {{.url}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
+ Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
+{{- range .media_attachments}}
+ - Attachment ID: {{printf "%.0f" .id}}
+{{- if .text_url}}
+ Text URL: {{.text_url}}{{else if .url}}
+ URL: {{.url}}{{else if .remote_url}}
+ Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}
+ Descendants:
+{{- range .descendants}}
+ - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+ Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
+ Date: {{.created_at}}
+ URL: {{.url}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
+ Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
+{{- range .media_attachments}}
+ - Attachment ID: {{printf "%.0f" .id}}
+{{- if .text_url}}
+ Text URL: {{.text_url}}{{else if .url}}
+ URL: {{.url}}{{else if .remote_url}}
+ Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/instance.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,5 @@
+- Title: {{color ",,bold"}}{{.title}}{{color "reset"}}
+ URI: {{color "magenta"}}{{.uri}}{{color "reset"}}
+ Email: {{.email}}
+ Version: {{.version}}
+ Description: {{color "blue"}}{{.description | fromhtml}}{{color "reset"}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/instancestats.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,6 @@
+- Instance: {{color ",,bold"}}{{.instance_name}}{{color "reset"}}
+ Users: {{.users}}
+ Statuses: {{.statuses}}
+ Open: {{.openRegistrations}}
+ Up: {{.up}}
+ Timestamp: {{.date | fromunix}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/notification.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,37 @@
+- Notification ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}
+ Type: {{color ",,bold"}}{{.type}}{{color "reset"}}
+ Timestamp: {{.created_at}}
+{{- with .url}}
+ URL: {{.url}}{{end}}
+{{- with .account}}
+ - Account: ({{printf "%.0f" .id}}) {{color "magenta"}}@{{.acct}}{{color "reset"}}{{if .display_name}} - {{color "white,,bold"}}{{.display_name}}{{color "reset"}}{{end}}{{end}}
+{{- with .status}}
+ - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+ Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
+ Date: {{.created_at}}
+ URL: {{.url}}
+{{- if .reblog }}{{with .reblog}}
+ {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+ ID: {{printf "%.0f" .id}}
+ Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
+ Date: {{.created_at}}
+{{- if gt .in_reply_to_id 0.0}}
+ Replying to: {{.in_reply_to_id}}{{end}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
+ Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}{{end}}{{else}}
+{{- if gt .in_reply_to_id 0.0}}
+ Replying to: {{.in_reply_to_id}}{{end}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
+ Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
+{{- range .media_attachments}}
+ - Attachment ID: {{printf "%.0f" .id}}
+{{- if .text_url}}
+ Text URL: {{.text_url}}{{else if .url}}
+ URL: {{.url}}{{else if .remote_url}}
+ Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}{{end}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/relationship.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,6 @@
+- ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}
+ Following: {{.following}}
+ Followed-by: {{.followed_by}}
+ Blocking: {{.blocking}}
+ Muting: {{.muting}}
+ Requested: {{.requested}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/report.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,2 @@
+- Report ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}
+ Action taken: {{.action_taken}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/results.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,37 @@
+{{with .accounts}}
+{{- color ",,bold"}}Accounts:{{color "reset"}}
+{{- range .}}
+ - Account ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.username}}{{color "reset"}}
+ UID: {{color "red"}}{{.acct}}{{color "reset"}}
+ Display name: {{color "white,,bold"}}{{.display_name}}{{color "reset"}}
+ Date: {{.created_at}}
+ URL: {{color "cyan"}}{{.url}}{{color "reset"}}
+ Statuses: {{.statuses_count}}
+ Followers: {{.followers_count}}
+ Following: {{.following_count}}
+ {{- with .note}}{{if ne . "<p></p>"}}
+ Note: {{. | fromhtml}}{{end}}{{end}}
+ {{- if eq .locked true}}
+ Locked: true{{end}}{{end}}{{/* of range */}}
+{{end}}{{/* of accounts */}}
+{{- with .statuses}}{{color ",,bold"}}Statuses:{{color "reset"}}
+{{- range .}}
+ - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+ Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
+ Date: {{.created_at}}
+ URL: {{.url}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
+ Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
+{{- range .media_attachments}}
+ - Attachment ID: {{printf "%.0f" .id}}
+{{- if .text_url}}
+ Text URL: {{.text_url}}{{else if .url}}
+ URL: {{.url}}{{else if .remote_url}}
+ Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}{{/* of range */}}{{end}}{{/* of statuses */}}
+{{- with .hashtags}}{{color ",,bold"}}Hashtags:{{color "reset"}}
+{{- range .}}
+ - {{.}}{{end}}{{/* of range */}}
+{{end}}{{/* of statuses */ -}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/status.tmpl Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,37 @@
+- Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+ Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
+ Date: {{.created_at}}
+ URL: {{.url}}
+{{- if .reblog }}{{with .reblog}}
+ {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+ ID: {{printf "%.0f" .id}}
+ Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
+ Date: {{.created_at}}
+{{- if gt .in_reply_to_id 0.0}}
+ Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
+ Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
+{{- range .media_attachments}}
+ - Attachment ID: {{printf "%.0f" .id}}
+{{- if .text_url}}
+ Text URL: {{.text_url}}{{else if .url}}
+ URL: {{.url}}{{else if .remote_url}}
+ Remote URL: {{.remote_url}}{{end}}{{end}}
+{{end}}{{else}}
+{{- if gt .in_reply_to_id 0.0}}
+ Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
+ Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
+{{- range .media_attachments}}
+ - Attachment ID: {{printf "%.0f" .id}}
+{{- if .text_url}}
+ Text URL: {{.text_url}}{{else if .url}}
+ URL: {{.url}}{{else if .remote_url}}
+ Remote URL: {{.remote_url}}{{end}}{{end}}
+{{end -}}