Skip to content

Commit

Permalink
make main page look nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
jrockway committed Sep 6, 2007
1 parent eacb35c commit 7ec4af2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/DoQueue/View/TD/Main.pm
Expand Up @@ -9,19 +9,24 @@ template main => sub {
wrapper {
if (c->user) {
p { "You're logged in as ". c->user->username. "." };
h2{ 'Todos' };
a { attr { href => c->uri_for('/my/queue') };
"View my queue";
};
a { attr { href => c->uri_for('/queue/add') };
"Add a todo";
};
h2 { 'API' };
a { attr { href => c->uri_for('/account/get_api_key') };
"Get an API key";
};
a { attr { href => c->uri_for('/account/invalidate_api_keys') };
"Invalidate all API keys";
};

h2 { 'Account' };
a { attr { href => c->uri_for('/logout') };
"Log out";
};
}
else {
p { "You're not logged in." };
Expand Down

0 comments on commit 7ec4af2

Please sign in to comment.