Add software availability check API and enhance profile management features
This commit is contained in:
@@ -113,6 +113,9 @@ $view .= '
|
||||
<option value="1"'.($status==1?' selected':'').'>'.$prod_status_1.'</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="filter-group search-group">
|
||||
<input type="text" name="search" placeholder="'.$software_version_search.'" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="filter-actions">
|
||||
@@ -121,16 +124,6 @@ $view .= '
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search">
|
||||
<label for="search">
|
||||
<input id="search" type="text" name="search" placeholder="'.$software_version_search.'" value="" class="responsive-width-100">
|
||||
<i class="fas fa-search"></i>
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
';
|
||||
|
||||
@@ -146,7 +139,6 @@ $view .= '
|
||||
<th>Mandatory</th>
|
||||
<th>Latest</th>
|
||||
<th>Status</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -163,14 +155,13 @@ $view .= '
|
||||
foreach ($responses as $response){
|
||||
|
||||
$view .= '
|
||||
<tr>
|
||||
<tr onclick="window.location.href=\'index.php?page=products_software_version&rowID='.$response->rowID.'\'" style="cursor: pointer;">
|
||||
<td>'.$response->name.'</td>
|
||||
<td>'.$response->version.'</td>
|
||||
<td>'.$response->hw_version.'</td>
|
||||
<td>'.($response->mandatory ? 'Yes' : 'No').'</td>
|
||||
<td>'.($response->latest ? 'Yes' : 'No').'</td>
|
||||
<td>'.($response->status ? 'Active' : 'Inactive').'</td>
|
||||
<td><a href="index.php?page=products_software_version&rowID='.$response->rowID.'" class="btn_link">View</a></td>
|
||||
</tr>
|
||||
';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user