Ignore:
Timestamp:
12/05/10 23:59:38 (14 years ago)
Author:
nanardon
Message:
  • add initial page
Location:
server/trunk/web/root/templates
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/root/templates/html/index.html

    r17 r82  
    11<!-- $Id --> 
     2 
     3[% INCLUDE 'index.tt' %] 
  • server/trunk/web/root/templates/html/index.tt

    r4 r82  
    11<!-- $Id --> 
     2 
     3[% FOREACH package = c.forward('/search/bydate', [ 
     4    { 
     5    src => 1, 
     6    rows => 10, 
     7    }, 
     8    1 ]) %] 
     9 
     10<div class="sophie_package_list"> 
     11<h2><a href="[% c.uri_for('/distrib', package.distribution, package.release, 
     12    package.arch, 'by-pkgid',  package.pkgid) %]"> 
     13    [% package.filename %]</a></h2> 
     14<p> 
     15[% c.forward('/rpms/queryformat', [ package.pkgid, '%{summary}' ]) | html %] 
     16</p> 
     17<p>[% package.distribution | html %] - [% package.release | html %] - 
     18    [% package.arch | html %] / [% package.media | html %] 
     19</p> 
     20</div> 
     21[% END %] 
  • server/trunk/web/root/templates/includes/header.tt

    r71 r82  
    1919 
    2020    <div id="sophie_header"> 
     21    <a href="[% c.uri_for('/') %]"> 
    2122    <img src="[% c.uri_for('/static', 'sophie.png') -%]" style="float:left"> 
     23    </a> 
    2224    <div style="float:left"> 
    2325        <p id="sitename">Sophie</p> 
Note: See TracChangeset for help on using the changeset viewer.