Mercurial > kallithea
view rhodecode/templates/admin/repos/repo_edit_caches.html @ 4153:9af9953a3159 rhodecode-2.2.5-gpl
old style: make settings box expand to contain floating content and show menu nicely
The floating of the panes is hardcoded, so we also hardcode the necessary overflow auto.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 10 Dec 2013 19:28:05 +0100 |
parents | ffd45b185016 |
children |
line wrap: on
line source
${h.form(url('edit_repo_caches', repo_name=c.repo_name), method='put')} <div class="form"> <div class="fields"> ${h.submit('reset_cache_%s' % c.repo_info.repo_name,_('Invalidate repository cache'),class_="btn btn-small",onclick="return confirm('"+_('Confirm to invalidate repository cache')+"');")} <div class="field" style="border:none;color:#888"> <ul> <li>${_('Manually invalidate cache for this repository. On first access repository will be cached again')} </li> </ul> </div> <div class="field" style="border:none;"> ${_('List of cached values')} <table> <tr> <th>${_('Prefix')}</th> <th>${_('Key')}</th> <th>${_('Active')}</th> </tr> %for cache in c.repo_info.cache_keys: <tr> <td>${cache.get_prefix() or '-'}</td> <td>${cache.cache_key}</td> <td>${h.boolicon(cache.cache_active)}</td> </tr> %endfor </table> </div> </div> </div> ${h.end_form()}