trac-ticketlinks / trac / prefs / templates / prefs.html

<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns=""

  <py:match path="head" once="true"><head>
    <title>Preferences: ${select('title/text()')}</title>
    ${select("*[local-name() != 'title']")}

  <py:match path="body" once="true" buffer="true"><body>
    <div id="content" class="prefs">
      <p>This page lets you customize your personal settings for this site.
      These settings are stored on the server and are identified by a session
      key stored in a browser cookie. That cookie allows your settings to be
      restored on subsequent visits.</p>
      <ul id="tabs">
        <li py:for="name, label in sorted(panels)"
            class="${name == active_panel and 'active' or None}"
            id="${name and ('tab_%s' % name) or None}">
          <a py:strip="name == active_panel" href="${href.prefs(name)}">${label}</a>
      <div id="tabcontent" py:with="has_forms = list(select('.//form'))">
        <form id="userprefs" action="" method="post" py:strip="has_forms">
          <div class="buttons" py:if="not has_forms">
            <input type="hidden" name="action" value="save" />
            <input type="submit" value="${_('Save changes')}" />
          </div >


  <xi:include href="layout.html" />