"Fossies" - the Fresh Open Source Software Archive

Member "PURELIB/trac/prefs/templates/prefs.html" (27 Aug 2019, 2300 Bytes) of package /windows/misc/Trac-1.4.win32.exe:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {# Copyright (C) 2006-2014 Edgewall Software
    2 
    3   This software is licensed as described in the file COPYING, which
    4   you should have received as part of this distribution. The terms
    5   are also available at https://trac.edgewall.org/wiki/TracLicense.
    6 
    7   This software consists of voluntary contributions made by many
    8   individuals. For the exact contribution history, see the revision
    9   history and logs, available at https://trac.edgewall.org/.
   10 #}
   11 
   12 # extends 'layout.html'
   13 
   14 <!DOCTYPE html>
   15 <html>
   16   <head>
   17     <title>
   18       # block title
   19       ${_("Preferences:")}
   20       # block preftitle
   21       # endblock preftitle
   22       ${ super() }
   23       # endblock title
   24     </title>
   25 
   26   </head>
   27 
   28   <body>
   29     # block content
   30     <div id="content" class="prefs">
   31       <h1>${_("Preferences")}</h1>
   32       <p>
   33         # trans
   34 
   35         This page lets you customize your personal settings for this
   36         site.  These settings are stored on the server and are
   37         identified by a session key stored in a browser cookie. That
   38         cookie allows your settings to be restored on subsequent
   39         visits.
   40 
   41         # endtrans
   42       </p>
   43 
   44       <ul id="tabs">
   45         # for name, label in panels:
   46         <li${{'id': ('tab_%s' % name) if name,
   47               'class': 'active' if name == active_panel,
   48              }|htmlattr}>
   49           # if name == active_panel:
   50           ${label}
   51           # else:
   52           <a href="${href.prefs(name)}">${label}</a>
   53           # endif
   54         </li>
   55         # endfor
   56       </ul>
   57 
   58       <div id="tabcontent">
   59         <form id="userprefs" action="#" method="post">
   60           ${jmacros.form_token_input()}
   61 
   62           # block prefpanel
   63           # endblock prefpanel
   64 
   65           # for name, title, child in children:
   66           <div class="prefs_child">
   67             <h2 id="${name}-section">${title}</h2>
   68             ${child}
   69           </div>
   70           # endfor
   71 
   72           # if not prefpanel_has_own_submit:
   73           <div class="buttons">
   74             <input type="hidden" name="action" value="save" />
   75             <input type="submit" value="${_('Save changes')}" />
   76           </div>
   77           # endif
   78         </form>
   79       </div>
   80     </div>
   81     ${ super() }
   82     # endblock content
   83   </body>
   84 </html>