comparison rhodecode/templates/admin/settings/settings.html @ 2192:a801c4542f48 beta

added useful system info + packages to settings page.
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 15 Apr 2012 03:21:04 +0200
parents f91d3f9b7230
children 17ff5693566b
comparison
equal deleted inserted replaced
2191:050c8f08f7af 2192:a801c4542f48
208 </div> 208 </div>
209 </div> 209 </div>
210 </div> 210 </div>
211 ${h.end_form()} 211 ${h.end_form()}
212 212
213 <h3>${_('System Info and Packages')}</h3>
214 <div class="form">
215 <div>
216 <h5 id="expand_modules" style="cursor: pointer">&darr; ${_('show')} &darr;</h5>
217 </div>
218 <div id="expand_modules_table" style="display:none">
219 <h5>Python - ${c.py_version}</h5>
220 <h5>System - ${c.platform}</h5>
221
222 <table class="table" style="margin:0px 0px 0px 20px">
223 <colgroup>
224 <col style="width:220px">
225 </colgroup>
226 <tbody>
227 %for key, value in c.modules:
228 <tr>
229 <th>${key}</th>
230 <td>${value}</td>
231 </tr>
232 %endfor
233 </tbody>
234 </table>
235 </div>
236 </div>
237
238 <script type="text/javascript">
239 YUE.on('expand_modules','click',function(e){
240 YUD.setStyle('expand_modules_table','display','');
241 YUD.setStyle('expand_modules','display','none');
242 })
243 </script>
244
213 </div> 245 </div>
214 </%def> 246 </%def>