// 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 }}

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

{{ .form.Error }}

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

{{ .flash }}

{{ end }}
{{ 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 }}
{{ template "status_form" .status }}
{{ end }}`, "index": `{{ define "content" }}
{{ if .logged }}

Set your status

{{ if .form.Error }}

{{ .form.Error }}

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

Subscribe via Atom

{{ else }}

Welcome!

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

Register now!

{{ end }}

Status stream

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

Introduction

Welcome! You've just found a little internet tool that lets you set your current status and see the status of others.

Your status

Once you've registered, you will be able to set your current status. A status is anything you are currently doing, on your mind, or that you think about. It can be your mood, the song you are listening to, the book you are reading, or the new cool link you've just found. A status has a maximum length of 140 characters and can be updated as often as you'd like.

Status updater

Use the status updater bookmarklet to update your status from anywhere, and capture all your feelings on your profile page.

Homepage widgets

Current Status Widget

Status Feed Widget

Use the current status widget to display your latest status directly on homepage, or the status feed widget to display the last few ones.

Use the status updater bookmarklet to update your status from anywhere, and capture all your feelings on your profile page, which aggregates all your statuses. You can fully customize it with CSS and HTML. Make it yours!

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

Login

{{ if .form.Error }}

{{ .form.Error }}

{{ end }}

{{ 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

Registrations are manually approved to prevent spam and keep this little cafe a cool place to hang out.

You should receive a confirmation within a few hours at the email you have provided. Make sure to enter a valid address!

{{ if .form.Error }}

{{ .form.Error }}

{{ end }}
{{ 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

{{ 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 }}`, "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 }}`, }