Indefero

Indefero Git Source Tree

Root/src/IDF/templates/idf/base-full.html

1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2{*
3# ***** BEGIN LICENSE BLOCK *****
4# This file is part of InDefero, an open source project management application.
5# Copyright (C) 2008 Céondo Ltd and contributors.
6#
7# InDefero is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# InDefero 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 General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20#
21# ***** END LICENSE BLOCK *****
22*}<html lang="en">
23<head>
24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
25 <link rel="stylesheet" type="text/css" href="{media '/idf/css/yui.css'}" />
26 <link rel="stylesheet" type="text/css" href="{media '/idf/css/style.css'}" />
27 <!--[if lt IE 7]>
28 <link rel="stylesheet" type="text/css" href="{media '/idf/css/ie6.css'}" />
29 <![endif]-->
30 {block extraheader}{/block}
31 <title>{block pagetitle}{$page_title|strip_tags}{/block}{if $project} - {$project.shortdesc}{/if}</title>
32</head>
33<body>
34<div id="{block docid}doc3{/block}">
35 <div id="hd">
36{if $project}<h1 class="project-title">{$project}</h1>{/if}
37 <p class="top"><a href="#title" accesskey="2"></a>
38{if !$user.isAnonymous()}{aurl 'url', 'IDF_Views_User::myAccount'}{blocktrans}Welcome, <strong><a class="userw" href="{$url}">{$user}</a></strong>.{/blocktrans} <a href="{url 'IDF_Views::logout'}">{trans 'Sign Out'}</a>{else}<a href="{url 'IDF_Views::login'}">{trans 'Sign in or create your account'}</a>{/if}
39{if $project} | <a href="{url 'IDF_Views::index'}">{trans 'Project List'}</a>{/if}
40| <a href="{url 'IDF_Views::faq'}" title="{trans 'Help and accessibility features'}">{trans 'Help'}</a>
41 </p>
42<div id="header">
43<div id="main-tabs">
44{if $project}
45 <a accesskey="1" href="{url 'IDF_Views_Project::home', array($project.shortname)}"{block tabhome}{/block}>{trans 'Project Home'}</a>
46{if $hasDownloadsAccess} <a href="{url 'IDF_Views_Download::index', array($project.shortname)}"{block tabdownloads}{/block}>{trans 'Downloads'}</a>{/if}
47{if $hasWikiAccess} <a href="{url 'IDF_Views_Wiki::index', array($project.shortname)}"{block tabwiki}{/block}>{trans 'Documentation'}</a>{/if}
48{if $hasIssuesAccess} <a href="{url 'IDF_Views_Issue::index', array($project.shortname)}"{block tabissues}{/block}>{trans 'Issues'}</a>{/if}
49{if $hasSourceAccess} <a href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $project.getScmRoot())}"{block tabsource}{/block}>{trans 'Source'}</a>{/if}
50{if $hasReviewAccess} <a href="{url 'IDF_Views_Review::index', array($project.shortname)}"{block tabreview}{/block}>{trans 'Code Review'}</a>{/if}
51{if $isOwner}
52 <a href="{url 'IDF_Views_Project::admin', array($project.shortname)}"{block tabadmin}{/block}>{trans 'Administer'}</a>{/if}{/if}
53</div>
54{block subtabs}{if $user.isAnonymous()} | {aurl 'url', 'IDF_Views::login'}{blocktrans}<a href="{$url}">Sign in or create your account</a> to create issues or add comments{/blocktrans}{/if}{/block}
55</div>
56
57 <h1 class="title" id="title">{block titleicon}{/block}{block title}{$page_title}{/block}</h1>
58
59 </div>
60 <div id="bd">
61 <div id="yui-main">
62 <div class="yui-b">
63<div class="yui-g">
64 {if $user and $user.id}{getmsgs $user}{/if}
65 <div class="content">{block body}{/block}</div>
66</div>
67 </div>
68 </div>
69 </div>
70 <div id="ft">{block foot}{/block}</div>
71</div>
72<script type="text/javascript" src="{media '/idf/js/jquery-1.2.6.min.js'}"></script>
73{include 'idf/js-hotkeys.html'}
74{block javascript}{/block}
75{if $project}
76<script type="text/javascript">{literal}
77<!-- //
78 $(document).ready(function(){
79var frag = location.hash;
80if (frag.length > 3 && frag.substring(0, 3) == '#ic') {
81$(frag).addClass("issue-comment-focus");
82}
83});
84// -->{/literal}
85</script>{/if}
86</body>
87</html>
88

Archive Download this file