Addomg and update files inside importify folder
This commit is contained in:
@@ -20,7 +20,48 @@
|
||||
<link href="https://cdn.jsdelivr.net/npm/boxicons@2.0.7/css/boxicons.min.css" rel="stylesheet">
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10/dist/sweetalert2.min.js"></script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@10/dist/sweetalert2.min.css">
|
||||
<style>
|
||||
.table-custom tr {
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
}
|
||||
|
||||
.table-custom td,
|
||||
.table-custom th {
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.table-custom .btn {
|
||||
padding: 2px 15px;
|
||||
line-height: 1.7;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
/* Questo allinea verticalmente gli elementi nella riga */
|
||||
gap: 10px;
|
||||
/* Questo crea una piccola distanza tra gli elementi nella riga */
|
||||
}
|
||||
|
||||
.table-custom .form-control,
|
||||
.table-custom .form-select {
|
||||
height: 25px;
|
||||
/* Puoi modificare questo valore per adattarlo al tuo design */
|
||||
padding: 2px 6px;
|
||||
/* riduce la dimensione del padding */
|
||||
font-size: 14px;
|
||||
/* riduce la dimensione del font */
|
||||
}
|
||||
|
||||
.table-custom .form-control-sm.analysis-input {
|
||||
height: 25px;
|
||||
/* Questo modifica la dimensione degli input con classe 'form-control-sm' e 'analysis-input' */
|
||||
padding: 2px 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
@@ -70,9 +111,64 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="header-title pb-3 mt-0">Importify: <?php echo $dashboard; ?></h5>
|
||||
<a class="btn btn-primary" href="insert-importifytemplate.php" role="button">Insert new template</a>
|
||||
<a class="btn btn-success" href="rsl-category.php" role="button">Import File</a>
|
||||
<a href="component.php"><button type="button" class="btn btn-info w-md waves-effect waves-light">Hystory Import</button></a>
|
||||
<a href="standards.php"><button type="button" class="btn btn-danger w-md waves-effect waves-light">Dasboard</button></a>
|
||||
|
||||
|
||||
<br><br>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-sm sm-0">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th><strong>Template Name</strong></th>
|
||||
<th><strong>Description</strong></th>
|
||||
<th><strong>File Source</strong></th>
|
||||
<th><strong>Lab Name</strong></th>
|
||||
<th><strong>Action</strong></th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $templateimportify = new WA_MySQLi_RS("rsl", $repnew, 0);
|
||||
$templateimportify->setQuery("SELECT * FROM template_importify");
|
||||
$templateimportify->execute();
|
||||
|
||||
$wa_startindex = 0;
|
||||
while (!$templateimportify->atEnd()) {
|
||||
$wa_startindex = $templateimportify->Index;
|
||||
?> <tr>
|
||||
<td><?php echo ($templateimportify->getColumnVal("templatename")); ?></td>
|
||||
<td><?php echo ($templateimportify->getColumnVal("templatedescription")); ?></td>
|
||||
<td><?php echo ($templateimportify->getColumnVal("fileextension")); ?></td>
|
||||
<td><?php echo ($templateimportify->getColumnVal("labname")); ?></td>
|
||||
|
||||
|
||||
|
||||
|
||||
<td>
|
||||
<a href="synoptic-table.php?idrsl=<?php echo ($templateimportify->getColumnVal("idimporttemplates")); ?>"><button type="button" class="btn btn-success waves-effect waves-light" data-toggle="tooltip" title="Synoptic Table"><i class="bx bx-table font-size-16 align-middle"></i></button></a>
|
||||
<a class="btn btn-success" href="material-rsl.php?id=<?php echo ($templateimportify->getColumnVal("idimporttemplates")); ?>" role="button" data-toggle="tooltip" title="Go"><i class="fas fa-angle-double-right font-size-16 align-middle"></i></a>
|
||||
|
||||
<a class="btn btn-danger canc-btn" href="cancel-rsl.php?id=<?php echo ($templateimportify->getColumnVal("idimporttemplates")); ?>" role="button" data-toggle="tooltip" title="Delete"><i class="fas fa-trash font-size-16 align-middle"></i></a>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<?php $templateimportify->moveNext();
|
||||
}
|
||||
$templateimportify->moveFirst(); //return RS to first record
|
||||
unset($wa_startindex);
|
||||
unset($wa_repeatcount);
|
||||
|
||||
?></tbody>
|
||||
</table>
|
||||
</div><!--end table-responsive-->
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user