This repository has been archived on 2025-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
lwb6/legacyworlds-web-main/Content/Raw/WEB-INF/fm/en/containers/game.ftl
Emmanuel BENOîT d768766214 Main web interface update
* Added the new interface style, including the necessary pictures and page
layout template.

* Updated existing style sheet in order to accommodate the new fluid
layout and to use some more CSS3 goodness.

* Upgraded JQuery from 1.4.2 to 1.7.1.
2012-01-02 08:57:06 +01:00

88 lines
No EOL
2.8 KiB
Text

<#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" />
<script type="text/javascript" charset="utf-8" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" charset="utf-8" src="js/main.js"></script>
</head>
<body>
<!-- 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">
<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>
<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>
</div>
<#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>
</div>
<div class="button">
<a href="map" title="Map of the universe">Map</a>
</div>
<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>
</div>
</body>
</html>
</#macro>