Yoshie Muranaka | 92a0a4a | 2020-07-15 10:30:31 -0700 | [diff] [blame] | 1 | <template> |
| 2 | <b-modal |
Yoshie Muranaka | 98bb24e | 2020-10-06 10:00:19 -0700 | [diff] [blame] | 3 | id="modal-reboot-backup-bmc" |
Yoshie Muranaka | 92a0a4a | 2020-07-15 10:30:31 -0700 | [diff] [blame] | 4 | :ok-title="$t('pageFirmware.modal.rebootFromBackup.primaryAction')" |
Sukanya Pandey | 3835713 | 2020-12-22 13:40:59 +0530 | [diff] [blame] | 5 | :cancel-title="$t('global.action.cancel')" |
Yoshie Muranaka | 92a0a4a | 2020-07-15 10:30:31 -0700 | [diff] [blame] | 6 | :title="$t('pageFirmware.modal.rebootFromBackup.title')" |
| 7 | @ok="$emit('ok')" |
| 8 | > |
| 9 | <p> |
| 10 | {{ $t('pageFirmware.modal.rebootFromBackup.message1', { backup }) }} |
| 11 | </p> |
| 12 | <p> |
| 13 | {{ $t('pageFirmware.modal.rebootFromBackup.message2', { current }) }} |
| 14 | </p> |
| 15 | <p class="font-weight-bold"> |
| 16 | {{ $t('pageFirmware.modal.rebootFromBackup.message3', { backup }) }} |
| 17 | </p> |
| 18 | </b-modal> |
| 19 | </template> |
| 20 | |
| 21 | <script> |
| 22 | export default { |
| 23 | props: { |
| 24 | current: { |
| 25 | type: String, |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 26 | required: true, |
Yoshie Muranaka | 92a0a4a | 2020-07-15 10:30:31 -0700 | [diff] [blame] | 27 | }, |
| 28 | backup: { |
| 29 | type: String, |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 30 | required: true, |
| 31 | }, |
| 32 | }, |
Yoshie Muranaka | 92a0a4a | 2020-07-15 10:30:31 -0700 | [diff] [blame] | 33 | }; |
| 34 | </script> |