Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed old trac templates from SVN -- not using them anymore.

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@4784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d854495f832c03ce0f688dbfe76c54619f6b55b1 1 parent 8107cea
jacob authored
Showing with 0 additions and 4,049 deletions.
  1. +0 −5 django_website/templates/trac_templates/README
  2. +0 −99 django_website/templates/trac_templates/about.cs
  3. +0 −35 django_website/templates/trac_templates/admin.cs
  4. +0 −43 django_website/templates/trac_templates/admin_akismet.cs
  5. +0 −27 django_website/templates/trac_templates/admin_basics.cs
  6. +0 −71 django_website/templates/trac_templates/admin_bayes.cs
  7. +0 −87 django_website/templates/trac_templates/admin_component.cs
  8. +0 −66 django_website/templates/trac_templates/admin_enum.cs
  9. +0 −47 django_website/templates/trac_templates/admin_log.cs
  10. +0 −111 django_website/templates/trac_templates/admin_milestone.cs
  11. +0 −52 django_website/templates/trac_templates/admin_perm.cs
  12. +0 −80 django_website/templates/trac_templates/admin_plugin.cs
  13. +0 −76 django_website/templates/trac_templates/admin_spamconfig.cs
  14. +0 −65 django_website/templates/trac_templates/admin_spamentry.cs
  15. +0 −109 django_website/templates/trac_templates/admin_spammonitor.cs
  16. +0 −87 django_website/templates/trac_templates/admin_version.cs
  17. +0 −77 django_website/templates/trac_templates/attachment.cs
  18. +0 −128 django_website/templates/trac_templates/browser.cs
  19. +0 −205 django_website/templates/trac_templates/changeset.cs
  20. +0 −54 django_website/templates/trac_templates/error.cs
  21. +0 −70 django_website/templates/trac_templates/file.cs
  22. +0 −44 django_website/templates/trac_templates/footer.cs
  23. +0 −121 django_website/templates/trac_templates/header.cs
  24. +0 −136 django_website/templates/trac_templates/log.cs
  25. +0 −25 django_website/templates/trac_templates/log_changelog.cs
  26. +0 −27 django_website/templates/trac_templates/log_rss.cs
  27. +0 −179 django_website/templates/trac_templates/macros.cs
  28. +0 −223 django_website/templates/trac_templates/milestone.cs
  29. +0 −127 django_website/templates/trac_templates/newticket.cs
  30. +0 −232 django_website/templates/trac_templates/query.cs
  31. +0 −46 django_website/templates/trac_templates/query_rss.cs
  32. +0 −247 django_website/templates/trac_templates/report.cs
  33. +0 −47 django_website/templates/trac_templates/report_rss.cs
  34. +0 −85 django_website/templates/trac_templates/roadmap.cs
  35. +0 −79 django_website/templates/trac_templates/search.cs
  36. +0 −66 django_website/templates/trac_templates/settings.cs
  37. +0 −304 django_website/templates/trac_templates/ticket.cs
  38. +0 −23 django_website/templates/trac_templates/ticket_notify_email.cs
  39. +0 −42 django_website/templates/trac_templates/ticket_rss.cs
  40. +0 −52 django_website/templates/trac_templates/timeline.cs
  41. +0 −31 django_website/templates/trac_templates/timeline_rss.cs
  42. +0 −319 django_website/templates/trac_templates/wiki.cs
View
5 django_website/templates/trac_templates/README
@@ -1,5 +0,0 @@
-This directory contains Trac's default clearsilver templates.
-
-Local modifications to these files might be lost during the installation of
-a new Trac version. This can be avoided by making a copy of this entire
-directory before beginning modifications.
View
99 django_website/templates/trac_templates/about.cs
@@ -1,99 +0,0 @@
-<?cs include "header.cs"?>
-<div id="ctxtnav" class="nav">
- <h2>About Navigation</h2>
- <ul>
- <li class="first<?cs if:!about.config_href ?> last<?cs /if ?>"><a href="<?cs
- var:trac.href.about ?>">Overview</a></li><?cs
- if:about.config_href ?>
- <li><a href="<?cs var:about.config_href ?>">Configuration</a></li><?cs
- /if ?><?cs
- if:about.plugins_href ?>
- <li class="last"><a href="<?cs var:about.plugins_href ?>">Plugins</a></li><?cs
- /if ?>
- </ul>
-</div>
-<div id="content" class="about<?cs if:about.page ?>_<?cs var:about.page ?><?cs /if ?>">
-
- <?cs if:about.page == "config"?>
- <h1>Configuration</h1>
- <table><thead><tr><th class="section">Section</th>
- <th class="name">Name</th><th class="value">Value</th></tr></thead><?cs
- each:section = about.config ?><?cs
- if:len(section.options) ?>
- <tr><th class="section" rowspan="<?cs var:len(section.options) ?>"><?cs var:section.name ?></th><?cs
- each:option = section.options ?><?cs if:name(option) != 0 ?><tr><?cs /if ?>
- <td class="name"><?cs var:option.name ?></td>
- <td class="<?cs var:option.valueclass ?>"><?cs var:option.value ?></td>
- </tr><?cs
- /each ?><?cs
- /if ?><?cs
- /each ?></table>
- <div id="help">
- See <a href="<?cs var:trac.href.wiki ?>/TracIni">TracIni</a> for information about
- the configuration.
- </div>
-
- <?cs elif:about.page == "plugins" ?>
- <h1>Plugins</h1>
- <dl id="plugins"><?cs
- each:plugin = about.plugins ?>
- <h2 id="<?cs var:plugin.module ?>.<?cs var:plugin.name ?>"><?cs var:plugin.name ?></h2>
- <table>
- <tr>
- <th class="module" scope="row">Module</th>
- <td class="module"><?cs var:plugin.module ?><br />
- <span class="path"><?cs var:plugin.path ?></span></td>
- </tr><?cs
- if:plugin.description ?><tr>
- <th class="description" scope="row">Description</th>
- <td class="description"><?cs var:plugin.description ?></td>
- </tr><?cs /if ?><?cs
- if:len(plugin.extension_points) ?><tr>
- <th class="xtnpts" rowspan="<?cs var:len(plugin.extension_points) ?>">
- Extension points:</th><?cs
- each:extension_point = plugin.extension_points ?><?cs
- if:name(extension_point) != 0 ?><tr><?cs /if ?>
- <td class="xtnpts">
- <code><?cs var:extension_point.module ?>.<?cs var:extension_point.interface ?></code><?cs
- if:len(extension_point.extensions) ?> (<?cs
- var:len(extension_point.extensions) ?> extensions)<ul><?cs
- each:extension = extension_point.extensions ?>
- <li><a href="#<?cs var:extension.module ?>.<?cs
- var:extension.name ?>"><?cs var:extension.name ?></a></li><?cs
- /each ?></ul><?cs
- /if ?>
- <div class="description"><?cs var:extension_point.description ?></div>
- </td></tr><?cs
- /each ?><?cs
- /if ?>
- </table><?cs
- /each ?>
- </dl>
-
- <?cs else ?>
- <a href="http://trac.edgewall.com" style="border: none; float: right; margin-left: 2em">
- <img style="display: block" src="<?cs var:chrome.href ?>/common/trac_banner.png"
- alt="Trac: Integrated SCM &amp; Project Management"/>
- </a>
-<h1>About Trac <?cs var:trac.version ?></h1>
-<p>
-Trac is a web-based software project management and bug/issue
-tracking system emphasizing ease of use and low ceremony.
-It provides an interface to the Subversion revision control systems, integrated Wiki and convenient report facilities.
-</p>
- <p>Trac is distributed under the modified BSD License.<br />
- The complete text of the license can be found in the COPYING file
- included in the distribution.</p>
- <p>Please visit the Trac open source project:
- <a href="http://projects.edgewall.com/trac/">http://projects.edgewall.com/trac/</a></p>
- <p>Trac is a product of <a href="http://www.edgewall.com/">Edgewall
- Software</a>, provider of professional Linux and software development
- services.</p>
- <p>Copyright &copy; 2003-2006 <a href="http://www.edgewall.com/">Edgewall
- Software</a></p>
- <a href="http://www.edgewall.com/">
- <img style="display: block; margin: 30px" src="<?cs var:chrome.href ?>/common/edgewall.png"
- alt="Edgewall Software"/></a>
- <?cs /if ?>
-</div>
-<?cs include "footer.cs"?>
View
35 django_website/templates/trac_templates/admin.cs
@@ -1,35 +0,0 @@
-<?cs include "header.cs"?>
-<?cs include "macros.cs"?>
-
-<div id="ctxtnav"></div>
-
-<div id="content" class="admin">
-
- <h1>Administration</h1>
-
- <div class="tabs"><?cs set:cur_cat_id = '' ?><ul><?cs
- each:page = admin.pages ?><?cs
- if:page.cat_id != cur_cat_id ?><?cs
- if:name(page) != 0 ?></ul></li><?cs /if ?><li<?cs
- if:page.cat_id == admin.active_cat ?> class="active"<?cs
- /if ?>><?cs var:page.cat_label ?><ul><?cs
- /if ?><?cs
- if:page.page_id == admin.active_page ?><li class="active"><?cs
- var:page.page_label ?></li><?cs
- else ?><li><a href="<?cs var:page.href ?>"><?cs
- var:page.page_label ?></a></li><?cs
- /if ?><?cs
- set:cur_cat_id = page.cat_id ?><?cs
- /each ?></ul><li/></ul></div>
-
- <div class="tabcontents">
- <?cs if:admin.page_template ?><?cs
- include admin.page_template ?><?cs
- else ?><?cs
- var:admin.page_content ?><?cs
- /if ?>
- <br style="clear: right"/>
- </div>
-</div>
-
-<?cs include "footer.cs"?>
View
43 django_website/templates/trac_templates/admin_akismet.cs
@@ -1,43 +0,0 @@
-<h2>Spam Filtering: Akismet</h2>
-
-<form class="mod" id="spamconfig" method="post">
-
- <fieldset>
- <legend>Akismet</legend>
- <p class="hint">
- The Akismet filter uses the free
- <a class="ext-link" href="http://akismet.com/">Akismet</a>
- service to content submissions are potential spam. You need to obtain an
- API key to use the service, which is freely available for personal use.
- You can enable or disable this filter from the &ldquo;<em>General &rarr;
- Plugins</em>&rdquo; panel of the web administration interface.
- </p>
- <div class="field">
- <label>API key:<br />
- <input type="text" id="api_key" name="api_key" size="24"
- value="<?cs var:admin.akismet.api_key ?>" />
- </label>
- </div>
- <div class="field">
- <label>URL:<br />
- <code>http://</code>
- <input type="text" id="api_url" name="api_url" size="40"
- value="<?cs var:admin.akismet.api_url ?>" />
- </label>
- </div>
-
- <?cs if:admin.akismet.error ?>
- <div class="system-message">
- <strong>Key validation failed:</strong> <?cs var:admin.akismet.error ?>
- </div>
- <?cs /if ?>
-
- </fieldset>
-
- <div class="buttons">
- <input type="submit" value="Apply changes" />
- <?cs if:admin.akismet.error ?>
- <input type="submit" name="Cancel" value="Revert changes" />
- <?cs /if ?>
- </div>
-</form>
View
27 django_website/templates/trac_templates/admin_basics.cs
@@ -1,27 +0,0 @@
-<h2>Basic Settings</h2>
-
-<form class="mod" id="modbasic" method="post">
- <fieldset>
- <legend>Project</legend>
- <div class="field">
- <label>Name:<br />
- <input type="text" name="name" value="<?cs var:admin.project.name ?>" />
- </label>
- </div>
- <div class="field">
- <label>URL:<br />
- <input type="text" name="url" size="48 "value="<?cs
- var:admin.project.url ?>" />
- </label>
- </div>
- <div class="field">
- <label>Description:<br />
- <textarea name="description" rows="3" cols="80"><?cs
- var:admin.project.description ?></textarea>
- </label>
- </div>
- </fieldset>
- <div class="buttons">
- <input type="submit" value="Apply changes">
- </div>
-</form>
View
71 django_website/templates/trac_templates/admin_bayes.cs
@@ -1,71 +0,0 @@
-<h2>Spam Filtering: Bayes</h2>
-
-<form class="mod" id="spamconfig" method="post">
-
- <fieldset>
- <legend>Configuration</legend>
- <p>The bayesian filter requires training before it can effectively
- differentiate between spam and ham. The training database currently
- contains <strong><?cs var:admin.bayes.nspam ?> spam</strong> and
- <strong><?cs var:admin.bayes.nham ?> ham</strong> submissions.</p>
- <div class="field">
- <label><input type="checkbox" id="reset" name="reset" <?cs
- if:!admin.bayes.nham && !admin.bayes.nspam ?> disabled="disabled"<?cs /if ?> />
- Clear training database
- </label>
- <p class="hint">
- Resetting the training database can help when training was incorrect
- and is producing bad results.
- </p>
- </div>
- <div class="field">
- <label>Minimum training required:
- <input type="text" id="min_training" name="min_training" size="3"
- value="<?cs var:admin.bayes.min_training ?>" />
- </label>
- <p class="hint">
- The minimum number of spam and ham in the training database before
- the filter starts affecting the karma of submissions.
- </p>
- </div>
- <div class="buttons">
- <input type="submit" value="Apply changes" />
- </div>
- </fieldset>
-
- <fieldset>
- <legend>Training</legend>
- <p class="hint">
- While you can train the spam filter from the &ldquo;<em>Spam
- Filtering &rarr; Monitoring</em>&rdquo; panel in the web
- administration interface, you can also manually train the filter by
- entering samples here, or check what kind of spam probabilty
- currently gets assigned to the content.
- </p>
- <div class="field">
- <label for="content">Content:</label><br />
- <textarea id="content" name="content" rows="10" cols="60">
-<?cs var:admin.bayes.content ?></textarea>
- </div>
- <?cs if:admin.bayes.content ?>
- <div class="field">
- <?cs if:admin.bayes.error ?>
- <strong>Error: <?cs var:admin.bayes.error ?></strong>
- <?cs else ?>
- <strong>Score: <?cs var:admin.bayes.score ?>%</strong>
- <?cs /if ?>
- </div>
- <?cs /if ?>
- <div class="buttons">
- <input type="submit" name="test" value="Test" <?cs
- if:!admin.bayes.nham || !admin.bayes.nspam ?> disabled="disabled"<?cs /if ?> />
- <input type="submit" name="train" value="Train as Spam" />
- <input type="submit" name="train" value="Train as Ham" />
- </div>
- </fieldset>
-
- <script type="text/javascript">
- enableControl("reset", <?cs if:admin.bayes.nspam || admin.bayes.nham ?>true<?cs else ?>false<?cs /if ?>);
- </script>
-
-</form>
View
87 django_website/templates/trac_templates/admin_component.cs
@@ -1,87 +0,0 @@
-<h2>Manage Components</h2><?cs
-
-if admin.component.name ?>
- <form class="mod" id="modcomp" method="post">
- <fieldset>
- <legend>Modify Component:</legend>
- <div class="field">
- <label>Name:<br /><input type="text" name="name" value="<?cs
- var:admin.component.name ?>"></label>
- </div>
- <div class="field">
- <label>Owner:<br /><?cs
- if:len(admin.owners) ?><?cs
- call:hdf_select(admin.owners, "owner", admin.component.owner, 0) ?><?cs
- else ?><input type="text" name="owner" value="<?cs
- var:admin.component.owner ?>" /><?cs
- /if ?></label>
- </div>
- <div class="field">
- <fieldset class="iefix">
- <label for="description">Description (you may use <a tabindex="42" href="<?cs
- var:trac.href.wiki ?>/WikiFormatting">WikiFormatting</a> here):</label>
- <p><textarea id="description" name="description" class="wikitext" rows="6" cols="60"><?cs
- var:admin.component.description ?></textarea></p>
- </fieldset>
- </div>
- <script type="text/javascript" src="<?cs
- var:chrome.href ?>/common/js/wikitoolbar.js"></script>
- <div class="buttons">
- <input type="submit" name="cancel" value="Cancel" />
- <input type="submit" name="save" value="Save" />
- </div>
- </fieldset>
- </form><?cs
-
-else ?>
- <form class="addnew" id="addcomp" method="post">
- <fieldset>
- <legend>Add Component:</legend>
- <div class="field">
- <label>Name:<br /><input type="text" name="name" /></label>
- </div>
- <div class="field">
- <label>Owner:<br /><?cs
- if:len(admin.owners) ?><?cs
- call:hdf_select(admin.owners, "owner", "", 0) ?><?cs
- else ?><input type="text" name="owner" /><?cs
- /if ?></label>
- </div>
- <div class="buttons">
- <input type="submit" name="add" value="Add">
- </div>
- </fieldset>
- </form><?cs
-
- if:len(admin.components) ?><form method="POST">
- <table class="listing" id="complist">
- <thead>
- <tr><th class="sel">&nbsp;</th><th>Name</th>
- <th>Owner</th><th>Default</th></tr>
- </thead><?cs
- each:comp = admin.components ?>
- <tr>
- <td class="sel"><input type="checkbox" name="sel" value="<?cs
- var:comp.name ?>" /></td>
- <td class="name"><a href="<?cs var:comp.href?>"><?cs
- var:comp.name ?></a></td>
- <td class="owner"><?cs var:comp.owner ?></td>
- <td class="default"><input type="radio" name="default" value="<?cs
- var:comp.name ?>"<?cs
- if:comp.is_default ?> checked="checked" <?cs /if ?>></td>
- </tr><?cs
- /each ?>
- </table>
- <div class="buttons">
- <input type="submit" name="remove" value="Remove selected items" />
- <input type="submit" name="apply" value="Apply changes" />
- </div>
- <p class="help">You can remove all items from this list to completely hide
- this field from the user interface.</p>
- </form><?cs
- else ?>
- <p class="help">As long as you don't add any items to the list, this field
- will remain completely hidden from the user interface.</p><?cs
- /if ?><?cs
-
-/if ?>
View
66 django_website/templates/trac_templates/admin_enum.cs
@@ -1,66 +0,0 @@
-<h2>Manage <?cs var:admin.enum.label_plural ?></h2><?cs
-
-if:admin.enum.name ?>
- <form class="mod" id="modenum" method="post">
- <fieldset>
- <legend>Modify <?cs var:admin.enum.label_singular ?></legend>
- <div class="field">
- <label>Name: <input type="text" name="name"value="<?cs
- var:admin.enum.name ?>" /></label>
- </div>
- <div class="buttons">
- <input type="submit" name="cancel" value="Cancel">
- <input type="submit" name="save" value="Save">
- </div>
- </fieldset>
- </form><?cs
-
-else ?>
-
- <form class="addnew" id="addenum" method="post">
- <fieldset>
- <legend>Add <?cs var:admin.enum.label_singular ?></legend>
- <div class="field">
- <label>Name:<input type="text" name="name" id="name"></label>
- </div>
- <div class="buttons">
- <input type="submit" name="add" value="Add">
- </div>
- </fieldset>
- </form><?cs
-
- if:len(admin.enums) ?><form method="POST">
- <table class="listing" id="enumlist">
- <thead>
- <tr><th class="sel">&nbsp;</th><th>Name</th>
- <th>Default</th><th>Order</th></tr>
- </thead><tbody><?cs
- each:enum = admin.enums ?>
- <tr>
- <td><input type="checkbox" name="sel" value="<?cs var:enum.name ?>" /></td>
- <td><a href="<?cs var:enum.href ?>"><?cs var:enum.name ?></a></td>
- <td class="default"><input type="radio" name="default" value="<?cs
- var:enum.name ?>"<?cs
- if:enum.is_default ?> checked="checked" <?cs /if ?> /></td>
- <td class="default"><select name="value_<?cs var:enum.value ?>"><?cs
- each:other = admin.enums ?><option<?cs
- if:other.value == enum.value ?> selected="selected"<?cs
- /if ?>><?cs var:other.value ?></option><?cs
- /each ?>
- </select></td>
- </tr><?cs
- /each ?></tbody>
- </table>
- <div class="buttons">
- <input type="submit" name="remove" value="Remove selected items" />
- <input type="submit" name="apply" value="Apply changes" />
- </div>
- <p class="help">You can remove all items from this list to completely hide
- this field from the user interface.</p>
- </form><?cs
- else ?>
- <p class="help">As long as you don't add any items to the list, this field
- will remain completely hidden from the user interface.</p><?cs
- /if ?><?cs
-
-/if ?>
View
47 django_website/templates/trac_templates/admin_log.cs
@@ -1,47 +0,0 @@
-<h2>Logging Configuration</h2>
-
-<form class="mod" id="modlog" method="post">
- <div class="field">
- <label>Type:<br />
- <select id="log_type" name="log_type"><?cs
- each:type = admin.log.types ?><option value="<?cs var:type.name ?>"<?cs
- if:type.selected ?> selected="selected"<?cs /if ?><?cs
- if:type.disabled ?> disabled="disabled"<?cs /if ?>><?cs
- var:type.label ?></option><?cs
- /each ?></select>
- </label>
- </div>
- <div class="field">
- <label>Log level:<br />
- <select id="log_level" name="log_level"><?cs
- each:level = admin.log.levels ?><option<?cs
- if:level == admin.log.level ?> selected="selected"<?cs /if?>><?cs
- var:level ?></option><?cs
- /each ?></select>
- </label>
- </div>
- <div class="field">
- <label>Log file:<br />
- <input type="text" id="log_file" name="log_file" size="48" value="<?cs
- var:admin.log.file ?>"/>
- </label>
- <p class="help">If you specify a relative path, the log file will be stored
- inside the <code>log</code> directory of the project environment (<code><?cs
- var:admin.log.dir ?></code>).</p>
- </div>
- <script type="text/javascript">
- var logType = document.getElementById("log_type");
- var enableLevelAndFile = function() {
- enableControl("log_level", log_type.selectedIndex > 0);
- enableControl("log_file",
- log_type.options[log_type.selectedIndex].value == "file");
- };
- addEvent(window, "load", enableLevelAndFile);
- addEvent(log_type, "change", enableLevelAndFile);
- </script>
- <div class="buttons">
- <input type="submit" value="Apply changes">
- </div>
- <p class="help">You may need to restart the server for these changes to take
- effect.</p>
-</form>
View
111 django_website/templates/trac_templates/admin_milestone.cs
@@ -1,111 +0,0 @@
-<h2>Manage Milestones</h2><?cs
-
-if:admin.milestone.name ?>
- <form class="mod" id="modmil" method="post">
- <fieldset>
- <legend>Modify Milestone:</legend>
- <div class="field">
- <label>Name:<br /> <input type="text" name="name"value="<?cs
- var:admin.milestone.name ?>" /></label>
- </div>
- <div class="field">
- <label>Due:<br />
- <input type="text" id="duedate" name="duedate" size="<?cs
- var:len(admin.date_hint) ?>" value="<?cs
- var:admin.milestone.duedate ?>" title="Format: <?cs var:admin.date_hint ?>" />
- <em>Format: <?cs var:admin.date_hint ?></em>
- </label>
- </div>
- <div class="field">
- <label>
- <input type="checkbox" id="completed" name="completed"<?cs
- if:admin.milestone.completed ?> checked="checked"<?cs /if ?> />
- Completed:<br />
- </label>
- <label>
- <input type="text" id="completeddate" name="completeddate" size="<?cs
- var:len(admin.date_hint) ?>" value="<?cs
- alt:admin.milestone.completed_date ?><?cs
- var:admin.datetime_now ?><?cs
- /alt ?>" title="Format: <?cs
- var:admin.datetime_hint ?>" />
- <em>Format: <?cs var:admin.datetime_hint ?></em>
- </label>
- <script type="text/javascript">
- var completed = document.getElementById("completed");
- var enableCompletedDate = function() {
- enableControl("completeddate", completed.checked);
- };
- addEvent(window, "load", enableCompletedDate);
- addEvent(completed, "click", enableCompletedDate);
- </script>
- </div>
- <div class="field">
- <fieldset class="iefix">
- <label for="description">Description (you may use <a tabindex="42" href="<?cs
- var:trac.href.wiki ?>/WikiFormatting">WikiFormatting</a> here):</label>
- <p><textarea id="description" name="description" class="wikitext" rows="6" cols="60"><?cs
- var:admin.milestone.description ?></textarea></p>
- </fieldset>
- </div>
- <script type="text/javascript" src="<?cs
- var:chrome.href ?>/common/js/wikitoolbar.js"></script>
- <div class="buttons">
- <input type="submit" name="cancel" value="Cancel">
- <input type="submit" name="save" value="Save">
- </div>
- </fieldset>
- </form><?cs
-
-else ?>
-
- <form class="addnew" id="addmil" method="post">
- <fieldset>
- <legend>Add Milestone:</legend>
- <div class="field">
- <label>Name:<br /><input type="text" name="name" id="name" /></label>
- </div>
- <div class="field">
- <label>
- Due:<br />
- <input type="text" name="duedate"
- title="Format: <?cs var:admin.date_hint ?>" /><br />
- <em>Format: <?cs var:admin.date_hint ?></em>
- </label>
- </div>
- <div class="buttons">
- <input type="submit" name="add" value="Add" />
- </div>
- </fieldset>
- </form><?cs
-
- if:len(admin.milestones) ?><form method="POST">
- <table class="listing" id="millist">
- <thead>
- <tr><th class="sel">&nbsp;</th><th>Name</th>
- <th>Time</th><th>Default</th></tr>
- </thead><tbody><?cs
- each:milestone = admin.milestones ?>
- <tr>
- <td><input type="checkbox" name="sel" value="<?cs var:milestone.name ?>" /></td>
- <td><a href="<?cs var:milestone.href ?>"><?cs var:milestone.name ?></a></td>
- <td><?cs var:milestone.duedate ?></td>
- <td class="default"><input type="radio" name="default" value="<?cs
- var:milestone.name ?>"<?cs
- if:milestone.is_default ?> checked="checked" <?cs /if ?>></td>
- </tr><?cs
- /each ?></tbody>
- </table>
- <div class="buttons">
- <input type="submit" name="remove" value="Remove selected items" />
- <input type="submit" name="apply" value="Apply changes" />
- </div>
- <p class="help">You can remove all items from this list to completely hide
- this field from the user interface.</p>
- </form><?cs
- else ?>
- <p class="help">As long as you don't add any items to the list, this field
- will remain completely hidden from the user interface.</p><?cs
- /if ?><?cs
-
-/if ?>
View
52 django_website/templates/trac_templates/admin_perm.cs
@@ -1,52 +0,0 @@
-<h2>Manage Permissions</h2>
-
-<form id="addperm" class="addnew" method="post">
- <fieldset>
- <legend>Grant Permission:</legend>
- <div class="field">
- <label>Subject: <input type="text" name="subject" /></label>
- </div>
- <div class="field">
- <label>Action: <?cs call:hdf_select(admin.actions, "action", "", 0) ?></label>
- </div>
- <p class="help">Grant permission for an action to a subject, which can be
- either a user or a group.</p>
- <div class="buttons">
- <input type="submit" name="add" value=" Add ">
- </div>
- </fieldset>
-</form>
-
-<form id="addsubj" class="addnew" method="post">
- <fieldset>
- <legend>Add Subject to Group:</legend>
- <div class="field">
- <label>Subject: <input type="text" name="subject" /></label>
- </div>
- <div class="field">
- <label>Group: <input type="text" name="group" /></label>
- </div>
- <p class="help">Add a user or group to an existing permission group.</p>
- <div class="buttons">
- <input type="submit" name="add" value=" Add ">
- </div>
- </fieldset>
-</form>
-
-<form method="post">
- <table class="listing" id="permlist">
- <thead>
- <tr><th class="sel">&nbsp;</th><th>Subject</th><th>Action</th></tr>
- </thead><tbody><?cs
- each:perm = admin.perms ?>
- <tr>
- <td><input type="checkbox" name="sel" value="<?cs var:perm.key ?>" /></td>
- <td><?cs var:perm.subject ?></td>
- <td><?cs var:perm.action ?></td>
- </tr><?cs
- /each ?></tbody>
- </table>
- <div class="buttons">
- <input type="submit" name="remove" value="Remove selected items" />
- </div>
-</form>
View
80 django_website/templates/trac_templates/admin_plugin.cs
@@ -1,80 +0,0 @@
-<h2>Manage Plugins</h2>
-
-<form id="addplug" class="addnew" method="post" enctype="multipart/form-data">
- <fieldset>
- <legend>Install Plugin:</legend>
- <div class="field">
- <label>File: <input type="file" name="egg_file"<?cs
- if:admin.readonly ?> disabled="disabled"<?cs /if ?> /></label>
- </div>
- <p class="help"><?cs
- if:admin.readonly ?>The web server does not have sufficient permissions to
- store files in the environment plugins directory.<?cs
- else ?>
- Upload a plugin packaged as Python egg.<?cs
- /if ?></p>
- <div class="buttons">
- <input type="submit" name="install" value="Install"<?cs
- if:admin.readonly ?> disabled="disabled"<?cs /if ?> />
- </div>
- </fieldset>
-</form>
-
-<script type="text/javascript" src="<?cs
- var:chrome.href ?>/admin/js/admin.js"></script><?cs
- each:plugin = admin.plugins ?><form method="post"><div class="plugin">
- <h3 id="no<?cs var:name(plugin) ?>"><?cs
- var:plugin.name ?> <?cs var:plugin.version ?></h3>
- <div class="uninstall buttons">
- <input type="hidden" name="plugin_filename" value="<?cs
- var:plugin.plugin_filename ?>" />
- <input type="submit" name="uninstall" value="Uninstall"<?cs
- if:plugin.readonly ?> disabled="disabled"<?cs /if ?> />
- </div>
- <p class="summary"><?cs var:plugin.info.summary ?></p><?cs
- if:plugin.info.home_page || plugin.info.author || plugin.info.author_email ?>
- <dl class="info"><?cs
- if:plugin.info.author || plugin.info.author_email ?>
- <dt>Author:</dt>
- <dd><?cs
- if:plugin.info.author_email ?><a href="mailto:<?cs
- var:plugin.info.author_email ?>"><?cs alt:plugin.info.author ?><?cs
- var:plugin.info.author_email ?><?cs /alt ?></a><?cs
- else ?><?cs var:plugin.info.author ?><?cs
- /if ?></dd><?cs
- /if ?><?cs
- if:plugin.info.home_page ?>
- <dt>Home page:</dt>
- <dd><a onclick="window.open(this.href); return false" href="<?cs
- var:plugin.info.home_page ?>"><?cs var:plugin.info.home_page ?></a></dt><?cs
- /if ?><?cs
- if:plugin.info.license ?>
- <dt>License:</dt>
- <dd><?cs var:plugin.info.license ?></dd><?cs
- /if ?>
- </dl><?cs
- /if ?><table class="listing"><thead>
- <tr><th>Component</th><th class="sel">Enabled</th></tr>
- </thead><tbody><?cs
- each:component = plugin.components ?><tr>
- <td class="name" title="<?cs var:component.description ?>"><?cs
- var:component.name ?><p class="module"><?cs var:component.module ?></p></td>
- <td class="sel"><?cs
- if:!component.required ?><input type="hidden" name="component" value="<?cs
- var:component.module ?>.<?cs var:component.name ?>" /><?cs
- /if ?><input type="checkbox" name="enable" value="<?cs
- var:component.module ?>.<?cs var:component.name ?>"<?cs
- if:component.enabled ?> checked="checked"<?cs
- /if ?><?cs
- if:component.required ?> disabled="disabled"<?cs
- /if ?> /></td>
- </tr><?cs
- /each ?></tbody>
- </table>
- <div class="update buttons">
- <input type="hidden" name="plugin" value="<?cs var:name(plugin) ?>" />
- <input type="submit" name="update" value="Apply changes" />
- </div></div><script type="text/javascript">
- enableFolding("no<?cs var:name(plugin) ?>");
- </script></form><?cs
- /each ?>
View
76 django_website/templates/trac_templates/admin_spamconfig.cs
@@ -1,76 +0,0 @@
-<h2>Spam Filtering: Configuration</h2>
-
-<form class="mod" id="spamconfig" method="post">
-
- <fieldset id="karmatuning">
- <legend>Karma Tuning</legend>
- <div class="field">
- <label>
- Minimum karma required for a successful submission:
- <input type="text" id="min_karma" name="min_karma" size="3"
- value="<?cs var:admin.spamfilter.min_karma ?>" />
- </label>
- </div>
- <p class="hint">
- Content submissions are passed through a set of registered and enabled
- <em>filter strategies</em>, each of which check the submitted content
- and may assign <em>karma points</em> to it. The sum of these karma
- points needs to be greater than or equal to the minimum karma
- configured here for the submission to be accepted.
- </p>
- <table class="listing" id="karmapoints">
- <thead><tr>
- <th>Strategy</th>
- <th>Karma points</th>
- <th>Description</th>
- </tr></thead>
- <?cs each:strategy = admin.spamfilter.strategies ?><tr>
- <th><?cs var:strategy.name ?></th>
- <td>
- <input type="text" name="<?cs var:strategy.name ?>_karmapoints"
- value="<?cs var:strategy.karma_points ?>" size="3" />
- </td>
- <td><p class="hint"><?cs var:strategy.karma_help ?></p></td>
- </tr><?cs /each ?>
- </table>
- </fieldset>
-
- <fieldset id="logging">
- <legend>Logging</legend>
- <div class="field">
- <label>
- <input type="checkbox" id="logging_enabled" name="logging_enabled" <?cs
- if:admin.spamfilter.logging_enabled ?> checked="checked"<?cs /if ?> />
- Enable
- </label>
- </div>
- <p class="hint">
- The spam filter plugin can optionally log every content submission so
- that you can monitor and tune the effectiveness of the filtering. The
- log is stored in the database, and can be viewed under &ldquo;<em>Spam
- Filtering &rarr; Monitoring</em>&rdquo; from the web administration
- interface.
- </p>
- <div class="field">
- <label>
- Purge old entries after
- <input type="text" id="purge_age" name="purge_age" size="3"
- value="<?cs var:admin.spamfilter.purge_age ?>" />
- days
- </label>
- </div>
- </fieldset>
-
- <div class="buttons">
- <input type="submit" value="Apply changes"/>
- </div>
-</form>
-
-<script type="text/javascript">
- var loggingEnabled = document.getElementById("logging_enabled");
- function updateLoggingEnabled() {
- enableControl("purge_age", loggingEnabled.checked);
- }
- addEvent(window, 'load', updateLoggingEnabled);
- addEvent(loggingEnabled, 'click', updateLoggingEnabled);
-</script>
View
65 django_website/templates/trac_templates/admin_spamentry.cs
@@ -1,65 +0,0 @@
-<div class="nav"><?cs
- with:links = chrome.links ?><ul><?cs
- if:len(links.prev) ?>
- <li class="first<?cs if:!len(links.up) && !len(links.next) ?> last<?cs /if ?>">
- &larr; <a href="<?cs var:links.prev.0.href ?>">Previous Log Entry</a>
- </li><?cs
- /if ?><li class="up">
- <a href="<?cs var:links.up.0.href ?>">Back to List</a>
- </li><?cs
- if:len(links.next) ?>
- <li class="<?cs if:!len(links.prev) && !len(links.up) ?>first <?cs /if ?>last">
- <a href="<?cs var:links.next.0.href ?>">Next Log Entry</a> &rarr;
- </li><?cs
- /if ?></ul><?cs
- /with ?>
-</div>
-<h2>Spam Filtering: Monitoring</h2>
-
-<?cs with:entry = admin.spamfilter.entry ?>
-<form class="mod" id="spamentry" method="post">
- <fieldset>
- <legend>Log Entry:</legend>
- <h3>Information</h3>
- <table class="meta"><tr>
- <th>Time:</th>
- <td><?cs var:entry.time ?> (<?cs var:entry.timedelta ?> ago)</td>
- </tr><tr>
- <th>Path:</th>
- <td><a href="<?cs var:entry.href ?>"><?cs var:entry.url ?></a></td>
- </tr><tr>
- <th>Author:</th>
- <td><?cs var:entry.author ?></td>
- </tr><tr>
- <th>Authenticated:</th>
- <td><?cs if:entry.authenticated ?>yes<?cs else ?>no<?cs /if ?></td>
- </tr><tr>
- <th>IP address:</th>
- <td><?cs var:entry.ipnr ?></td>
- </tr><tr>
- <th>Karma:</th>
- <td>
- <strong><?cs var:entry.karma ?></strong>
- (marked as <?cs if:entry.rejected ?>spam<?cs else ?>ham<?cs /if ?>)
- <ul><?cs each:reason = entry.reasons ?>
- <li><?cs var:reason ?></li>
- <?cs /each ?></ul>
- </td>
- </tr></table>
- <div class="content">
- <h3>Submitted content</h3>
- <pre><?cs var:entry.full_content ?></pre>
- </div>
- <div class="headers">
- <h3>HTTP headers</h3>
- <pre><?cs var:entry.headers ?></pre>
- </div>
- <div class="buttons">
- <input type="hidden" name="sel" value="<?cs var:entry.id ?>" />
- <input type="submit" name="markspam" value="Mark as Spam" />
- <input type="submit" name="markham" value="Mark as Ham" />
- <input type="submit" name="delete" value="Delete" />
- </div>
- </fieldset>
-</form>
-<?cs /with ?>
View
109 django_website/templates/trac_templates/admin_spammonitor.cs
@@ -1,109 +0,0 @@
-<h2>Spam Filtering: Logs</h2>
-
-<form method="post">
-
- <?cs if:!admin.spamfilter.enabled ?><p>
- <strong>Note:</strong> Logging by the spam filter is currently disabled.
- </p><?cs /if ?>
-
- <p class="hint">
- Viewing entries <?cs var:admin.spamfilter.offset ?>–<?cs
- var:admin.spamfilter.offset + len(admin.spamfilter.entries) - 1 ?> of
- <?cs var:admin.spamfilter.total ?>.
- </p>
- <div class="nav"><?cs
- with:links = chrome.links ?><?cs
- if:len(links.prev) || len(links.next) ?><ul><?cs
- if:len(links.prev) ?>
- <li class="first<?cs if:!len(links.up) && !len(links.next) ?> last<?cs /if ?>">
- &larr; <a href="<?cs var:links.prev.0.href ?>"><?cs
- var:links.prev.0.title ?></a>
- </li><?cs
- /if ?><?cs
- if:len(links.next) ?>
- <li class="<?cs if:!len(links.prev) && !len(links.up) ?>first <?cs /if ?>last">
- <a href="<?cs var:links.next.0.href ?>"><?cs
- var:links.next.0.title ?></a> &rarr;
- </li><?cs
- /if ?></ul><?cs
- /if ?><?cs
- /with ?>
- </div>
-
- <table class="listing" id="spammonitor">
- <thead>
- <tr>
- <th class="sel">&nbsp;</th>
- <th>Author</th>
- <th>Path</th>
- <th>Karma</th>
- <th>IP Address</th>
- <th>Date/time</th>
- </tr>
- </thead>
- <tbody>
- <?cs each:entry = admin.spamfilter.entries ?>
- <tr class="<?cs if:name(entry) % 2 ?>odd<?cs else ?>even<?cs /if ?><?cs
- if:entry.rejected ?> rejected<?cs /if ?>">
- <td rowspan="2">
- <input type="checkbox" name="sel" value="<?cs var:entry.id ?>" />
- </td>
- <td class="author"<?cs
- if:entry.author != entry.author_clipped ?> title="<?cs var:entry.author ?>"<?cs
- /if ?>>
- <a href="<?cs var:entry.admin_href ?>"><img src="<?cs var:chrome.href ?>/spamfilter/<?cs
- if:entry.authenticated ?>yes<?cs else ?>no<?cs /if ?>.gif" alt="<?cs
- if:entry.authenticated ?>yes<?cs else ?>no<?cs /if ?>" title="User was<?cs
- if:!entry.authenticated ?> not<?cs /if ?> logged in"/>&nbsp;<?cs
- alt:entry.author_clipped ?>anonymous<?cs /alt ?></a>
- </td>
- <td class="path"<?cs
- if:entry.path != entry.path_clipped ?> title="<?cs var:entry.path ?>"<?cs
- /if ?>>
- <a href="<?cs var:entry.admin_href ?>"><?cs var:entry.path_clipped ?></a>
- </td>
- <td class="karma"><?cs var:entry.karma ?></td>
- <td class="ipnr"><?cs var:entry.ipnr ?></td>
- <td class="time"><?cs var:entry.time ?></td>
- </tr>
- <tr class="<?cs if:name(entry) % 2 ?>odd<?cs else ?>even<?cs /if ?>">
- <td class="details" colspan="5">
- <?cs if:len(entry.reasons) ?>
- <ul><?cs each:reason = entry.reasons ?>
- <li><?cs var:reason ?></li>
- <?cs /each ?></ul>
- <?cs /if ?>
- <blockquote><?cs var:entry.content ?></blockquote>
- </td>
- </tr>
- <?cs /each ?>
- </tbody>
- </table>
-
- <div class="nav"><?cs
- with:links = chrome.links ?><?cs
- if:len(links.prev) || len(links.next) ?><ul><?cs
- if:len(links.prev) ?>
- <li class="first<?cs if:!len(links.up) && !len(links.next) ?> last<?cs /if ?>">
- &larr; <a href="<?cs var:links.prev.0.href ?>"><?cs
- var:links.prev.0.title ?></a>
- </li><?cs
- /if ?><?cs
- if:len(links.next) ?>
- <li class="<?cs if:!len(links.prev) && !len(links.up) ?>first <?cs /if ?>last">
- <a href="<?cs var:links.next.0.href ?>"><?cs
- var:links.next.0.title ?></a> &rarr;
- </li><?cs
- /if ?></ul><?cs
- /if ?><?cs
- /with ?>
- </div>
-
- <div class="buttons">
- <input type="hidden" name="page" value="<?cs var:admin.spamfilter.page ?>" />
- <input type="submit" name="markspam" value="Mark selected as Spam" />
- <input type="submit" name="markham" value="Mark selected as Ham" />
- <input type="submit" name="delete" value="Deleted selected" />
- </div>
-
-</form>
View
87 django_website/templates/trac_templates/admin_version.cs
@@ -1,87 +0,0 @@
-<h2>Manage Versions</h2><?cs
-
-if:admin.version.name ?>
- <form class="mod" id="modver" method="post">
- <fieldset>
- <legend>Modify Version:</legend>
- <div class="field">
- <label>Name:<br /> <input type="text" name="name"value="<?cs
- var:admin.version.name ?>" /></label>
- </div>
- <div class="field">
- <label>Time:<br />
- <input type="text" name="time" size="<?cs
- var:len(admin.date_hint) ?>" value="<?cs
- var:admin.version.time ?>" title="Format: <?cs var:admin.date_hint ?>" />
- <em>Format: <?cs var:admin.date_hint ?></em>
- </label>
- </div>
- <div class="field">
- <fieldset class="iefix">
- <label for="description">Description (you may use <a tabindex="42" href="<?cs
- var:trac.href.wiki ?>/WikiFormatting">WikiFormatting</a> here):</label>
- <p><textarea id="description" name="description" class="wikitext" rows="6" cols="60"><?cs
- var:admin.version.description ?></textarea></p>
- </fieldset>
- </div>
- <script type="text/javascript" src="<?cs
- var:chrome.href ?>/common/js/wikitoolbar.js"></script>
- <div class="buttons">
- <input type="submit" name="cancel" value="Cancel">
- <input type="submit" name="save" value="Save">
- </div>
- </fieldset>
- </form><?cs
-
-else ?>
-
- <form class="addnew" id="addver" method="post">
- <fieldset>
- <legend>Add Version:</legend>
- <div class="field">
- <label>Name:<br /><input type="text" name="name" id="name" /></label>
- </div>
- <div class="field">
- <label>
- Time:<br />
- <input type="text" name="time"
- title="Format: <?cs var:admin.date_hint ?>" /><br />
- <em>Format: <?cs var:admin.date_hint ?></em>
- </label>
- </div>
- <div class="buttons">
- <input type="submit" name="add" value="Add" />
- </div>
- </fieldset>
- </form><?cs
-
- if:len(admin.versions) ?><form method="POST">
- <table class="listing" id="verlist">
- <thead>
- <tr><th class="sel">&nbsp;</th><th>Name</th>
- <th>Time</th><th>Default</th></tr>
- </thead><tbody><?cs
- each:ver = admin.versions ?>
- <tr>
- <td><input type="checkbox" name="sel" value="<?cs var:ver.name ?>" /></td>
- <td><a href="<?cs var:ver.href ?>"><?cs var:ver.name ?></a></td>
- <td><?cs var:ver.time ?></td>
- <td class="default"><input type="radio" name="default" value="<?cs
- var:ver.name ?>"<?cs
- if:ver.is_default ?> checked="checked" <?cs /if ?>></td>
- </tr><?cs
- /each ?></tbody>
- </table>
- <div class="buttons">
- <input type="submit" name="remove" value="Remove selected items" />
- <input type="submit" name="apply" value="Apply changes" />
- </div>
- <p class="help">You can remove all items from this list to completely hide
- this field from the user interface.</p>
- </form><?cs
- else ?>
- <p class="help">As long as you don't add any items to the list, this field
- will remain completely hidden from the user interface.</p><?cs
- /if ?><?cs
-
-/if ?>
View
77 django_website/templates/trac_templates/attachment.cs
@@ -1,77 +0,0 @@
-<?cs set:html.stylesheet = 'css/diff.css' ?>
-<?cs include "header.cs" ?>
-<?cs include "macros.cs" ?>
-
-<div id="ctxtnav" class="nav"><ul><li class="last"><a href="?format=txt">View as plain text</a></li></ul></div>
-
-<div id="content" class="attachment">
-
-<?cs if:attachment.mode == 'new' ?>
- <h1>Add Attachment to <a href="<?cs var:attachment.parent.href?>"><?cs
- var:attachment.parent.name ?></a></h1>
- <form id="attachment" method="post" enctype="multipart/form-data" action="">
- <div class="field">
- <label>File:<br /><input type="file" name="attachment" /></label>
- </div>
- <fieldset>
- <legend>Attachment Info</legend>
- <div class="field">
- <label>Your email or username:<br />
- <input type="text" name="author" size="30" value="<?cs
- var:attachment.author?>" /></label>
- </div>
- <div class="field">
- <label>Description of the file (optional):<br />
- <input type="text" name="description" size="60" /></label
- </div>
- <div class="options">
- <label><input type="checkbox" name="replace" checked="checked" />
- Replace existing attachment of the same name</label>
- </div>
- <br />
- </fieldset>
- <p><strong>Please help us keep track of patches:</strong> If your attachment is a patch that fixes this ticket, please change the ticket's 'Summary' to begin with the exact text "[patch]". That will add the ticket to the <a href="http://code.djangoproject.com/report/12">Tickets with patches report</a>, which will speed up the acceptance of your contribution.</p>
- <div class="buttons">
- <input type="hidden" name="action" value="new" />
- <input type="hidden" name="type" value="<?cs var:attachment.parent.type ?>" />
- <input type="hidden" name="id" value="<?cs var:attachment.parent.id ?>" />
- <input type="submit" value="Add attachment" />
- <input type="submit" name="cancel" value="Cancel" />
- </div>
- </form>
-<?cs elif:attachment.mode == 'delete' ?>
- <h1><a href="<?cs var:attachment.parent.href ?>"><?cs
- var:attachment.parent.name ?></a>: <?cs var:attachment.filename ?></h1>
- <p><strong>Are you sure you want to delete this attachment?</strong><br />
- This is an irreversible operation.</p>
- <div class="buttons">
- <form method="post" action=""><div id="delete">
- <input type="hidden" name="action" value="delete" />
- <input type="submit" name="cancel" value="Cancel" />
- <input type="submit" value="Delete attachment" />
- </div></form>
- </div><?cs else ?>
- <h1><a href="<?cs var:attachment.parent.href ?>"><?cs
- var:attachment.parent.name ?></a>: <?cs var:attachment.filename ?></h1>
- <div id="preview"><?cs
- if:attachment.preview ?>
- <?cs var:attachment.preview ?><?cs
- elif:attachment.max_file_size_reached ?>
- <strong>HTML preview not available</strong>, since file-size exceeds
- <?cs var:attachment.max_file_size ?> bytes. You may <a href="<?cs
- var:attachment.raw_href ?>">download the file</a> instead.<?cs
- else ?>
- <strong>HTML preview not available</strong>. To view the file,
- <a href="<?cs var:attachment.raw_href ?>">download the file</a>.<?cs
- /if ?>
- </div>
- <?cs if:attachment.can_delete ?><div class="buttons">
- <form method="get" action=""><div id="delete">
- <input type="hidden" name="action" value="delete" />
- <input type="submit" value="Delete attachment" />
- </div></form>
- </div><?cs /if ?>
-<?cs /if ?>
-
-</div>
-<?cs include "footer.cs"?>
View
128 django_website/templates/trac_templates/browser.cs
@@ -1,128 +0,0 @@
-<?cs include "header.cs"?>
-<?cs include "macros.cs"?>
-
-<div id="ctxtnav" class="nav">
- <ul>
- <li class="first"><a href="<?cs var:browser.restr_changeset_href ?>">
- Last Change</a></li>
- <li class="last"><a href="<?cs var:browser.log_href ?>">
- Revision Log</a></li>
- </ul>
-</div>
-
-
-<div id="searchable">
-<div id="content" class="browser">
- <h1><?cs call:browser_path_links(browser.path, browser) ?></h1>
-
- <div id="jumprev">
- <form action="" method="get">
- <div>
- <label for="rev">View revision:</label>
- <input type="text" id="rev" name="rev" value="<?cs
- var:browser.revision ?>" size="4" />
- </div>
- </form>
- </div>
-
- <?cs if:browser.is_dir ?>
- <table class="listing" id="dirlist">
- <thead>
- <tr><?cs
- call:sortable_th(browser.order, browser.desc, 'name', 'Name', browser.order_href) ?><?cs
- call:sortable_th(browser.order, browser.desc, 'size', 'Size', browser.order_href) ?>
- <th class="rev">Rev</th><?cs
- call:sortable_th(browser.order, browser.desc, 'date', 'Age', browser.order_href) ?>
- <th class="change">Last Change</th>
- </tr>
- </thead>
- <tbody>
- <?cs if:len(chrome.links.up) ?>
- <tr class="even">
- <td class="name" colspan="5">
- <a class="parent" title="Parent Directory" href="<?cs
- var:chrome.links.up.0.href ?>">../</a>
- </td>
- </tr>
- <?cs /if ?>
- <?cs each:item = browser.items ?>
- <?cs set:change = browser.changes[item.rev] ?>
- <tr class="<?cs if:name(item) % #2 ?>even<?cs else ?>odd<?cs /if ?>">
- <td class="name"><?cs
- if:item.is_dir ?>
- <a class="dir" title="Browse Directory" href="<?cs
- var:item.browser_href ?>"><?cs var:item.name ?></a><?cs
- else ?>
- <a class="file" title="View File" href="<?cs
- var:item.browser_href ?>"><?cs var:item.name ?></a><?cs
- /if ?>
- </td>
- <td class="size"><?cs var:item.size ?></td>
- <td class="rev"><?cs if:item.permission != '' ?><a title="View Revision Log" href="<?cs
- var:item.log_href ?>"><?cs var:item.rev ?></a><?cs else ?><?cs var:item.rev ?><?cs /if ?></td>
- <td class="age"><span title="<?cs var:browser.changes[item.rev].date ?>"><?cs
- var:browser.changes[item.rev].age ?></span></td>
- <td class="change">
- <span class="author"><?cs var:browser.changes[item.rev].author ?>:</span>
- <span class="change"><?cs var:browser.changes[item.rev].message ?></span>
- </td>
- </tr>
- <?cs /each ?>
- </tbody>
- </table><?cs
- /if ?><?cs
-
- if:len(browser.props) || !browser.is_dir ?>
- <table id="info" summary="Revision info"><?cs
- if:!browser.is_dir ?><tr>
- <th scope="col">
- Revision <a href="<?cs var:file.changeset_href ?>"><?cs var:file.rev ?></a>, <?cs var:file.size ?>
- (checked in by <?cs var:file.author ?>, <?cs var:file.age ?> ago)
- </th></tr><tr>
- <td class="message"><?cs var:file.message ?></td>
- </tr><?cs /if ?><?cs
- if:len(browser.props) ?><tr>
- <td colspan="2"><ul class="props"><?cs
- each:prop = browser.props ?>
- <li>Property <strong><?cs var:prop.name ?></strong> set to <em><code><?cs
- var:prop.value ?></code></em></li><?cs
- /each ?>
- </ul></td></tr><?cs
- /if ?>
- </table><?cs
- /if ?><?cs
-
- if:!browser.is_dir ?>
- <div id="preview"><?cs
- if:file.preview ?><?cs
- var:file.preview ?><?cs
- elif:file.max_file_size_reached ?>
- <strong>HTML preview not available</strong>, since the file size exceeds
- <?cs var:file.max_file_size ?> bytes. Try <a href="<?cs
- var:file.raw_href ?>">downloading</a> the file instead.<?cs
- else ?><strong>HTML preview not available</strong>. To view, <a href="<?cs
- var:file.raw_href ?>">download</a> the file.<?cs
- /if ?>
- </div><?cs
- /if ?>
-
- <div id="help">
- <strong>Note:</strong> See <a href="<?cs var:trac.href.wiki
- ?>/TracBrowser">TracBrowser</a> for help on using the browser.
- </div>
-
- <div id="anydiff">
- <form action="<?cs var:browser.anydiff_href ?>" method="get">
- <div class="buttons">
- <input type="hidden" name="new_path" value="<?cs var:browser.path ?>" />
- <input type="hidden" name="old_path" value="<?cs var:browser.path ?>" />
- <input type="hidden" name="new_rev" value="<?cs var:browser.revision ?>" />
- <input type="hidden" name="old_rev" value="<?cs var:browser.revision ?>" />
- <input type="submit" value="View changes..." title="Prepare an Arbitrary Diff" />
- </div>
- </form>
- </div>
-
-</div>
-</div>
-<?cs include:"footer.cs"?>
View
205 django_website/templates/trac_templates/changeset.cs
@@ -1,205 +0,0 @@
-<?cs set:html.stylesheet = 'css/changeset.css' ?>
-<?cs include "header.cs"?>
-<?cs include "macros.cs"?>
-
-<div id="ctxtnav" class="nav">
- <h2>Changeset Navigation</h2>
- <ul><?cs
- if:len(links.prev) ?>
- <li class="first<?cs if:!len(links.next) ?> last<?cs /if ?>">
- <a class="prev" href="<?cs var:links.prev.0.href ?>" title="<?cs
- var:links.prev.0.title ?>">Previous Changeset</a>
- </li><?cs
- /if ?><?cs
- if:len(links.next) ?>
- <li class="<?cs if:len(links.prev) ?>first <?cs /if ?>last">
- <a class="next" href="<?cs var:links.next.0.href ?>" title="<?cs
- var:links.next.0.title ?>">Next Changeset</a>
- </li><?cs
- /if ?>
- </ul>
-</div>
-
-<div id="content" class="changeset">
-<h1>Changeset <?cs var:changeset.revision ?></h1>
-
-<?cs each:change = changeset.changes ?><?cs
- if:len(change.diff) ?><?cs
- set:has_diffs = 1 ?><?cs
- /if ?><?cs
-/each ?><?cs if:has_diffs || diff.options.ignoreblanklines
- || diff.options.ignorecase || diff.options.ignorewhitespace ?>
-<form method="post" id="prefs" action="">
- <div>
- <label for="style">View differences</label>
- <select id="style" name="style">
- <option value="inline"<?cs
- if:diff.style == 'inline' ?> selected="selected"<?cs
- /if ?>>inline</option>
- <option value="sidebyside"<?cs
- if:diff.style == 'sidebyside' ?> selected="selected"<?cs
- /if ?>>side by side</option>
- </select>
- <div class="field">
- Show <input type="text" name="contextlines" id="contextlines" size="2"
- maxlength="2" value="<?cs var:diff.options.contextlines ?>" />
- <label for="contextlines">lines around each change</label>
- </div>
- <fieldset id="ignore">
- <legend>Ignore:</legend>
- <div class="field">
- <input type="checkbox" id="blanklines" name="ignoreblanklines"<?cs
- if:diff.options.ignoreblanklines ?> checked="checked"<?cs /if ?> />
- <label for="blanklines">Blank lines</label>
- </div>
- <div class="field">
- <input type="checkbox" id="case" name="ignorecase"<?cs
- if:diff.options.ignorecase ?> checked="checked"<?cs /if ?> />
- <label for="case">Case changes</label>
- </div>
- <div class="field">
- <input type="checkbox" id="whitespace" name="ignorewhitespace"<?cs
- if:diff.options.ignorewhitespace ?> checked="checked"<?cs /if ?> />
- <label for="whitespace">White space changes</label>
- </div>
- </fieldset>
- <div class="buttons">
- <input type="submit" name="update" value="Update" />
- </div>
- </div>
-</form><?cs /if ?>
-
-<?cs def:node_change(item,cl,kind) ?><?cs
- set:ndiffs = len(item.diff) ?><?cs
- set:nprops = len(item.props) ?>
- <div class="<?cs var:cl ?>"></div><?cs
- if:cl == "rem" ?>
- <a title="Show what was removed (rev. <?cs var:item.rev.old ?>)" href="<?cs
- var:item.browser_href.old ?>"><?cs var:item.path.old ?></a><?cs
- else ?>
- <a title="Show entry in browser" href="<?cs
- var:item.browser_href.new ?>"><?cs var:item.path.new ?></a><?cs
- /if ?>
- <span class="comment">(<?cs var:kind ?>)</span><?cs
- if:item.path.old && item.change == 'copy' || item.change == 'move' ?>
- <small><em>(<?cs var:kind ?> from <a href="<?cs
- var:item.browser_href.old ?>" title="Show original file (rev. <?cs
- var:item.rev.old ?>)"><?cs var:item.path.old ?></a>)</em></small><?cs
- /if ?><?cs
- if:$ndiffs + $nprops > #0 ?>
- (<a href="#file<?cs var:name(item) ?>" title="Show differences"><?cs
- if:$ndiffs > #0 ?><?cs var:ndiffs ?>&nbsp;diff<?cs if:$ndiffs > #1 ?>s<?cs /if ?><?cs
- /if ?><?cs
- if:$ndiffs && $nprops ?>, <?cs /if ?><?cs
- if:$nprops > #0 ?><?cs var:nprops ?>&nbsp;prop<?cs if:$nprops > #1 ?>s<?cs /if ?><?cs
- /if ?></a>)<?cs
- elif:cl == "mod" ?>
- (<a href="<?cs var:item.browser_href.old ?>"
- title="Show previous version in browser">previous</a>)<?cs
- /if ?>
-<?cs /def ?>
-
-<dl id="overview">
- <dt class="time">Timestamp:</dt>
- <dd class="time"><?cs var:changeset.time ?></dd>
- <dt class="author">Author:</dt>
- <dd class="author"><?cs var:changeset.author ?></dd>
- <dt class="message">Message:</dt>
- <dd class="message" id="searchable"><?cs var:changeset.message ?></dd>
- <dt class="files">Files:</dt>
- <dd class="files">
- <ul><?cs each:item = changeset.changes ?>
- <li><?cs
- if:item.change == 'add' ?><?cs
- call:node_change(item, 'add', 'added') ?><?cs
- elif:item.change == 'delete' ?><?cs
- call:node_change(item, 'rem', 'deleted') ?><?cs
- elif:item.change == 'copy' ?><?cs
- call:node_change(item, 'cp', 'copied') ?><?cs
- elif:item.change == 'move' ?><?cs
- call:node_change(item, 'mv', 'moved') ?><?cs
- elif:item.change == 'edit' ?><?cs
- call:node_change(item, 'mod', 'modified') ?><?cs
- /if ?>
- </li>
- <?cs /each ?></ul>
- </dd>
-</dl>
-
-<div class="diff">
- <div id="legend">
- <h3>Legend:</h3>
- <dl>
- <dt class="unmod"></dt><dd>Unmodified</dd>
- <dt class="add"></dt><dd>Added</dd>
- <dt class="rem"></dt><dd>Removed</dd>
- <dt class="mod"></dt><dd>Modified</dd>
- <dt class="cp"></dt><dd>Copied</dd>
- <dt class="mv"></dt><dd>Moved</dd>
- </dl>
- </div>
- <ul class="entries"><?cs
- each:item = changeset.changes ?><?cs
- if:len(item.diff) || len(item.props) ?><li class="entry" id="file<?cs
- var:name(item) ?>"><h2><a href="<?cs
- var:item.browser_href.new ?>" title="Show new revision <?cs
- var:item.rev.new ?> of this file in browser"><?cs
- var:item.path.new ?></a></h2><?cs
- if:len(item.props) ?><ul class="props"><?cs
- each:prop = item.props ?><li>Property <strong><?cs
- var:name(prop) ?></strong> <?cs
- if:prop.old && prop.new ?>changed from <?cs
- elif:!prop.old ?>set<?cs
- else ?>deleted<?cs
- /if ?><?cs
- if:prop.old && prop.new ?><em><tt><?cs var:prop.old ?></tt></em><?cs /if ?><?cs
- if:prop.new ?> to <em><tt><?cs var:prop.new ?></tt></em><?cs /if ?></li><?cs
- /each ?></ul><?cs
- /if ?><?cs
- if:len(item.diff) ?><table class="<?cs
- var:diff.style ?>" summary="Differences" cellspacing="0"><?cs
- if:diff.style == 'sidebyside' ?>
- <colgroup class="l"><col class="lineno" /><col class="content" /></colgroup>
- <colgroup class="r"><col class="lineno" /><col class="content" /></colgroup>
- <thead><tr>
- <th colspan="2"><a href="<?cs
- var:item.browser_href.old ?>" title="Show old rev. <?cs
- var:item.rev.old ?> of <?cs var:item.path.old ?>">Revision <?cs
- var:item.rev.old ?></a></th>
- <th colspan="2"><a href="<?cs
- var:item.browser_href.new ?>" title="Show new rev. <?cs
- var:item.rev.old ?> of <?cs var:item.path.new ?>">Revision <?cs
- var:item.rev.new ?></a></th>
- </tr>
- </thead><?cs
- each:change = item.diff ?><tbody><?cs
- call:diff_display(change, diff.style) ?></tbody><?cs
- if:name(change) < len(item.diff) - 1 ?><tbody class="skipped"><tr>
- <th>&hellip;</th><td>&nbsp;</td><th>&hellip;</th><td>&nbsp;</td>
- </tr></tbody><?cs /if ?><?cs
- /each ?><?cs
- else ?>
- <colgroup><col class="lineno" /><col class="lineno" /><col class="content" /></colgroup>
- <thead><tr>
- <th title="Revision <?cs var:item.rev.old ?>"><a href="<?cs
- var:item.browser_href.old ?>" title="Show old version of <?cs
- var:item.path.old ?>">r<?cs var:item.rev.old ?></a></th>
- <th title="Revision <?cs var:item.rev.new ?>"><a href="<?cs
- var:item.browser_href.new ?>" title="Show new version of <?cs
- var:item.path.new ?>">r<?cs var:item.rev.new ?></a></th>
- <th>&nbsp;</th></tr>
- </thead><?cs
- each:change = item.diff ?><?cs
- call:diff_display(change, diff.style) ?><?cs
- if:name(change) < len(item.diff) - 1 ?><tbody class="skipped"><tr>
- <th>&hellip;</th><th>&hellip;</th><td>&nbsp;</td>
- </tr></tbody><?cs /if ?><?cs
- /each ?><?cs
- /if ?></table><?cs
- /if ?></li><?cs
- /if ?><?cs
- /each ?></ul>
-</div>
-
-</div>
-<?cs include "footer.cs"?>
View
54 django_website/templates/trac_templates/error.cs
@@ -1,54 +0,0 @@
-<?cs include "header.cs"?>
-
-<div id="ctxtnav" class="nav"></div>
-
-<div id="content" class="error">
-
- <?cs if error.type == "TracError" ?>
- <h3><?cs var:error.title ?></h3>
- <p class="message">
- <?cs var:error.message ?>
- </p>
-
- <?cs elif error.type == "internal" ?>
- <h3>Oops...</h3>
- <div class="message">
- <strong>Trac detected an internal error:</strong>
- <pre><?cs var:error.message ?></pre>
- </div>
- <p>
- If you think this really should work and you can reproduce it. Then you
- should consider to report this problem to the Trac team.
- </p>
- <p>
- Go to <a href="<?cs var:trac.href.homepage ?>"><?cs
- var:trac.href.homepage ?></a> and create a new ticket where you describe
- the problem, how to reproduce it. Don't forget to include the python
- traceback found below.
- </p>
-
- <?cs elif error.type == "permission" ?>
- <h3>Permission Denied</h3>
- <p class="message">
- This action requires <tt><?cs var:error.action ?></tt> permission.
- </p>
- <div id="help">
- <strong>Note</strong>: See
- <a href="<?cs var:trac.href.wiki ?>/TracPermissions">TracPermissions</a> for
- help on managing Trac permissions.
- </div>
-
- <?cs /if ?>
-
- <p>
- <a href="<?cs var:trac.href.wiki ?>/TracGuide">TracGuide</a>
- &mdash; The Trac User and Administration Guide
- </p>
-
- <?cs if $error.traceback ?>
- <h4>Python traceback</h4>
- <pre><?cs var:error.traceback ?></pre>
- <?cs /if ?>
-
-</div>
-<?cs include "footer.cs"?>
View
70 django_website/templates/trac_templates/file.cs
@@ -1,70 +0,0 @@
-<?cs set:html.stylesheet = 'css/browser.css' ?>
-<?cs include "header.cs"?>
-<?cs include "macros.cs"?>
-
-<div id="ctxtnav" class="nav">
- <?cs if:args.mode != 'attachment' && trac.acl.LOG_VIEW ?><ul>
- <li class="last"><a href="<?cs var:file.logurl ?>">Revision Log</a></li>
- </ul><?cs /if ?>
-</div>
-
-<div id="content" class="file">
-
- <?cs if file.attachment_parent ?>
- <h1><a href="<?cs var:file.attachment_parent_href ?>"><?cs
- var:file.attachment_parent ?></a>: <?cs var:file.filename ?></h1>
-
- <?cs else ?>
- <?cs call:browser_path_links(file.path, file) ?>
- <div id="jumprev">
- <form action="" method="get">
- <div>
- <label for="rev">View revision:</label>
- <input type="text" id="rev" name="rev" value="<?cs
- var:file.rev ?>" size="4" />
- </div>
- </form>
- </div>
- <table id="info" summary="Revision info">
- <tr>
- <th scope="row">
- Revision <a href="<?cs var:file.chgset_href ?>"><?cs var:file.rev ?></a>
- (by <?cs var:file.rev_author ?>, <?cs var:file.rev_date ?>)
- </th>
- <td class="message"><?cs var:file.rev_msg ?></td>
- </tr>
- </table>
- <?cs /if ?>
-
- <div id="preview">
- <?cs if:file.highlighted_html ?>
- <?cs var:file.highlighted_html ?>
- <?cs elif:file.max_file_size_reached ?>
- <strong>HTML preview not available</strong>, since file-size exceeds
- <?cs var:file.max_file_size ?> bytes.
- Try <a href="?format=raw">downloading the file</a> instead.
- <?cs else ?>
- <strong>HTML preview not available</strong>. To view, <a href="<?cs
- var:file.filename + '?rev=' + file.rev ?>&format=raw">download the
- file</a>.
- <?cs /if ?>
- </div>
-
- <?cs if:attachment.delete_href ?><div class="buttons">
- <form method="get" action=""><div id="delete">
- <input type="hidden" name="delete" value="yes" />
- <input type="submit" value="Delete Attachment" onclick="return confirm('Do you really want to delete this attachment?\nThis is an irreversible operation.')" />
- </div></form>
- </div><?cs /if ?>
-
- <?cs if:!file.attachment_parent ?>
- <div id="help">
- <strong>Note:</strong> See <a href="<?cs var:trac.href.wiki
- ?>/TracBrowser">TracBrowser</a> for help on using the browser.
- </div>
- <?cs /if ?>
-
-
-</div>
-
-<?cs include "footer.cs"?>
View
44 django_website/templates/trac_templates/footer.cs
@@ -1,44 +0,0 @@
-<script type="text/javascript">searchHighlight()</script>
-
-<?cs if:len(chrome.links.alternate) ?>
-<div id="altlinks">
- <h3>Download in other formats:</h3>
- <ul><?cs each:link = chrome.links.alternate ?><?cs
- set:isfirst = name(link) == 0 ?><?cs
- set:islast = name(link) == len(chrome.links.alternate) - 1?>
- <li<?cs
- if:isfirst || islast ?> class="<?cs
- if:isfirst ?>first<?cs /if ?><?cs
- if:isfirst && islast ?> <?cs /if ?><?cs
- if:islast ?>last<?cs /if ?>"<?cs
- /if ?>>
- <a href="<?cs var:link.href ?>"<?cs if:link.class ?> class="<?cs
- var:link.class ?>"<?cs /if ?>><?cs var:link.title ?></a>
- </li><?cs /each ?>
- </ul>
-</div>
-<?cs /if ?>
-
-
-</div>
-
-<div id="footer">
- <div id="metanav" class="nav">
- <h2>Navigation</h2>
- <ul>
- <li class="first"><?cs if:trac.authname == "anonymous" || !trac.authname ?>
- <a href="<?cs var:trac.href.login ?>">Login</a>
- <?cs else ?>
- logged in as <?cs var:trac.authname ?> </li>
- <li><a href="<?cs var:trac.href.logout ?>">Logout</a>
- <?cs /if ?></li>
- <li style="display: none"><a accesskey="0" href="<?cs var:trac.href.wiki ?>/TracAccessibility">Accessibility</a></li>
- <li class="last"><a href="<?cs var:trac.href.settings ?>">Settings</a></li>
- </ul>
- </div>
-</div>
-
-
-<?cs include "site_footer.cs" ?>
- </body>
-</html>
View
121 django_website/templates/trac_templates/header.cs
@@ -1,121 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
- <meta http-equiv="Content-Language" content="en-us" />
-
- <title>Django | Code <?cs if:title ?>| <?cs var:title ?><?cs /if ?></title>
-
- <meta name="ROBOTS" content="ALL" />
- <meta http-equiv="imagetoolbar" content="no" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="Copyright" content="This site's design and contents Copyright (c) 2005 World Online." />
- <!-- (c) Copyright 2005 World Online All Rights Reserved. -->
-
- <meta name="keywords" content="Python, Django, framework, open-source" />
- <meta name="description" content="Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design." />
-
- <?cs each:rel = links ?>
- <?cs each:link = rel ?>
- <link rel="<?cs var:name(rel) ?>"
- href="<?cs var:link.href ?>"
- <?cs if:link.title ?>title="<?cs var:link.title ?>"<?cs /if ?>
- <?cs if:link.type ?>type="<?cs var:link.type ?>"<?cs /if ?> />
- <?cs /each ?>
- <?cs /each ?>
-
- <style type="text/css">
- <?cs if:html.stylesheet ?>@import url(http://media.djangoproject.com/trac/<?cs var:html.stylesheet ?>);<?cs /if ?>
- <?cs if:html.stylesheet2 ?>@import url(http://media.djangoproject.com/trac/<?cs var:html.stylesheet2 ?>);<?cs /if ?>
- <?cs include "site_css.cs" ?>
- </style>
- <script src="http://media.djangoproject.com/trac/trac.js" type="text/javascript"></script>
-
- <link href="http://media.djangoproject.com/trac/css/trac.css" rel="stylesheet" type="text/css" media="all" />
- <link href="http://media.djangoproject.com/css/base.css" rel="stylesheet" type="text/css" media="all" />
- <link href="http://media.djangoproject.com/css/admin.css" rel="stylesheet" type="text/css" media="all" />
-
- </head>
-
- <body id="code">
-
- <div id="container">
- <div id="header">
- <h1 id="logo"><a href="http://www.djangoproject.com/"><img src="http://media.djangoproject.com/img/site/hdr_logo.gif" alt="Django" /></a></h1>
- <ul id="nav-global">
- <li id="nav-homepage"><a href="http://www.djangoproject.com/">Home</a></li>
- <li id="nav-download"><a href="http://www.djangoproject.com/download/">Download</a></li>
- <li id="nav-documentation"><a href="http://www.djangoproject.com/documentation/">Documentation</a></li>
- <li id="nav-weblog"><a href="http://www.djangoproject.com/weblog/">Weblog</a></li>
- <li id="nav-community"><a href="http://www.djangoproject.com/community/">Community</a></li>
- <li id="nav-code"><a href="http://code.djangoproject.com/">Code</a></li>
- </ul>
- </div>
- <!-- END Header -->
- <div id="billboard"><h2><a href="http://code.djangoproject.com/">Code</a></h2></div>
- <div id="columnwrap">
-
- <div id="content-main">
-
- <?cs def:navlink(text, href, id, aclname, accesskey) ?><?cs
- if $aclname ?><li><a href="<?cs var:href ?>"<?cs
- if $id == $trac.active_module ?> class="active"<?cs
- /if ?><?cs
- if:$accesskey!="" ?> accesskey="<?cs var:$accesskey ?>"<?cs
- /if ?>><?cs var:text ?></a></li><?cs
- /if ?><?cs
- /def ?>
-
- <form id="search" action="<?cs var:trac.href.search ?>" method="get">
- <?cs if:trac.acl.SEARCH_VIEW ?><div>
- <label for="proj-search">Search:</label>
- <input type="text" id="proj-search" name="q" size="10" value="" />
- <input type="submit" value="Search" />
- <input type="hidden" name="wiki" value="on" />
- <input type="hidden" name="changeset" value="on" />
- <input type="hidden" name="ticket" value="on" />
- </div><?cs /if ?>
- </form>
-
- <?cs if $trac.active_module == "wiki" ?><?cs
- set:$wiki_view="wiki" ?><?cs
- else ?><?cs
- set:$wiki_view="attachment" ?><?cs
- /if ?><?cs
- if $trac.active_module == "ticket" ?><?cs
- set:$ticket_view="ticket" ?><?cs
- elif $trac.active_module == "query" ?><?cs
- set:$ticket_view="query" ?><?cs
- else ?><?cs
- set:$ticket_view="report" ?><?cs
- /if ?><?cs
- if $trac.active_module == "log" ?><?cs
- set:$browser_view="log" ?><?cs
- elif $trac.active_module == "file" ?><?cs
- set:$browser_view="file" ?><?cs
- else ?><?cs
- set:$browser_view="browser" ?><?cs
- /if ?><?cs
- if $trac.active_module == "milestone" ?><?cs
- set:$roadmap_view="milestone" ?><?cs
- else ?><?cs
- set:$roadmap_view="roadmap" ?><?cs
- /if ?>
- <div id="mainnav" class="nav">
- <ul><?cs
- call:navlink("Wiki", trac.href.wiki, wiki_view,
- trac.acl.WIKI_VIEW, "1") ?><?cs
- call:navlink("Timeline", trac.href.timeline, "timeline",
- trac.acl.TIMELINE_VIEW, "2") ?><?cs
- call:navlink("Roadmap", trac.href.roadmap, roadmap_view,
- trac.acl.ROADMAP_VIEW, "3") ?><?cs
- call:navlink("Browse source", trac.href.browser, browser_view,
- trac.acl.BROWSER_VIEW, "") ?><?cs
- call:navlink("View tickets", trac.href.report, ticket_view,
- trac.acl.REPORT_VIEW, "") ?><?cs
- call:navlink("New ticket", trac.href.newticket, "newticket",
- trac.acl.TICKET_CREATE, "7") ?><?cs
- call:navlink("Search", trac.href.search, "search",
- trac.acl.SEARCH_VIEW, "4") ?></ul>
- </div>
View
136 django_website/templates/trac_templates/log.cs
@@ -1,136 +0,0 @@
-<?cs set:html.stylesheet = 'css/browser.css' ?>
-<?cs include "header.cs"?>
-<?cs include "macros.cs"?>
-
-<div id="ctxtnav" class="nav">
- <ul>
- <li class="last"><a href="<?cs
- var:log.browser_href ?>">View Latest Revision</a></li><?cs
- if:len(chrome.links.prev) ?>
- <li class="first<?cs if:!len(chrome.links.next) ?> last<?cs /if ?>">
- &larr; <a href="<?cs var:chrome.links.prev.0.href ?>" title="<?cs
- var:chrome.links.prev.0.title ?>">Newer Revisions</a>
- </li><?cs
- /if ?><?cs
- if:len(chrome.links.next) ?>
- <li class="<?cs if:!len(chrome.links.prev) ?>first <?cs /if ?>last">
- <a href="<?cs var:chrome.links.next.0.href ?>" title="<?cs
- var:chrome.links.next.0.title ?>">Older Revisions</a> &rarr;
- </li><?cs
- /if ?>
- </ul>
-</div>
-
-
-<div id="content" class="log">
- <h1><?cs call:browser_path_links(log.path, log) ?></h1>
- <form id="prefs" action="<?cs var:browser_current_href ?>" method="get">
- <div>
- <input type="hidden" name="action" value="<?cs var:log.mode ?>" />
- <label>View log starting at <input type="text" id="rev" name="rev" value="<?cs
- var:log.items.0.rev ?>" size="5" /></label>
- <label>and back to <input type="text" id="stop_rev" name="stop_rev" value="<?cs
- var:log.stop_rev ?>" size="5" /></label>
- <br />
- <div class="choice" ?>
- <fieldset>
- <legend>Mode:</legend>
- <label for="stop_on_copy">
- <input type="radio" id="stop_on_copy" name="mode" value="stop_on_copy" <?cs
- if:log.mode != "follow_copy" || log.mode != "path_history" ?> checked="checked" <?cs
- /if ?> />
- Stop on copy
- </label>
- <label for="follow_copy">
- <input type="radio" id="follow_copy" name="mode" value="follow_copy" <?cs
- if:log.mode == "follow_copy" ?> checked="checked" <?cs /if ?> />
- Follow copies
- </label>
- <label for="path_history">
- <input type="radio" id="path_history" name="mode" value="path_history" <?cs
- if:log.mode == "path_history" ?> checked="checked" <?cs /if ?> />
- Show only adds, moves and deletes
- </label>
- </fieldset>
- </div>
- <label><input type="checkbox" name="verbose" <?cs
- if:log.verbose ?> checked="checked" <?cs
- /if ?> /> Show full log messages</label>
- </div>
- <div class="buttons">
- <input type="submit" value="Update"
- title="Warning: by updating, you will clear the page history" />
- </div>
- </form>
- <div class="diff">
- <div id="legend">
- <h3>Legend:</h3>
- <dl>
- <dt class="add"></dt><dd>Added</dd><?cs
- if:log.mode == "path_history" ?>
- <dt class="rem"></dt><dd>Removed</dd><?cs
- /if ?>
- <dt class="mod"></dt><dd>Modified</dd>
- <dt class="cp"></dt><dd>Copied or renamed</dd>
- </dl>
- </div>
- </div>
- <table id="chglist" class="listing">
- <thead>
- <tr>
- <th class="change"></th>
- <th class="data">Date</th>
- <th class="rev">Rev</th>
- <th class="chgset">Chgset</th>
- <th class="author">Author</th>
- <th class="summary">Log Message</th>
- </tr>
- </thead>
- <tbody><?cs
- set:indent = #1 ?><?cs
- each:item = log.items ?><?cs
- if:item.copyfrom_path ?>
- <tr class="<?cs if:name(item) % #2 ?>even<?cs else ?>odd<?cs /if ?>">
- <td class="copyfrom_path" colspan="6" style="padding-left: <?cs var:indent ?>em">
- copied from <a href="<?cs var:item.browser_href ?>"?><?cs var:item.copyfrom_path ?></a>:
- </td>
- </tr><?cs
- set:indent = indent + #1 ?><?cs
- elif:log.mode == "path_history" ?><?cs
- set:indent = #1 ?><?cs
- /if ?>
- <tr class="<?cs if:name(item) % #2 ?>even<?cs else ?>odd<?cs /if ?>">
- <td class="change" style="padding-left:<?cs var:indent ?>em">
- <a title="View log starting at this revision" href="<?cs var:item.log_href ?>">
- <div class="<?cs var:item.change ?>"></div>
- <span class="comment">(<?cs var:item.change ?>)</span>
- </a>
- </td>
- <td class="date"><?cs var:log.changes[item.rev].date ?></td>
- <td class="rev">
- <a href="<?cs var:item.browser_href ?>"><?cs var:item.rev ?></a>
- </td>
- <td class="chgset">
- <a href="<?cs var:item.changeset_href ?>"><?cs var:item.rev ?></a>
- </td>
- <td class="author"><?cs var:log.changes[item.rev].author ?></td>
- <td class="summary"><?cs var:log.changes[item.rev].message ?></td>
- </tr><?cs
- /each ?>
- </tbody>
- </table><?cs
- if:len(links.prev) || len(links.next) ?><div id="paging" class="nav"><ul><?cs
- if:len(links.prev) ?><li class="first<?cs
- if:!len(links.next) ?> last<?cs /if ?>">&larr; <a href="<?cs
- var:links.prev.0.href ?>" title="<?cs
- var:links.prev.0.title ?>">Younger Revisions</a></li><?cs
- /if ?><?cs
- if:len(links.next) ?><li class="<?cs
- if:len(links.prev) ?>first <?cs /if ?>last"><a href="<?cs
- var:links.next.0.href ?>" title="<?cs
- var:links.next.0.title ?>">Older Revisions</a> &rarr;</li><?cs
- /if ?></ul></div><?cs
- /if ?>
-
-</div>
-<?cs include "footer.cs"?>
View
25 django_website/templates/trac_templates/log_changelog.cs
@@ -1,25 +0,0 @@
-#
-# ChangeLog for <?cs var:log.path ?>
-#
-# Generated by Trac <?cs var:trac.version ?>
-# <?cs var:trac.time ?>
-#
-<?cs each:item = $log.items ?>
-<?cs with:changeset = log.changes[item.rev] ?>
-<?cs var:changeset.date ?> <?cs
- var:changeset.author ?> [<?cs var:item.rev ?>]<?cs
- set:idx = 0 ?><?cs
- each:file = changeset.files ?>
- * <?cs var:file ?> (<?cs
- set:action = changeset.actions[idx] ?><?cs
- if:action == 'add' ?>added<?cs
- elif:action == 'delete' ?>deleted<?cs
- elif:action == 'copy' ?>copied<?cs
- elif:action == 'move' ?>moved<?cs
- elif:action == 'edit' ?>modified<?cs
- /if ?>)<?cs
- set:idx = idx + 1 ?><?cs
- /each ?>
-<?cs var:changeset.message ?><?cs
- /with ?><?cs
-/each ?>
View
27 django_website/templates/trac_templates/log_rss.cs
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
-<rss version="2.0">
- <channel><?cs
- if:project.name.encoded ?>
- <title><?cs var:project.name.encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
- else ?>
- <title>Revisions of <?cs var:log.path ?></title><?cs
- /if ?>
- <link><?cs var:base_host ?><?cs var:log.log_href ?></link>
- <description>Trac Log - Revisions of <?cs var:log.path ?></description>
- <language>en-us</language>
- <generator>Trac v<?cs var:trac.version ?></generator><?cs
- each:item = log.items ?><?cs
- with:change = log.changes[item.rev] ?>
- <item>
- <author><?cs var:change.author ?></author>
- <pubDate><?cs var:change.date ?></pubDate>
- <title>Revision <?cs var:item.rev ?>: <?cs var:change.shortlog ?></title>
- <link><?cs var:base_host ?><?cs var:item.changeset_href ?></link>
- <description><?cs var:change.message ?></description>
- <category>Report</category>
- </item><?cs
- /with ?><?cs
- /each ?>
- </channel>
-</rss>
View
179 django_website/templates/trac_templates/macros.cs
@@ -1,179 +0,0 @@
-<?cs def:hdf_select(options, name, selected, optional) ?>
- <select size="1" id="<?cs var:name ?>" name="<?cs var:name ?>"><?cs
- if:optional ?><option></option><?cs /if ?><?cs
- each:option = options ?>
- <option<?cs if:option == selected ?> selected="selected"<?cs /if ?>><?cs
- var:option ?></option><?cs
- /each ?>
- </select><?cs
-/def?>
-
-<?cs def:labelled_hdf_select(label, options, name, selected, optional) ?><?cs
- if:len(options) > #0 ?>
- <label for="<?cs var:name ?>"><?cs var:label ?></label><?cs
- call:hdf_select(options, name, selected, optional) ?>
- </label>
- <br /><?cs
- /if ?><?cs
-/def ?>
-
-<?cs def:browser_path_links(path, file) ?><?cs
- set:first = #1 ?><?cs
- each:part = path ?><?cs
- set:last = name(part) == len(path) - #1 ?><a<?cs
- if:first ?> class="first" title="Go to root directory"<?cs
- set:first = #0 ?><?cs
- else ?> title="View <?cs var:part.name ?>"<?cs
- /if ?> href="<?cs var:part.href ?>"><?cs var:part.name ?></a><?cs
- if:!last ?><span class="sep">/</span><?cs /if ?><?cs
- /each ?><?cs
-/def ?>
-
-<?cs def:diff_line_class(block, line) ?><?cs
- set:first = name(line) == 0 ?><?cs
- set:last = name(line) + 1 == len(block.lines) ?><?cs
- if:first || last ?> class="<?cs
- if:first ?>first<?cs /if ?><?cs
- if:first && last ?> <?cs /if ?><?cs
- if:last ?>last<?cs /if ?>"<?cs
- /if ?><?cs
-/def ?>
-
-<?cs def:diff_display(diff, style) ?><?cs
- if:style == 'sidebyside' ?><?cs
- each:block = diff ?><?cs
- if:block.type == 'unmod' ?><tbody><?cs
- each:line = block.base.lines ?><tr><th><?cs
- var:#block.base.offset + name(line) + 1 ?></th><td class="l"><span><?cs
- var:line ?></span>&nbsp;</td><th><?cs
- var:#block.changed.offset + name(line) + 1 ?></th><td class="r"><span><?cs
- var:block.changed.lines[name(line)] ?></span>&nbsp;</td></tr><?cs
- /each ?></tbody><?cs
- elif:block.type == 'mod' ?><tbody class="mod"><?cs
- if:len(block.base.lines) >= len(block.changed.lines) ?><?cs
- each:line = block.base.lines ?><tr><th><?cs
- var:#block.base.offset + name(line) + 1 ?></th><td class="l"><?cs
- var:line ?>&nbsp;</td><?cs
- if:len(block.changed.lines) >= name(line) + 1 ?><?cs
- each:changedline = block.changed.lines ?><?cs
- if:name(changedline) == name(line) ?><th><?cs
- var:#block.changed.offset + name(changedline) + 1 ?></th><td class="r"><?cs
- var:changedline ?>&nbsp;</td><?cs
- /if ?><?cs
- /each ?><?cs
- else ?><th>&nbsp;</th><td class="r">&nbsp;</td><?cs
- /if ?></tr><?cs
- /each ?><?cs
- else ?><?cs
- each:line = block.changed.lines ?><tr><?cs
- if:len(block.base.lines) >= name(line) + 1 ?><?cs
- each:baseline = block.base.lines ?><?cs
- if:name(baseline) == name(line) ?><th><?cs
- var:#block.base.offset + name(baseline) + 1 ?></th><td class="l"><?cs
- var:baseline ?>&nbsp;</td><?cs
- /if ?><?cs
- /each ?><?cs
- else ?><th>&nbsp;</th><td class="l">&nbsp;</td><?cs
- /if ?>
- <th><?cs var:#block.changed.offset + name(line) + 1 ?></th>
- <td class="r"><?cs var:line ?>&nbsp;</td></tr><?cs
- /each ?><?cs
- /if ?></tbody><?cs
- elif:block.type == 'add' ?><tbody class="add"><?cs
- each:line = block.changed.lines ?><tr><th>&nbsp;</th><td class="l">&nbsp;</td><th><?cs
- var:#block.changed.offset + name(line) + 1 ?></th><td class="r"><ins><?cs
- var:line ?></ins>&nbsp;</td></tr><?cs
- /each ?><?cs
- elif:block.type == 'rem' ?><tbody class="rem"><?cs
- each:line = block.base.lines ?><tr><th><?cs
- var:#block.base.offset + name(line) + 1 ?></th><td class="l"><del><?cs
- var:line ?></del>&nbsp;</td><th>&nbsp;</th><td class="r">&nbsp;</td></tr><?cs
- /each ?><?cs
- /if ?></tbody><?cs
- /each ?><?cs
- else ?><?cs
- each:block = diff ?><?cs
- if:block.type == 'unmod' ?><tbody><?cs
- each:line = block.base.lines ?><tr><th><?cs
- var:#block.base.offset + name(line) + #1 ?></th><th><?cs
- var:#block.changed.offset + name(line) + #1 ?></th><td class="l"><span><?cs
- var:line ?></span>&nbsp;</td></tr><?cs
- /each ?></tbody><?cs
- elif:block.type == 'mod' ?><tbody class="mod"><?cs
- each:line = block.base.lines ?><tr<?cs
- if:name(line) == 0 ?> class="first"