// Code generated by go generate; DO NOT EDIT. package handler var TplMap = map[string]string{ "admin": `{{ define "content" }}

Admin

{{ range .inactive }}
{{ .Name }} ({{ .SignupEmail }}) Activate | Delete

{{ .SignupMsg }}

{{ end }}
{{ end }}`, "confirm_remove_status": `{{ define "content" }}
Are you sure you you want to delete the following status?

{{ .status.Content }}

{{ .csrfField }}
{{ end }}`, "create_status": ` status cafe
{{ if .form.Error }}

{{ .form.Error }}

{{ end }} {{ if .flash }}

{{ .flash }}

{{ end }}
{{ .csrfField }} {{ template "status_form" .status }}
`, "current_status": `{{ define "content" }}

Status widget

name:

Past this code into your HTML file:

Past this code into your CSS file:

Make it your own! The CSS above is only an example. Tweak it so that it integrates well with your sites's colors.

Preview

{{ if .name }} {{ else }}

Add your name and click "generate HTML" to see a preview.

{{ end }}
{{ end }} `, "edit_status": `{{ define "content" }}

Edit status

{{ if .form.Error }}

{{ .form.Error }}

{{ end }} {{ template "flash" .flash }}
{{ .csrfField }} {{ template "status_form" .status }}
{{ end }}`, "forum-key": `{{ define "content" }}

Forum key

Your forum key is:

{{ .key }}
{{ end }}`, "index": `{{ define "head" }} {{ end }} {{ define "content" }}
{{ if .logged }}

Set your status

{{ if .form.Error }}

{{ .form.Error }}

{{ end }}
{{ .csrfField }} {{ template "status_form" .status }}

status updater bookmarklet
status widget for your homepage


{{ else }}

Welcome!

status.cafe is a place to share your current status.

Register now!

{{ end }}


Subscribe via Atom

Status stream

The forum has opened! Generate your key to register. Best viewed with a hot beverage.

{{ range .statuses }}
{{ template "status" . }}
{{ end }}
{{ end }} `, "login": `{{ define "content" }}

Login

{{ if .form.Error }}

{{ .form.Error }}

{{ end }}
{{ .csrfField }}
{{ end }}`, "manage": `{{ define "content" }}

Manage statuses

{{ template "flash" .flash }} {{ range .statuses }}
{{ template "status" . }} {{ if eq $.logged .User }} {{ end }}
{{ end }} {{ if or .showMore (ne 0 .page) }}

{{ if ne 0 .page }} {{ if eq 0 .prev_page }} Newer statuses {{ else }} Newer statuses {{ end }} {{ end }} {{ if .showMore }} Older statuses {{- end }}

{{ end }} {{ end }}`, "register": `{{ define "content" }}

Register

{{ if .form.Error }}

{{ .form.Error }}

{{ end }}
{{ .csrfField }}

By clicking the following button you agree to our Terms of Service.

{{ end }}`, "register-success": `{{ define "content" }}

Thank you!

Thanks for registering, {{ .name }}!

You should receive a confirmation email on {{ .email }} as soon as your account is activated.

{{ end }}`, "settings": `{{ define "content" }}

Settings

{{ if .flash }}

{{ .flash }}

{{ end }}

Manage statuses

{{ .csrfField }}
{{ end }}`, "status": ` status cafe {{ if .status.Content }} {{ template "status" .status }} {{ end }} `, "status-updater": `{{ define "content" }}

Status Updater

Instead of having to come back each time you want to set a new status, you can install the status updater bookmarklet directly to your web browser. That way, you will be able to update your status from anywhere.

Curious about what a bookmarklet is? It's simply a little javascript link that's placed on your browser's bookmark toolbar. You can think about them as tiny programs.

Instructions

Drag the following link to your bookmarks toolbar:

status updater

That's it! From now on, whenever you want to update your status, click the status updater button from your bookmarks and a pop-up window will launch to let you update it.

{{ end }}`, "tos": `{{ define "content" }}

Terms of service

In order to use Status Cafe, you must agree to the following rules. A user not respecting these rules will have their account removed and will be banned from the service. The general rule is to be nice, friendly and respectful to anyone and their status.

Racist, bigoted or otherwise hate speech is not permitted. Status Cafe is an inclusive place that will not tolerate anyone promoting hateful ideas and language.

Illegal activities such as promoting malware, phishing or publishing something that promotes content that infringes copyright, patent or trademark you do not own is not permitted.

Pornographic content is not allowed.

Spamming, including unsolicited advertising isn't allowed. While it's perfectly fine to talk about your projects and link them, using Status Cafe only as a way to drive traffic to an external site isn't allowed.

Harassing, bullying, picking on a user isn't permitted.

Revealing information (doxing) from a user isn't allowed.

{{ end }}`, "user": `{{ define "head" }} {{ end }} {{ define "title" }}{{ .user }} - {{ end }} {{ define "content" }}

{{ .user }}

{{ if .picture }} {{ end }}

Subscribe via Atom

Homepage
{{ if .homepage }} {{ .homepage }}
{{ else }} Not defined {{ end }}
Email
{{ if .email }} {{ .email }}
{{ else }} Not defined {{ end }}
About
{{ if .about }} {{ .about }} {{ else }} Not defined {{ end }}

Statuses

{{ range .statuses }}
{{ template "status" . }}
{{ end }} {{ if or .showMore (ne 0 .page) }}

{{ if ne 0 .page }} {{ if eq 0 .prev_page }} Newer statuses {{ else }} Newer statuses {{ end }} {{ end }} {{ if .showMore }} Older statuses {{- end }}

{{ end }}
{{ end }}`, }