|
273 | 273 | </div> |
274 | 274 | </template> |
275 | 275 | </div> |
276 | | - |
277 | | - <div class="row"> |
278 | | - <NcButton |
279 | | - variant="primary" |
280 | | - :disabled="cannotRegister" |
281 | | - @click="isEdit ? updateDaemon() : registerDaemon()"> |
282 | | - {{ isEdit ? t('app_api', 'Save') : t('app_api', 'Register') }} |
283 | | - <template #icon> |
284 | | - <NcLoadingIcon v-if="registeringDaemon" :size="20" /> |
285 | | - <Check v-else :size="20" /> |
286 | | - </template> |
287 | | - </NcButton> |
288 | | - <NcButton variant="secondary" @click="verifyDaemonConnection"> |
289 | | - {{ t('app_api', 'Check connection') }} |
290 | | - <template #icon> |
291 | | - <NcLoadingIcon v-if="verifyingDaemonConnection" :size="20" /> |
292 | | - <Connection v-else :size="20" /> |
293 | | - </template> |
294 | | - </NcButton> |
295 | | - </div> |
296 | 276 | </form> |
297 | 277 | </div> |
| 278 | + <div class="row footer"> |
| 279 | + <NcButton |
| 280 | + variant="primary" |
| 281 | + :disabled="cannotRegister" |
| 282 | + @click="isEdit ? updateDaemon() : registerDaemon()"> |
| 283 | + {{ isEdit ? t('app_api', 'Save') : t('app_api', 'Register') }} |
| 284 | + <template #icon> |
| 285 | + <NcLoadingIcon v-if="registeringDaemon" :size="20" /> |
| 286 | + <Check v-else :size="20" /> |
| 287 | + </template> |
| 288 | + </NcButton> |
| 289 | + <NcButton variant="secondary" @click="verifyDaemonConnection"> |
| 290 | + {{ t('app_api', 'Check connection') }} |
| 291 | + <template #icon> |
| 292 | + <NcLoadingIcon v-if="verifyingDaemonConnection" :size="20" /> |
| 293 | + <Connection v-else :size="20" /> |
| 294 | + </template> |
| 295 | + </NcButton> |
| 296 | + </div> |
298 | 297 | </NcModal> |
299 | 298 | </div> |
300 | 299 | </template> |
@@ -748,14 +747,6 @@ export default { |
748 | 747 | text-decoration: underline; |
749 | 748 | } |
750 | 749 |
|
751 | | - .row { |
752 | | - display: flex; |
753 | | - justify-content: space-between; |
754 | | - align-items: end; |
755 | | - margin-top: 10px; |
756 | | - gap: 4px; |
757 | | - } |
758 | | -
|
759 | 750 | .row-switch { |
760 | 751 | display: flex; |
761 | 752 | justify-content: space-between; |
@@ -803,6 +794,22 @@ export default { |
803 | 794 | margin: 0 !important; |
804 | 795 | } |
805 | 796 | } |
| 797 | +
|
| 798 | +.row { |
| 799 | + display: flex; |
| 800 | + justify-content: space-between; |
| 801 | + align-items: end; |
| 802 | + margin-top: 10px; |
| 803 | + gap: 4px; |
| 804 | +} |
| 805 | +
|
| 806 | +.footer { |
| 807 | + position: sticky; |
| 808 | + bottom: 0; |
| 809 | + background-color: var(--color-main-background); |
| 810 | + padding: 20px; |
| 811 | + margin: 0; |
| 812 | +} |
806 | 813 | </style> |
807 | 814 |
|
808 | 815 | <style lang="scss"> |
|
0 commit comments