/* * Copyright (c) 2019 Tracey Emery * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /* * header nav * * ***index * search * Projects * Project|Description|Owner|Last Commit * DIV (summary|shortlog|log|tree) * ***summary * repo navs | search * repo description * description * owner * last commit * URL * shortlog * Date|committer|commit description (commit|commitdiff|tree|snapshot) * heads * create date | head (shortlog|log|tree) * * * * footer */ #ifndef GOTWEB_UI_H #define GOTWEB_UI_H /* general html */ char *head = "" \ "" \ "" \ "" \ "" \ "" \ "" \ "" \ "" \ ""; char *got_link = ""; char *site_link = ""; char *site_owner = "
%s
"; char *search = ""; char *np_wrapper_start = "
" \ ""; char *nav_next = ""; char *nav_prev = "Previous"; char *description = "
Description:
" \ "
%s
"; char *repo_owner = "
Owner:
" \ "
%s
"; char *last_change = "
Last Change:
" \ "
%s
"; char *cloneurl = "
Clone URL:
" \ "
%s
"; /* index.tmpl */ char *index_projects_header = "
" \ "
Project
" \ "
Description
" \ "
Owner
" \ "
Last Change
" \ "
"; char *index_projects = "
" \ "
" \ "%s" \ "
" \ "
%s
" \ "
%s
" \ "
%s
" \ "" \ "
" \ "
"; char *index_navs = "summary | " \ "shortlog | " \ "log | " \ "tree"; /* summary.tmpl */ char *summary_wrapper = "
"; char *summary_shortlog = "
" \ "
Shortlog
" \ "
" \ "
%s
" \ "
"; char *summary_tags = "
" \ "
Tags
" \ "
" \ "
%s
" \ "
"; char *summary_heads = "
" \ "
Heads
" \ "
" \ "
%s
" \ "
"; #endif /* GOTWEB_UI_H */