Make some changes on chrono

This commit is contained in:
nemunaire 2014-01-20 18:59:15 +01:00
commit 363ba3325a
5 changed files with 23 additions and 11 deletions

View file

@ -70,7 +70,7 @@
<input type="text" class="form-control" name="f{$k}_path" id="f{$k}_path" value="{$file.path_orig|escape}">
</div>
<div class="form-group">
<label for="f{$k}_sha1">SHA-1</label>{if is_file($file.path)} Calculated from {$file.path}: {sha1_file($file.path)}{/if}
<label for="f{$k}_sha1">SHA-1</label>{if is_file($file.path)} Calculated from {$file.path}: {sha1_file($file.path)} <span class="label {if sha1_file($file.path) != $file.sha1}label-danger">pas bon{else}label-success">ok{/if}</span>{/if}
<input type="text" class="form-control" name="f{$k}_sha1" id="f{$k}_sha1" value="{$file.sha1|escape}">
</div>
</div>