Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matthias Müller
authored and
Matthias Müller
committed
Jul 27, 2022
1 parent
70b3a6e
commit 097f713
Showing
3 changed files
with
171 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<datasource xmlns="http://www.appng.org/schema/platform" id="cacheElements"> | ||
<config> | ||
<title id="cache.elements">Cache elements</title> | ||
<permissions> | ||
<permission ref="cache.elements.list" mode="set"></permission> | ||
</permissions> | ||
<params> | ||
<param name="siteid">42</param> | ||
<param name="deleteLink" /> | ||
<param name="clearLink" /> | ||
</params> | ||
<meta-data bindClass="org.appng.application.manager.business.Cache$CacheEntry"> | ||
<field name="id" type="text" displayLength="75" binding="id"> | ||
<sort /> | ||
<label id="id">ID</label> | ||
</field> | ||
<field name="type" type="text" binding="type"> | ||
<sort /> | ||
<label id="type">Type</label> | ||
</field> | ||
<field name="size" type="decimal" format="#,##0 KB" binding="size"> | ||
<sort /> | ||
<label id="size">Size</label> | ||
</field> | ||
<field name="hits" type="text" binding="hits"> | ||
<sort /> | ||
<label id="hitCount">Hits</label> | ||
</field> | ||
<field name="created" type="date" format="HH:mm:ss" binding="created"> | ||
<sort /> | ||
<label id="created">Created</label> | ||
</field> | ||
<field name="expires" type="date" format="HH:mm:ss" binding="expires"> | ||
<sort /> | ||
<label id="expires">Expires</label> | ||
</field> | ||
<field name="actions" type="linkpanel" binding="actions"> | ||
<label id="actions">Actions</label> | ||
</field> | ||
</meta-data> | ||
<linkpanel id="actions" location="inline"> | ||
<link id="actions[1]" mode="intern" target="${current.id}"> | ||
<permissions> | ||
<permission ref="cache.element.expire" mode="set"></permission> | ||
</permissions> | ||
<label id="cache.element.expire">Remove element from cache</label> | ||
<icon>delete</icon> | ||
</link> | ||
<link id="actions[2]" mode="extern" target="${current.path}"> | ||
<label id="show">show</label> | ||
<icon>preview</icon> | ||
</link> | ||
</linkpanel> | ||
<linkpanel id="other" location="bottom"> | ||
<link id="other[1]" mode="intern" target=""> | ||
<permissions> | ||
<permission ref="cache.clear" mode="set"></permission> | ||
</permissions> | ||
<label id="cache.clear">Clear cache</label> | ||
<icon>delete</icon> | ||
</link> | ||
</linkpanel> | ||
</config> | ||
<data> | ||
<resultset chunk="0" chunkname="cacheElements" chunksize="25" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0" /> | ||
</data> | ||
</datasource> |