123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- User::check_access('skanman','read');
- require_once(__DIR__.SLASH.'Scanfile.class.php');
- $scanfile = Scanfile::provide();
- ?>
- <div class="plugin-skanman">
- <div id="scanfile-form" class="row justify-content-md-center scanfile-form" data-action="skanman_scanfile_save" data-id="<?php echo $scanfile->id; ?>">
- <div class="col-md-4 shadow-sm bg-white p-3">
- <h3>Information fichier</h3>
- <label for="label">Nom</label>
- <input value="<?php echo $scanfile->label; ?>" class="form-control mb-3" type="text" id="label" >
- <i class="far fa-file-image text-info"></i> Fichier PNG, <span class="text-muted">Taille <span class="font-weight-bold"><?php echo $scanfile->size; ?></span> Mo</span>, envoyé le <span class="font-weight-bold"><?php echo complete_date($scanfile->created).' '.date('H:i',$scanfile->created); ?></span> par <img src="action.php?action=account_avatar_download&user=<?php echo $scanfile->creator; ?>&extension=jpg" class="avatar-mini avatar-rounded avatar-login" title="Jean CARRUESCO"><?php echo $scanfile->creator; ?><hr>
- <label for="tag">Étiquettes</label>
- <input value="<?php echo $scanfile->tag; ?>" class="form-control" type="text" data-type="tag" data-multiple=true id="tag" >
- <label for="creator">Propriétaire</label>
- <input value="<?php echo $scanfile->creator; ?>" class="form-control" type="text" data-type="user" id="creator" >
- <label for="client">Client</label>
- <input value="<?php echo $scanfile->client; ?>" class="form-control" type="text" data-type="client" id="client" >
- <label for="path">Chemin</label><br>
- <img src="media/skanman/public/tree.png" class="shadow-sm">
- <br>
- </div>
- <div class="col-md-7 shadow-sm bg-light p-0 ml-2">
- <ul class="navbar navbar-dark bg-dark mr-auto p-2" style="list-style-type: none;">
- <li class="nav-item active">
- <a href="index.php?module=skanman&page=list.scanfile" class="btn btn-small btn-dark left"><i class="fas fa-chevron-left"></i> Précédent</a>
- </li>
- <li class="nav-item">
- <div onclick="skanman_scanfile_save();" class="btn btn-small btn-success right">Suivant <i class="fas fa-chevron-right"></i></div>
- </li>
- </ul>
- <div class="clear"></div>
- <div class="p-3">
- <img src="media/skanman/public/invoice.webp" class="m-auto d-block">
- </div>
- </div>
- </div>
- </div>
|