|
32 | 32 | <table class="table table-no-squish table-bordered" style="min-width: 750px;" align="center"> |
33 | 33 | <thead> |
34 | 34 | <tr> |
35 | | - <td>Name</td> |
36 | | - <td>URL</td> |
37 | | - <td>API Key</td> |
38 | | - <td><i class="far fa-question-circle" title="This is only needed for corruption checks with Notifiarr" style="cursor:help;"></i> User</td> |
39 | | - <td><i class="far fa-question-circle" title="This is only needed for corruption checks with Notifiarr" style="cursor:help;"></i> Pass</td> |
| 35 | + <td style="width: 10%;">Name</td> |
| 36 | + <td style="width: 20%;">URL</td> |
| 37 | + <td style="width: 20%;">API Key</td> |
| 38 | + <td style="width: 20%;"><i class="far fa-question-circle" title="This is only needed for corruption checks with Notifiarr" style="cursor:help;"></i> User</td> |
| 39 | + <td style="width: 20%;"><i class="far fa-question-circle" title="This is only needed for corruption checks with Notifiarr" style="cursor:help;"></i> Pass</td> |
40 | 40 | <td class="w-25"> </td> |
41 | 41 | </tr> |
42 | 42 | </thead> |
|
76 | 76 | <td> |
77 | 77 | <div class="input-group mb-3"> |
78 | 78 | <input type="text" class="form-control" id="instance-apikey-<?= $starrInstance['id'] ?>" data-apikey="<?= $starrInstance['apikey'] ?>" placeholder="12345-67890-09876-54321" value="<?= truncateMiddle($starrInstance['apikey'], 20) ?>" aria-describedby="apikey-<?= $starrInstance['id'] ?>"> |
79 | | - <button class="btn btn-primary" type="button" id="apikey-<?= $starrInstance['id'] ?>" onclick="$('#instance-apikey-<?= $starrInstance['id'] ?>').val($('#instance-apikey-<?= $starrInstance['id'] ?>').data('apikey'))">Show</button> |
| 79 | + <button class="btn btn-primary" type="button" id="apikey-<?= $starrInstance['id'] ?>" onclick="$('#instance-apikey-<?= $starrInstance['id'] ?>').val($('#instance-apikey-<?= $starrInstance['id'] ?>').data('apikey'))"><i class="fas fa-eye"></i></button> |
80 | 80 | </div> |
81 | 81 | </td> |
82 | 82 | <td><input type="text" class="form-control" id="instance-username-<?= $starrInstance['id'] ?>" placeholder="username" value="<?= $starrInstance['username'] ?>"></td> |
83 | 83 | <td><input type="password" class="form-control" id="instance-password-<?= $starrInstance['id'] ?>" placeholder="password" value="<?= $starrInstance['password'] ?>"></td> |
84 | | - <td align="center"> |
85 | | - <button class="btn btn-outline-info" type="button" onclick="testStarr('<?= $starrInstance['id'] ?>', '<?= $app ?>')"><i class="fas fa-network-wired"></i> Test API</button> |
86 | | - <button class="btn btn-outline-success" type="button" onclick="saveStarr('<?= $starrInstance['id'] ?>', '<?= $app ?>')"><i class="fas fa-save"></i> Save</button> |
87 | | - <button class="btn btn-outline-danger" type="button" onclick="deleteStarr('<?= $starrInstance['id'] ?>', '<?= $app ?>')"><i class="fas fa-trash-alt"></i> Delete</button> |
| 84 | + <td align="right"> |
| 85 | + <button class="btn btn-outline-info" type="button" onclick="testStarr('<?= $starrInstance['id'] ?>', '<?= $app ?>')"><i class="fas fa-network-wired"></i></button> |
| 86 | + <button class="btn btn-outline-success" type="button" onclick="saveStarr('<?= $starrInstance['id'] ?>', '<?= $app ?>')"><i class="fas fa-save"></i></button> |
| 87 | + <button class="btn btn-outline-danger" type="button" onclick="deleteStarr('<?= $starrInstance['id'] ?>', '<?= $app ?>')"><i class="fas fa-trash-alt"></i></button> |
88 | 88 | </td> |
89 | 89 | </tr> |
90 | 90 | <?php |
|
97 | 97 | <td><input type="text" class="form-control" id="instance-apikey-99" placeholder="12345-67890-09876-54321"></td> |
98 | 98 | <td><input type="text" class="form-control" id="instance-username-99" placeholder="username"></td> |
99 | 99 | <td><input type="text" class="form-control" id="instance-password-99" placeholder="password"></td> |
100 | | - <td align="center"> |
101 | | - <button class="btn btn-outline-info" type="button" onclick="testStarr('99', '<?= $app ?>')"><i class="fas fa-network-wired"></i> Test API</button> |
102 | | - <button class="btn btn-outline-success" type="button" onclick="saveStarr('99', '<?= $app ?>')"><i class="fas fa-plus-circle"></i> Add</button> |
| 100 | + <td align="right"> |
| 101 | + <button class="btn btn-outline-info" type="button" onclick="testStarr('99', '<?= $app ?>')"><i class="fas fa-network-wired"></i></button> |
| 102 | + <button class="btn btn-outline-success" type="button" onclick="saveStarr('99', '<?= $app ?>')"><i class="fas fa-plus-circle"></i></button> |
103 | 103 | </td> |
104 | 104 | </tr> |
105 | 105 | </tbody> |
|
0 commit comments