Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
87629023
Commit
87629023
authored
Jan 09, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css fixup cache manager dtml
parent
74fdc747
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
42 deletions
+87
-42
lib/python/OFS/dtml/cacheNamespaceKeys.dtml
lib/python/OFS/dtml/cacheNamespaceKeys.dtml
+7
-2
lib/python/OFS/dtml/cacheable.dtml
lib/python/OFS/dtml/cacheable.dtml
+22
-13
lib/python/OFS/dtml/cmassoc.dtml
lib/python/OFS/dtml/cmassoc.dtml
+58
-27
No files found.
lib/python/OFS/dtml/cacheNamespaceKeys.dtml
View file @
87629023
Names from the DTML namespace to use as cache keys:<br>
<p class="form-text">
Names from the DTML namespace to use as cache keys:
</p>
<textarea name="keys:lines" cols="40" rows="5"><dtml-in
<textarea name="keys:lines" cols="40" rows="5"><dtml-in
getCacheNamespaceKeys>&dtml-sequence-item;
getCacheNamespaceKeys>&dtml-sequence-item;
</dtml-in></textarea>
</dtml-in></textarea>
<br>
<br>
<input type="submit" name="setCacheNamespaceKeys:method" value="Change">
<div class="form-element">
<input class="form-element" type="submit"
name="setCacheNamespaceKeys:method" value="Save Changes">
</div>
lib/python/OFS/dtml/cacheable.dtml
View file @
87629023
<dtml-var manage_page_header>
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<dtml-var manage_tabs>
<h2>Caching properties</h2>
<form action="&dtml-absolute_url;" method="POST">
<form action="&dtml-absolute_url;" method="POST">
<dtml-if ZCacheable_isAMethod>
<dtml-if ZCacheable_isAMethod>
<input type="checkbox" name="enable" value="1"<dtml-if
<input type="checkbox" name="enable" value="1"<dtml-if
ZCacheable_enabled> checked="checked"</dtml-if
ZCacheable_enabled> checked="checked"</dtml-if
>>Cache this view of the object<br>
>><span class="form-label">Cache this view of the object</span>
<br>
<input type="submit" name="ZCacheable_setEnabled:method" value="Change">
<div class="form-element">
<input class="form-element" type="submit" name="ZCacheable_setEnabled:method"
value="Save Changes">
</div>
<dtml-else>
<dtml-else>
<div class="form-element">
<span class="form-label">
Cache this object using:
Cache this object using:
</span>
<select name="manager_id">
<select name="manager_id">
<option value="">(None)</option>
<option value="">(None)</option>
<dtml-in ZCacheable_getManagerIds mapping>
<dtml-in ZCacheable_getManagerIds mapping>
...
@@ -24,20 +28,25 @@ Cache this object using:
...
@@ -24,20 +28,25 @@ Cache this object using:
<dtml-if title>(&dtml-title;)</dtml-if></option>
<dtml-if title>(&dtml-title;)</dtml-if></option>
</dtml-in>
</dtml-in>
</select>
</select>
<input type="submit" name="ZCacheable_setManagerId:method" value="Change">
<br />
<input class="form-element" type="submit"
name="ZCacheable_setManagerId:method" value="Save Changes">
</div>
<dtml-if ZCacheable_getManagerURL>
<dtml-if ZCacheable_getManagerURL>
<p>
<p class="form-text">
<a href="&dtml-ZCacheable_getManagerURL;/manage_main">Settings</a>
<a href="&dtml-ZCacheable_getManagerURL;/manage_main">Cache Settings</a>
</p>
<p>
<input type="submit" name="ZCacheable_invalidate:method" value="Invalidate">
</p>
</p>
<div class="form-element">
<input class="form-element" type="submit"
name="ZCacheable_invalidate:method" value="Invalidate">
</div>
</dtml-if>
</dtml-if>
</dtml-if>
</dtml-if>
<
p><dtml-var ZCacheable_configHTML></p
>
<
dtml-var ZCacheable_configHTML
>
</form>
</form>
...
...
lib/python/OFS/dtml/cmassoc.dtml
View file @
87629023
...
@@ -11,15 +11,19 @@ those objects for which you have the "Change cache settings" permission
...
@@ -11,15 +11,19 @@ those objects for which you have the "Change cache settings" permission
are shown.
are shown.
</p>
</p>
<table>
<table
width="100%" cellspacing="0" cellpadding="2" border="0"
>
<dtml-in results mapping sort=sortkey>
<dtml-in results mapping sort=sortkey>
<tr>
<dtml-if sequence-odd>
<td>
<tr class="row-normal">
<dtml-else>
<tr class="row-hilite">
</dtml-if>
<td align="left" valign="top">
<input type="checkbox" name="associate_&dtml-path;:int" value="1"<dtml-if
<input type="checkbox" name="associate_&dtml-path;:int" value="1"<dtml-if
associated> checked="checked"</dtml-if>>
associated> checked="checked"</dtml-if>>
<input type="hidden" name="associate_&dtml-path;:int:default" value="0">
<input type="hidden" name="associate_&dtml-path;:int:default" value="0">
</td>
</td>
<td>
<td
align="left" valign="top"
>
<div class="form-text">
<div class="form-text">
<dtml-if icon><a href="../&dtml-path;/manage_main"><img src="&dtml-icon;"
<dtml-if icon><a href="../&dtml-path;/manage_main"><img src="&dtml-icon;"
border="0"></a> </dtml-if>
border="0"></a> </dtml-if>
...
@@ -34,49 +38,76 @@ are shown.
...
@@ -34,49 +38,76 @@ are shown.
<td align="left" valign="top">
<td align="left" valign="top">
<div class="form-element">
<div class="form-element">
<input type="submit" name="ZCacheManager_setAssociations:method"
<input type="submit" name="ZCacheManager_setAssociations:method"
value="Save
c
hanges">
value="Save
C
hanges">
</div>
</div>
</td>
</td>
</tr>
</tr>
</table>
</table>
<dtml-else>
<dtml-else>
<p class="form-
help
">
<p class="form-
text
">
No objects matched your query.
No objects matched your query.
</p>
</p>
</dtml-if>
</dtml-if>
<hr>
<hr>
</dtml-if>
</dtml-if>
<table>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<tr>
<td valign="top">
<td align="left" valign="top">
Locate cacheable objects:
<div class="form-label">
</td>
Locate cacheable objects:
<td valign="top">
</div>
<input type="radio" name="require_assoc:int" value="0" checked="checked"> All
</td>
<input type="radio" name="require_assoc:int" value="1">
<td align="left" valign="top">
Associated with this cache manager
<div class="form-text">
<br>
<input type="radio" name="require_assoc:int" value="0"
<table><tr><td valign="top">
checked="checked"> All
Meta types:
<input type="radio" name="require_assoc:int" value="1">
</td><td valign="top">
Associated with this cache manager
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
<div class="form-label">
Of the type(s):
</div>
</td>
<td align="left" valign="top">
<div class="form-element">
<select multiple="multiple" name="meta_types:list" size="5">
<select multiple="multiple" name="meta_types:list" size="5">
<option value="">All</option>
<option value=""
selected
>All</option>
<dtml-in all_meta_types mapping sort=name>
<dtml-in all_meta_types mapping sort=name>
<option value="&dtml-name;">&dtml-name;</option>
<option value="&dtml-name;">&dtml-name;</option>
</dtml-in>
</dtml-in>
</select>
</select>
</td></tr></table>
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
</td>
<td align="left" valign="top">
<div class="form-text">
<input type="checkbox" name="subfolders:int" value="1" checked="checked">
<input type="checkbox" name="subfolders:int" value="1" checked="checked">
<input type="hidden" name="subfolders:int" value="0">
<input type="hidden" name="subfolders:int" value="0">
Search subfolders
Search subfolders
</div>
</td>
</tr>
<tr>
<td align="left" valign="top">
</td>
<td align="left" valign="top">
<div class="form-element">
<br>
<br>
<input type="submit" name="ZCacheManager_locate:method" value="Locate">
<input type="submit" name="ZCacheManager_locate:method" value="Locate">
</td></tr></table>
</div>
</td>
</tr>
</table>
</form>
</form>
</body>
</html>
<dtml-var manage_page_footer>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment