Fixed in part issue 56, the templates are in the idf subfolder.

This commit is contained in:
Loic d'Anterroches
2008-11-18 09:15:02 +01:00
parent 8e093bc7ee
commit 725ece26cd
50 changed files with 77 additions and 108 deletions

View File

@@ -1,4 +1,4 @@
{extends "base.html"}
{extends "idf/base.html"}
{block tabadmin} class="active"{/block}
{block subtabs}
<div id="sub-tabs">

View File

@@ -1,4 +1,4 @@
{extends "admin/base.html"}
{extends "idf/admin/base.html"}
{block docclass}yui-t1{assign $inDownloads = true}{/block}
{block body}
<form method="post" action=".">

View File

@@ -1,4 +1,4 @@
{extends "admin/base.html"}
{extends "idf/admin/base.html"}
{block docclass}yui-t1{assign $inIssueTracking = true}{/block}
{block body}
<form method="post" action=".">

View File

@@ -1,4 +1,4 @@
{extends "admin/base.html"}
{extends "idf/admin/base.html"}
{block docclass}yui-t3{assign $inMembers = true}{/block}
{block body}
<form method="post" action=".">

View File

@@ -1,4 +1,4 @@
{extends "admin/base.html"}
{extends "idf/admin/base.html"}
{block docclass}yui-t1{assign $inSource = true}{/block}
{block body}
{if $form.errors}

View File

@@ -1,4 +1,4 @@
{extends "admin/base.html"}
{extends "idf/admin/base.html"}
{block docclass}yui-t1{assign $inSummary = true}{/block}
{block body}
{if $form.errors}

View File

@@ -1,4 +1,4 @@
{extends "admin/base.html"}
{extends "idf/admin/base.html"}
{block docclass}yui-t1{assign $inTabs = true}{/block}
{block body}
{if $form.errors}

View File

@@ -37,10 +37,6 @@
{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}
| <a href="{url 'IDF_Views::faq'}">{trans 'Help'}</a>
</p>
{* <div id="header">
</div> *}
<h1 id="title" class="title">{block title}{$page_title}{/block}</h1>
</div>

View File

@@ -69,7 +69,7 @@
<div id="ft">{block foot}{/block}</div>
</div>
<script type="text/javascript" src="{media '/idf/js/jquery-1.2.6.min.js'}"></script>
{include 'js-hotkeys.html'}
{include 'idf/js-hotkeys.html'}
{block javascript}{/block}
{if $project}
<script type="text/javascript">{literal}

View File

@@ -1,4 +1,4 @@
{extends "base.html"}
{extends "idf/base.html"}
{block tabdownloads} class="active"{/block}
{block subtabs}
<div id="sub-tabs">

View File

@@ -1,4 +1,4 @@
{extends "downloads/base.html"}
{extends "idf/downloads/base.html"}
{block docclass}yui-t3{assign $inDownloads=true}{/block}
{block body}

View File

@@ -1,4 +1,4 @@
{extends "downloads/base.html"}
{extends "idf/downloads/base.html"}
{block docclass}yui-t1{assign $inDownloads=true}{/block}
{block body}
{$downloads.render}

View File

@@ -1,4 +1,4 @@
{extends "downloads/base.html"}
{extends "idf/downloads/base.html"}
{block docclass}yui-t3{assign $inSubmit=true}{/block}
{block body}
{if $form.errors}
@@ -56,5 +56,5 @@ name.{/blocktrans}</p>
<script type="text/javascript">
document.getElementById('id_summary').focus()
</script>
{include 'downloads/js-autocomplete.html'}{/block}
{include 'idf/downloads/js-autocomplete.html'}{/block}

View File

@@ -1,4 +1,4 @@
{extends "downloads/base.html"}
{extends "idf/downloads/base.html"}
{block docclass}yui-t3{assign $inDownloads=true}{/block}
{block body}
@@ -65,5 +65,5 @@
<script type="text/javascript">
document.getElementById('id_summary').focus()
</script>
{include 'downloads/js-autocomplete.html'}{/if}{/block}
{include 'idf/downloads/js-autocomplete.html'}{/if}{/block}

View File

@@ -1,4 +1,4 @@
{extends "base-simple.html"}
{extends "idf/base-simple.html"}
{block docclass}yui-t3{/block}
{block body}
<ul>

View File

@@ -1,4 +1,4 @@
{extends "base-simple.html"}
{extends "idf/base-simple.html"}
{block docclass}yui-t1{/block}
{block body}
{if $projects.count() == 0}

View File

@@ -1,4 +1,4 @@
{extends "base.html"}
{extends "idf/base.html"}
{block tabissues} class="active"{/block}
{block subtabs}
<div id="sub-tabs">

View File

@@ -1,4 +1,4 @@
{extends "issues/base.html"}
{extends "idf/issues/base.html"}
{block docclass}yui-t1{/block}
{block body}
{$issues.render}

View File

@@ -1,4 +1,4 @@
{extends "issues/base.html"}
{extends "idf/issues/base.html"}
{block docclass}yui-t3{assign $inCreate = true}{/block}
{block body}
{if $form.errors}
@@ -76,5 +76,5 @@
<script type="text/javascript">
document.getElementById('id_summary').focus()
</script>
{include 'issues/js-autocomplete.html'}{/block}
{include 'idf/issues/js-autocomplete.html'}{/block}

View File

@@ -1,4 +1,4 @@
{extends "issues/base.html"}
{extends "idf/issues/base.html"}
{block docclass}yui-t2{/block}
{block body}
{$issues.render}

View File

@@ -1,4 +1,4 @@
{extends "issues/base.html"}
{extends "idf/issues/base.html"}
{block docclass}yui-t2{assign $inMyIssues = true}{/block}
{block body}
{$issues.render}

View File

@@ -1,4 +1,4 @@
{extends "issues/base.html"}
{extends "idf/issues/base.html"}
{block docclass}yui-t2{/block}
{block body}
{$issues.render}

View File

@@ -1,4 +1,4 @@
{extends "issues/base.html"}
{extends "idf/issues/base.html"}
{block titleicon}{if $form}<form class="star" method="post" action="{url 'IDF_Views_Issue::star', array($project.shortname, $issue.id)}"><input type="image" src="{if $starred}{media '/idf/img/star.png'}{else}{media '/idf/img/star-grey.png'}{/if}" name="submit" /></form> {/if}{/block}
{block body}
{assign $i = 0}
@@ -122,4 +122,4 @@
</p>{/if}
</div>
{/block}
{block javascript}{if $form}{include 'issues/js-autocomplete.html'}{/if}{/block}
{block javascript}{if $form}{include 'idf/issues/js-autocomplete.html'}{/if}{/block}

View File

@@ -1,4 +1,4 @@
{extends "base-simple.html"}
{extends "idf/base-simple.html"}
{block docclass}yui-t1{/block}
{block body}
<form method="post" action="{url 'IDF_Views::login'}">
@@ -16,10 +16,6 @@
<p><input type="submit" value="{trans 'Sign in'}" />
</p>
{* <p><a href="{url 'CM_Views::passwordRecovery-1', array(), true}">{trans 'Forgot your password? Click here'}</a>.</p>
*}
</form>
<script type="text/javascript">
document.getElementById('id_login').focus()

View File

@@ -1,4 +1,4 @@
{extends "base.html"}
{extends "idf/base.html"}
{block docclass}yui-t2{/block}
{block tabhome} class="active"{/block}
{block subtabs}

View File

@@ -1,4 +1,4 @@
{extends "base.html"}
{extends "idf/base.html"}
{block docclass}yui-t2{/block}
{block tabhome} class="active"{/block}
{block subtabs}
@@ -6,34 +6,11 @@
<a href="{url 'IDF_Views_Project::home', array($project.shortname)}">{trans 'Welcome'}</a> | {trans 'Updates'}{superblock}
</div>
{/block}
{block body}
{$timeline.render}
{*
<table summary="" class="tree-list">
<thead>
<tr>
<th>{trans 'Age'}</th>
<th>{trans 'Change'}</th>
</tr>
</thead>
<tbody>
{foreach $timeline as $item}
<tr class="log">
<td>{$item.creation_dtime|dateago:"wihtout"}</td>
<td>{timeline $item, $request}</td>
</tr>
{/foreach}
</tbody>
</table>
*}
{/block}
{block context}
{if count($downloads) > 0}
<p><strong>{trans 'Featured Downloads'}</strong><br />

View File

@@ -1,4 +1,4 @@
{extends "base-simple.html"}
{extends "idf/base-simple.html"}
{block body}
{if $form.errors}
<div class="px-message-error">
@@ -61,5 +61,5 @@
{block javascript}<script type="text/javascript">
document.getElementById('id_first_name').focus()
</script>
{include 'issues/js-autocomplete.html'}{/block}
{/block}

View File

@@ -1,4 +1,4 @@
{extends "base-simple.html"}
{extends "idf/base-simple.html"}
{block body}
{if $form.errors}
<div class="px-message-error">
@@ -53,5 +53,5 @@
{block javascript}<script type="text/javascript">
document.getElementById('id_login').focus()
</script>
{include 'issues/js-autocomplete.html'}{/block}
{/block}

View File

@@ -1,4 +1,4 @@
{extends "base-simple.html"}
{extends "idf/base-simple.html"}
{block body}
{if $form.errors}
<div class="px-message-error">
@@ -36,5 +36,5 @@
{block javascript}<script type="text/javascript">
document.getElementById('id_key').focus()
</script>
{include 'issues/js-autocomplete.html'}{/block}
{/block}

View File

@@ -1,4 +1,4 @@
{extends "base.html"}
{extends "idf/base.html"}
{block tabsource} class="active"{/block}
{block subtabs}
<div id="sub-tabs">

View File

@@ -1,4 +1,4 @@
{extends "source/base.html"}
{extends "idf/source/base.html"}
{block docclass}yui-t1{assign $inChangeLog=true}{/block}
{block body}
<table summary="" class="tree-list">

View File

@@ -1,4 +1,4 @@
{extends "source/base.html"}
{extends "idf/source/base.html"}
{block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}
{block docclass}yui-t1{assign $inCommit=true}{/block}
{block body}

View File

@@ -1,4 +1,4 @@
{extends "source/base.html"}
{extends "idf/source/base.html"}
{block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
{block body}

View File

@@ -1,4 +1,4 @@
{extends "source/base.html"}
{extends "idf/source/base.html"}
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
{block body}
<h2 class="top"><a href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $commit)}">{trans 'Root'}</a><span class="sep">/</span>{if $breadcrumb}{$breadcrumb|safe}{/if}</h2>

View File

@@ -1,4 +1,4 @@
{extends "source/base.html"}
{extends "idf/source/base.html"}
{block extraheader}<link rel="stylesheet" type="text/css" href="{media '/idf/css/prettify.css'}" />{/block}
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
{block body}

View File

@@ -1,4 +1,4 @@
{extends "source/base.html"}
{extends "idf/source/base.html"}
{block docclass}yui-t1{assign $inSourceTree=true}{/block}
{block body}
<h2 class="top"><a href="{url 'IDF_Views_Source::treeBase', array($project.shortname, $commit)}">{trans 'Root'}</a><span class="sep">/</span>{if $breadcrumb}{$breadcrumb|safe}{/if}</h2>

View File

@@ -1,4 +1,4 @@
{extends "base-simple.html"}
{extends "idf/base-simple.html"}
{block body}
{if $form.errors}
<div class="px-message-error">

View File

@@ -1,4 +1,4 @@
{extends "base-simple.html"}
{extends "idf/base-simple.html"}
{block body}
<table class="form" summary="">
<tr>