julen / pootle

Web-based translation and translation management tool

This URL has Read+Write access

pootle / templates / index.html
100644 54 lines (44 sloc) 2.127 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8"?>
<?python
import navbar, pootlepage
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:py="http://purl.org/kid/ns#" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta name="generator" content="HTML Tidy for Linux/x86 (vers 1st September 2004), see www.w3.org" />
 
  <title py:content="pagetitle">Pootle</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="description" content="${meta_description}" />
  <meta name="keywords" content="${', '.join(keywords)}" />
  <link rel="stylesheet" type="text/css" href="${baseurl}pootle.css" />
  <link rel="shortcut icon" href="${baseurl}favicon.ico" />
  <!--[if lt IE 7.]>
<script defer type="text/javascript" src="${baseurl}js/correctpng.js"></script>
<![endif]-->
</head>
 
<body bgcolor="#FFFFFF">
  <div id="abovefooter">
  <div py:replace="pootlepage.banner(instancetitle, links, session, uidir, uilanguage, baseurl)"/>
 
  <div id="content" dir="$uidir" lang="$uilanguage">
    <div class="contents">
      <h3 class="title" py:content="pagetitle">Pootle</h3>
 
      <div class="intro" py:content="XML(description)">
        this is a demo installation of pootle
      </div>
 
      <h3 class="title"><a href="languages/" py:content="languagelink">Languages</a></h3>
 
      <div class="item-description">
        <span py:for="l in languages" py:strip="True"><a href="${l.code}/" py:content="l.name">Language</a>${l.sep}</span>
      </div>
    </div>
 
    <div class="contents">
      <h3 class="title"><a href="projects/" py:content="projectlink">Projects</a></h3>
 
      <div class="item-description" lang="en">
        <span py:for="p in projects" py:strip="True"><a href="projects/${p.code}/" title="${p.description}" py:content="p.name">Project</a>${p.sep}</span>
      </div>
    </div>
  </div>
 
  </div>
  <div py:replace="pootlepage.user_links(links, session, uidir, uilanguage, baseurl)"/>
  <div py:replace="pootlepage.about(aboutlink, uidir, uilanguage, baseurl)"/>
</body>
</html>