Docs GODI Archive
Projects Blog Link DB

Search GODI:


More options
File share/umlmon_web/ui/definitions.ui GODI Package apps-umlmon-web
 
   definitions.ui  
<?xml version="1.0" encoding="ISO-8859-1"?>

<!--
 - <COPYRIGHT>
 - Copyright 2005 Gerd Stolpmann
 -
 - <GPL>
 - This file is part of UMLMON-Web.
 -
 - UMLMON-Web 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.
 -
 - UMLMON-Web 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 UMLMON-Web; if not, write to the Free Software
 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 - </>
 -->

<!--  $Id: definitions.ui 121 2005-06-12 13:56:40Z gerd $
   -  ======================================================================
   - 
  -->

<!-- This file contains general definitions -->

<ui:template name="grid" 
             from-caller="main-col html-head html-foot html-foot-foot 
                          navbar-extension navbar-current">
  <!-- This template defines the grid for the start page:

       ###############################################
       #                                             #
       # main-col                                    #
       #                                             #
       #                                             #
       #                                             #
       #                                             #
       #                                             #
       #                                             #
       #                                             #
       #                                             #
       ###############################################
    -->
  <ui:default name="html-head"></ui:default>
  <ui:default name="html-foot"></ui:default>
  <ui:default name="html-foot-foot"></ui:default>
  <ui:default name="navbar-extension"></ui:default>
  <ui:default name="navbar-current"></ui:default>
  <t:wd-doctype-html401-strict/>
  <html>
    <head>
      <title>UMLMON-Web</title>
      <meta http-equiv="Content-Script-Type" content="text/javascript"/>
      <link rel="stylesheet" type="text/css" 
	    href="&static-url-prefix;definitions.css"/>
      <script type="text/javascript" 
	      src="&static-url-prefix;definitions.js"/>
      ${html-head}
    </head>
    <body>
      <ui:form>
	<h1>UMLMON-Web</h1>
	<div class="nav-bar">Sie befinden sich hier:
	  <q:grid-navbar prev="nav_prev" name="nav_name" navbar-current="${navbar-current}"/>
	  ${navbar-extension}
	</div>
         <div class="main-container">
            <div class="logo-col">
              UMLMON-Web <br/>Version $[umlmonweb_release()]<br/><br/>
              <ui:special>&lt;!-- Revision:  $[umlmonweb_revision()] --&gt;</ui:special>
              UMLMON-Web ist ein Produkt von:<br/>
              <a href="http://www.gerd-stolpmann.de">
		<img src="&static-url-prefix;images/Logo_ohne_Verlauf_60x48.png"
		     alt="Logo Informatikbüro Gerd Stolpmann"
		     title="Zum Informatikbüro Gerd Stolpmann"
                       border="0" width="60" height="48"/>
              </a><br/>
              Informatikbüro Dipl.-Inform.<br/>
              Gerd Stolpmann<br/><br/>
              UMLMON-Web ist freie Software und kann unter den Bedingungen der
              <a href="gpl.html">GPL</a> verbreitet werden.
            </div>
	   <div class="main-col">
	    ${main-col}
	   </div>
         </div>
	${html-foot}
      </ui:form>
      ${html-foot-foot}
    </body>
  </html>
</ui:template>

<ui:template name="grid-navbar" from-caller="prev name n navbar-current">
  <ui:default name="n">0</ui:default>
  <ui:ifvar variable="$prev" value="yes" op="dialog-exists">
    <q:grid-navbar prev="$prev.nav_prev" name="$prev.nav_name" n="$[add($n,1)]"
                   navbar-current="${navbar-current}"
    />
    &gt;&gt;
  </ui:ifvar>
  <ui:cond>
    <ui:if value1="$n" value2="0" op="int-gt">
      <ui:a name="nav-back" index="$n">$[var($name)]</ui:a>
    </ui:if>
    <ui:if op="eq" value1="${navbar-current}" value2="">
      <span class="nav-current">$[var($name)]</span>
    </ui:if>
    <ui:true>
      ${navbar-current}
    </ui:true>
  </ui:cond>
</ui:template>

<!-- ********************************************************************** -->

<!-- Messages -->

<ui:template name="message" from-caller="int ext body">
  <!-- int: the name of the message (if from a catalog). The prefix of the
         name determines the category of the message:
         error-*: Error
         warning-*: Warning
         confirm-*: Confirm
         All other: Message
     - ext or body: The text of the message 
  -->
  <ui:default name="int"></ui:default>
  <ui:default name="ext"></ui:default>
  <ui:default name="body"></ui:default>
  <div class="message-box">
    <div class="message-head-box">
      <div class="message-head">
	<ui:cond>
	  <ui:if value1="$int" value2="^error-" op="match">Error</ui:if>
	  <ui:if value1="$int" value2="^warning-" op="match">Warning</ui:if>
	  <ui:if value1="$int" value2="^confirm-" op="match">Confirm</ui:if>
	  <ui:true>Message</ui:true>
	</ui:cond>
      </div>
    </div>
    <div class="message">$ext$body</div>
  </div>
</ui:template>

<!-- ********************************************************************** -->

<!-- Error pages -->

<ui:template name="error" from-caller="errid followup-page">
  <!-- errid: a token identifying the error. Catalog:
       XXX
    -->
  <ui:use template="error-$errid">
    <ui:param name="followup-page">${followup-page}</ui:param>
  </ui:use>
</ui:template>


<ui:template name="error-login-not-permitted" from-caller="followup-page">
  <q:message int="error-page">
    <div><b>Login fehlgeschlagen</b></div>
    <div>
      Möglicherweise ist der Web-Zugriff gesperrt.
    </div>

    <p><ui:a name="followup" goto="${followup-page}">Weiter</ui:a></p>
  </q:message>
</ui:template>


<ui:template name="error-wrong-password" from-caller="followup-page">
  <q:message int="error-page">
    <div><b>Falsches Passwort</b></div>
    <div>
      Das Passwort stimmt nicht mit dem hinterlegten Passwort überein.
    </div>

    <p><ui:a name="followup" goto="${followup-page}">Weiter</ui:a></p>
  </q:message>
</ui:template>


<ui:template name="error-remote-error" from-caller="followup-page">
  <q:message int="error-page">
    <div><b>UMLMON-Fehler</b></div>
    <div>
      Der UMLMON-Monitor meldet folgenden Fehler:
      $[runtime-error-detail]
    </div>

    <p><ui:a name="followup" goto="${followup-page}">Weiter</ui:a></p>
  </q:message>
</ui:template>


<ui:template name="error-internal-error" from-caller="followup-page">
  <q:message int="error-page">
    <div><b>Interner Fehler</b></div>
    <div>
      Ein Fehler ist bei der Verarbeitung der Web-Anforderung aufgetreten:
      $[runtime-error-detail]
    </div>

    <p><ui:a name="followup" goto="${followup-page}">Weiter</ui:a></p>
  </q:message>
</ui:template>
 

<!-- ******************* For Emacs: ********************* -->
<!--
Local Variables:
mode: xml
sgml-parent-document: ("godi_admin.ui" "ui:application" "ui:template")
End:
-->

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml