diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-03-27 02:59:54 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-03-31 02:01:14 +0300 |
commit | 1f9ed4c310fe029b960b2ebf9c32e57c5d1498f3 (patch) | |
tree | 971c868c0ee2e6acbfc4fd79213afbf4dbfd7cff /src/components/Global | |
parent | 5ee04ef522612e27d6fef02154bf23e45076ceee (diff) | |
download | webui-vue-1f9ed4c310fe029b960b2ebf9c32e57c5d1498f3.tar.xz |
Add local user account manual unlock
Adds ability to manually unlock user account if account
service settings lockout duration set to 0.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I75351c5e03bd5403e8dc7679d8d98b90adb90277
Diffstat (limited to 'src/components/Global')
-rw-r--r-- | src/components/Global/Alert.vue | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/components/Global/Alert.vue b/src/components/Global/Alert.vue index bc65b6e9..d59b25ca 100644 --- a/src/components/Global/Alert.vue +++ b/src/components/Global/Alert.vue @@ -1,5 +1,5 @@ <template> - <b-alert :show="show" :variant="variant"> + <b-alert :show="show" :variant="variant" :class="{ small }"> <div v-if="variant == 'warning' || variant == 'danger'" class="alert-icon"> <status-icon :status="variant" /> </div> @@ -27,7 +27,15 @@ export default { variant: { type: String, default: '' - } + }, + small: Boolean } }; </script> + +<style lang="scss" scoped> +.alert.small { + padding: $spacer / 2; + font-size: 1rem; +} +</style> |