Overview
Comment: | Style des logs d'erreur |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
00d6a26caaada882084b79264bbc1de0 |
User & Date: | bohwaz on 2018-11-13 15:58:11 |
Other Links: | manifest | tags |
Context
2018-11-16
| ||
16:33 | Améliorer performances et temps d'attente pour SQLite check-in: 68844e02d3 user: bohwaz tags: trunk | |
2018-11-13
| ||
15:58 | Style des logs d'erreur check-in: 00d6a26caa user: bohwaz tags: trunk | |
2018-11-12
| ||
23:01 | Correction: certains sous-comptes avec un solde nul étaient affichés dans le bilan check-in: dc4ae45d81 user: bohwaz tags: trunk | |
Changes
Modified src/templates/admin/config/logs.tpl from [3e30c074ee] to [bdfa29c9cf].
|
| | > | | | | > > > | < | | | | | | | | | | > > > | | | > | | | > | > | < < | | | | | | | | > | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | {include file="admin/_head.tpl" title="Journaux" current="config" custom_css=["styles/config.css"]} {include file="admin/config/_menu.tpl" current="logs"} {if ERRORS_ENABLE_LOG_VIEW} <ul class="actions sub"> <li{if $type != 'errors'} class="current"{/if}><a href="{$self_url_no_qs}">Actions utilisateurs</a></li> <li{if $type == 'errors'} class="current"{/if}><a href="?type=errors">Erreurs système</a></li> </ul> {/if} {if isset($reports) && isset($id)} <section class="error"> {foreach from=$main.errors item="error"} <h2 class="ruler">{$error.type}: {$error.message} [Code: {$error.errorCode}]</h2> {if !empty($error.backtrace)} {foreach from=$error.backtrace item=trace} <article class="trace"> {if $trace.function} <h4> {$trace.function}{if !empty($trace.args)} ({$trace.args|count} arg.){/if} {if !empty($trace.args)} <table> {foreach from=$trace.args key=name item=arg} <tr> <th>{$name}</th> <td>{$arg}</td> </tr> {/foreach} </table> {/if} </h4> {/if} {if $trace.file}<h5>{$trace.file}:{$trace.line}</h5>{/if} {if !empty($trace.code)} <pre>{foreach from=$trace.code item=line key=n}{if $n == $trace.line}<b>{/if}<i>{$n}</i> {$line}{if $n == $trace.line}</b>{/if}<br />{/foreach}</pre> {/if} </article> {/foreach} {/if} {/foreach} {foreach from=$reports item=report} <article class="event"> <h2 class="ruler">Occurence du {$report.context.date|date_fr}</h2> <table class="list"> {foreach from=$report.context key="k" item="v"} <tr> <th>{$k}</th> <td>{if $k == 'date'}{$v|date_fr}{else}{$v}{/if}</td> </tr> {/foreach} </table> </article> {/foreach} </section> {elseif isset($errors)} <p class="help"> Liste des erreurs système et de code rencontrées par Garradin. Cliquer sur un des bugs pour le rapporter aux développeur⋅euses de Garradin. </p> {if !count($errors)} |
︙ | ︙ |
Added src/www/admin/static/styles/config.css version [ec00c1eea1].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | .error .trace { border: 1px solid #ccc; margin: 1em; } .error .trace h4 { background: #ccc; padding: .5em; } .error .trace h5 { background: #ddd; padding: .5em; } .error .trace pre i { color: #999; } .error .trace pre b { background: #fcc; display: inline-block; width: 100%; } .error .trace h4 table { float: right; background: #ddd; } .error .trace h4 table td, .error .trace h4 table th { border: 1px solid #999; padding: .2em .5em; } .error .event table { margin: .5em; } |