1
<html xmlns="http://www.w3.org/1999/xhtml"
2
xmlns:py="http://genshi.edgewall.org/"
3
xmlns:xi="http://www.w3.org/2001/XInclude"
5
<py:match path="head[@status!='done']" once="true">
7
<title py:with="title = list(select('title/text()'))">
8
<py:if test="title">${title} - </py:if>IVLE
11
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
13
<script py:if="not publicmode and write_javascript_settings" type="text/javascript">
14
root_dir = "${root_dir}";
15
public_host = "${public_host}";
16
svn_base = "${svn_base}";
17
username = "${login}";
20
<link py:if="favicon" rel="shortcut icon" href="${favicon}" />
22
<py:for each="style in styles">
23
<link rel="stylesheet" type="text/css" href="${style}" />
26
<py:for each="script in scripts">
27
<script type="text/javascript" src="${script}"></script>
30
<!-- Plugin JavaScript to be run on page load -->
31
<script type="text/javascript">
32
<py:for each="init_script in scripts_init">
33
$(document).ready(${init_script});
36
${select('*[local-name()!="title"]')}
39
<py:match path="body[@status!='done']" once="true">
42
<ul id="ivle_breadcrumbs">
43
<li class="breadcrumb">
45
<img src="${title_img}" alt="Informatics Virtual Learning Environment" />
48
<py:for each="ancestor in ancestry">
49
<li py:if="breadcrumb_text(ancestor)">
50
<a href="${url(ancestor)}">
51
${breadcrumb_text(ancestor)}
56
<div id="ivleheader_text">
58
<p py:when="publicmode" class="userhello">Running in public mode.</p>
59
<p py:when="logged_in" class="userhello">
60
<span id="usernick">${nick}</span>
61
(<span class="username">${login}</span>) |
62
<a href="/~${login}/+settings">Settings</a> |
64
<a py:when="defined('help_path')" href="/+help/${help_path}">Help</a>
65
<a py:otherwise="" href="/+help/">Help</a>
67
<a href="/+logout">Log out</a>
69
<p py:otherwise="" class="userhello">Not logged in.</p>
77
<div id="ivleoverlays">
78
<py:for each="overlay in overlays">