@row>
<@columns>
<@box color='danger'>
<@boxHeader title='#i18n{portal.system.manage_caches.titleCacheList}' boxTools=true>
<@tform method='post' action='jsp/admin/system/DoReloadProperties.jsp' class='pull-right'>
<@button type='submit' buttonIcon='refresh' title='#i18n{portal.system.manage_caches.titleReloadProperties}' id='reload' size='' showTitleXs=false showTitleSm=false />
<@aButton href='jsp/admin/system/CacheInfos.jsp' buttonIcon='key' title='#i18n{portal.system.manage_caches.buttonViewKeys}' size='' showTitleXs=false showTitleSm=false />
@tform>
<@tform method='post' action='jsp/admin/system/DoResetCaches.jsp' class='pull-right spaced'>
<@button type='submit' buttonIcon='trash' title='#i18n{portal.system.manage_caches.buttonFlush}' size='' color='btn-danger' showTitleXs=false showTitleSm=false />
@tform>
@boxHeader>
<@boxBody>
<@alert class='warning' title='#i18n{portal.system.manage_caches.cautionTitle}' iconTitle='exclamation-triangle' dismissible=true>#i18n{portal.system.manage_caches.cautionMessage}@alert>
<@table>
#i18n{portal.system.manage_caches.columnTitleName} |
|
#i18n{portal.system.manage_caches.columnTitleCacheSize} |
#i18n{portal.system.manage_caches.columnTitleMemorySize} |
#i18n{portal.system.manage_caches.columnTitleActions} |
<#assign id = 0>
<#list services_list as service>
<#if service.cacheEnable>
<@tag color='success' title='#i18n{portal.system.manage_caches.imgAltEnable}'>
<@icon style='check' />
@tag>
<#else>
<@tag color='danger' title='#i18n{portal.system.manage_caches.imgAltDisable}'>
<@icon style='times' />
@tag>
#if>
${service.name}
|
[
#i18n{portal.system.manage_caches.columnTitleMaxElements}: ${service.maxElements!"-"}
| #i18n{portal.system.manage_caches.columnTitleTimeToLive} : ${service.timeToLive!"-"}
]
|
${service.cacheSize} |
${service.memorySize} |
<@tform method='post' action='jsp/admin/system/ConfirmToggleCache.jsp' class="pull-right spaced">
<#if service.cacheEnable>
<@button type='submit' buttonIcon='stop' title='#i18n{portal.system.manage_caches.actionDisable}' showTitle=false color='btn-danger' />
<#else>
<@button type='submit' buttonIcon='play' title='#i18n{portal.system.manage_caches.actionEnable}' showTitle=false color='btn-success' />
#if>
@tform>
<@aButton href='jsp/admin/system/CacheInfos.jsp?id_cache=${id}' buttonIcon='eye' class="pull-right spaced" title='#i18n{portal.system.manage_caches.actionViewKeys}' showTitle=false />
<@tform method='post' action='jsp/admin/system/DoResetCaches.jsp' class="pull-right spaced">
<@button type='submit' buttonIcon='trash' title='#i18n{portal.system.manage_caches.actionClear}' showTitle=false color='btn-danger' />
@tform>
|
<#assign id = id + 1>
#list>
@table>
@boxBody>
@box>
@columns>
@row>