<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
- <COPYRIGHT>
- Copyright 2003 Gerd Stolpmann
-
- <GPL>
- This file is part of WTimer.
-
- WTimer is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- WTimer is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with WDialog; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- </>
-->
<!-- $Id: admin.ui 6 2004-01-19 17:12:34Z gerd $
- ======================================================================
-
-->
<!-- This file defines the dialog "admin". -->
<!-- Better: split it up into several dialogs! -->
<ui:dialog name="admin" start-page="admin-start">
<ui:variable name="session" type="dialog"/>
<ui:page name="admin-start">
<t:basic-grid>
<p:nav-col>
<t:admin-nav current=""/>
</p:nav-col>
<p:headline>
<t:admin-head/>
</p:headline>
<p:main-col>
Select from the administration tasks listed at the left side.
</p:main-col>
</t:basic-grid>
</ui:page>
<!-- ERROR HANDLING -->
<!-- See also ocaml class error_behaviour that uses the following
definitions
-->
<ui:variable name="runtime-error"/>
<ui:page name="runtime-error">
<t:basic-grid>
<p:nav-col>
<!-- empty nav-col: this is a modal dialog -->
</p:nav-col>
<p:headline>
<t:admin-head/>
</p:headline>
<p:main-col>
<t:error errid="$[runtime-error]"/>
<ui:button name="cont-error" label="Continue"/>
</p:main-col>
</t:basic-grid>
</ui:page>
</ui:dialog>
<!-- ********************************************************************** -->
<!-- admin-nav: The navigation bar for administration -->
<ui:template name="admin-nav" from-caller="current">
<t:file-menu current="file-admin"/>
<t:task-menu current="$current"/>
</ui:template>
<ui:template name="admin-head" from-caller="suffix">
<ui:default name="suffix"></ui:default>
Admin<ui:if value1="$suffix" value2="" op="ne">: $suffix</ui:if>
<t:head-info-box/>
</ui:template>
<!-- ******************* For Emacs: ********************* -->
<!--
Local Variables:
mode: xml
sgml-parent-document: ("main.ui" "ui:application" "ui:dialog")
End:
-->