templates/themes/ansi-dark/results.tmpl
changeset 172 0d651f070319
parent 134 a057c44144a4
child 229 d4c099a67c86
equal deleted inserted replaced
171:611c211534d0 172:0d651f070319
     1 {{with .accounts}}
     1 {{with .accounts}}
     2 {{- color ",,bold"}}Accounts:{{color "reset"}}
     2 {{- color ",,bold"}}Accounts:{{color "reset"}}
     3 {{- range .}}
     3 {{- range .}}
     4   - Account ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.username}}{{color "reset"}}
     4   - Account ID: {{color "red"}}{{.id}}{{color "reset"}}  {{color "magenta"}}@{{.username}}{{color "reset"}}
     5     UID: {{color "red"}}{{.acct}}{{color "reset"}}
     5     UID: {{color "red"}}{{.acct}}{{color "reset"}}
     6     Display name: {{color "white,,bold"}}{{.display_name}}{{color "reset"}}
     6     Display name: {{color "white,,bold"}}{{.display_name}}{{color "reset"}}
     7     Date: {{.created_at}}
     7     Date: {{.created_at}}
     8     URL: {{color "cyan"}}{{.url}}{{color "reset"}}
     8     URL: {{color "cyan"}}{{.url}}{{color "reset"}}
     9     Statuses: {{.statuses_count}}
     9     Statuses: {{.statuses_count}}
    14   {{- if eq .locked true}}
    14   {{- if eq .locked true}}
    15     Locked: true{{end}}{{end}}{{/* of range */}}
    15     Locked: true{{end}}{{end}}{{/* of range */}}
    16 {{end}}{{/* of accounts */}}
    16 {{end}}{{/* of accounts */}}
    17 {{- with .statuses}}{{color ",,bold"}}Statuses:{{color "reset"}}
    17 {{- with .statuses}}{{color ",,bold"}}Statuses:{{color "reset"}}
    18 {{- range .}}
    18 {{- range .}}
    19   - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
    19   - Status ID: {{color "red"}}{{.id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
    20     Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
    20     Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
    21     Date: {{.created_at}}
    21     Date: {{.created_at}}
    22     URL: {{.url}}
    22     URL: {{.url}}
    23 {{- if .sensitive}}
    23 {{- if .sensitive}}
    24     Sensitive: true{{end}}
    24     Sensitive: true{{end}}
    25 {{- with .spoiler_text}}
    25 {{- with .spoiler_text}}
    26     Spoiler: {{.}}{{end}}
    26     Spoiler: {{.}}{{end}}
    27     Message: {{color "blue"}}{{.content | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}
    27     Message: {{color "blue"}}{{.content | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}
    28 {{- range .media_attachments}}
    28 {{- range .media_attachments}}
    29     - Attachment ID: {{printf "%.0f" .id}}
    29     - Attachment ID: {{.id}}
    30 {{- if .text_url}}
    30 {{- if .text_url}}
    31       Text URL: {{.text_url}}{{else if .url}}
    31       Text URL: {{.text_url}}{{else if .url}}
    32       URL: {{.url}}{{else if .remote_url}}
    32       URL: {{.url}}{{else if .remote_url}}
    33       Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}{{/* of range */}}{{end}}{{/* of statuses */}}
    33       Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}{{/* of range */}}{{end}}{{/* of statuses */}}
    34 {{- with .hashtags}}{{color ",,bold"}}Hashtags:{{color "reset"}}
    34 {{- with .hashtags}}{{color ",,bold"}}Hashtags:{{color "reset"}}