2018-10-23 09:38:02 +02:00
|
|
|
<#include "../game.ftl">
|
|
|
|
<#macro page title hidePlanets=false>
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Legacy Worlds Beta 6 <@version/> - ${title?xhtml}</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/main.css" />
|
2012-01-02 08:57:06 +01:00
|
|
|
<script type="text/javascript" charset="utf-8" src="js/jquery-1.7.1.min.js"></script>
|
2018-10-23 09:38:02 +02:00
|
|
|
<script type="text/javascript" charset="utf-8" src="js/main.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2012-01-02 08:57:06 +01:00
|
|
|
<!-- Header -->
|
|
|
|
<div id="hd-top">
|
|
|
|
<div id="hd-logo">
|
|
|
|
<a href="home" title="Legacy Worlds home page"><span>Legacy Worlds Beta 6 <@version/></span></a>
|
|
|
|
</div>
|
|
|
|
<div id="hd-bar">
|
|
|
|
<div id="hd-summary">
|
2018-10-23 09:38:02 +02:00
|
|
|
<strong>${data.page.empire}</strong>
|
|
|
|
<#if data.page.alliance?has_content>
|
|
|
|
[<strong>${data.page.alliance}</strong>]
|
|
|
|
</#if><br/>
|
|
|
|
<span id="gi-cash">${data.page.cash?string(",##0")}</span> <@abbr_bgc/><br/>
|
|
|
|
<#if data.page.special?has_content>
|
|
|
|
<span class="special-info">
|
|
|
|
<#switch data.page.special>
|
|
|
|
<#case 'v'>ON VACATION<#break>
|
|
|
|
<#case 's'>ENTERING VACATION<#break>
|
|
|
|
<#case 'q'>QUITTING<#break>
|
|
|
|
</#switch>
|
|
|
|
</span>
|
|
|
|
</#if>
|
|
|
|
<br/>
|
|
|
|
<a href="account">Account</a> - <a href="logout.action">Log out</a>
|
|
|
|
</div>
|
2012-01-02 08:57:06 +01:00
|
|
|
<div id="hd-page">
|
|
|
|
<h1>${title?xhtml}</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="hd-text"><@abbr_gt/>: <@game_time record=data.page.gameTime /> / <@abbr_st/>: ${data.page.serverTime?string("yyyy-MM-dd HH:mm:ss ZZZZZ")}</div>
|
|
|
|
</div>
|
|
|
|
<div id="menu-left">
|
|
|
|
<div class="button">
|
|
|
|
<a href="planets" title="Planets">Planets</a>
|
2018-10-23 09:38:02 +02:00
|
|
|
</div>
|
2012-01-02 08:57:06 +01:00
|
|
|
<#if !hidePlanets>
|
|
|
|
<#if data.page.planets?size == 0>
|
|
|
|
<div class="button sub-menu">
|
|
|
|
<a href="get-planet">Get new planet</a>
|
|
|
|
</div>
|
|
|
|
<#else>
|
|
|
|
<#list data.page.planets as planet>
|
|
|
|
<div class="button sub-menu">
|
|
|
|
<a href="planet-${planet.id}">${planet.name?xhtml}</a>
|
|
|
|
</div>
|
|
|
|
</#list>
|
|
|
|
</#if>
|
|
|
|
</#if>
|
|
|
|
<div class="button">
|
|
|
|
<a href="fleets" title="Fleets">Fleets</a>
|
2018-10-23 09:38:02 +02:00
|
|
|
</div>
|
2012-01-02 08:57:06 +01:00
|
|
|
<div class="button">
|
|
|
|
<a href="map" title="Map of the universe">Map</a>
|
|
|
|
</div>
|
2012-04-07 13:06:03 +02:00
|
|
|
<div class="button">
|
|
|
|
<a href="research" title="Manage research priorities, implement new technologies and browse known technologies">Research</a>
|
|
|
|
</div>
|
2012-01-02 08:57:06 +01:00
|
|
|
<div class="button">
|
|
|
|
<a href="alliance" title="Alliance">Alliance</a>
|
|
|
|
</div>
|
|
|
|
<div class="button">
|
|
|
|
<a href="enemies" title="Manage enemy players and alliances">Enemy list</a>
|
|
|
|
</div>
|
|
|
|
<div class="button">
|
|
|
|
<a href="messages" title="Messages">Messages</a>
|
|
|
|
</div>
|
|
|
|
<div class="button">
|
|
|
|
<a href="bugtrack" title="Bug tracking application">Bug tracker</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="page-contents"><#nested></div>
|
|
|
|
|
|
|
|
<div id="footer">
|
|
|
|
Copyright (C) 2004-2012,
|
|
|
|
<a title="DeepClone Development" href="http://www.deepclone.com">DeepClone Development</a>
|
2018-10-23 09:38:02 +02:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</#macro>
|