2 cehtehs git web frontend
5 2007, 2008, Christian Thaeter <ct@pipapo.org>
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU Affero General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU Affero General Public License for more details.
17 You should have received a copy of the GNU Affero General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef WEBGIT_ACTIONS_H
21 #define WEBGIT_ACTIONS_H
28 Pages presented to the user and other main actions
30 #define WEBGIT_ACTIONS \
31 WEBGIT_ACTION(main, "Display a list of available repositories") \
32 WEBGIT_ACTION(summary, "Show an overview page of a repository") \
33 WEBGIT_ACTION(log, "Browse the logs") \
34 WEBGIT_ACTION(diff, "Show the diff between two objects") \
35 WEBGIT_ACTION(object, "Show an object, pretty format") \
36 WEBGIT_ACTION(raw, "Show an object, raw format") \
37 WEBGIT_ACTION(branch, "Show and manage branches") \
38 WEBGIT_ACTION(tag, "Show and manage tags") \
39 WEBGIT_ACTION(account, "Show and edit the user account configuration") \
40 WEBGIT_ACTION(config, "Show and edit the git configuration") \
41 WEBGIT_ACTION(edit, "Edit and object") \
42 WEBGIT_ACTION(commit, "Commit pending edits")
45 webgit_action_dispatch (struct webgit_query* query);
48 webgit_main_link (struct webgit_query* query, Html text);
55 // c-file-style: "gnu"
56 // indent-tabs-mode: nil