add temp spinner for online plugins

This commit is contained in:
Jiiks 2018-01-21 12:24:43 +02:00
parent 87fcff3ffb
commit a288d2473f
2 changed files with 19 additions and 1 deletions

View File

@ -42,4 +42,19 @@
this.refreshLocalPlugins();
}
}
</script>
</script>
<style>
.bd-spinner-container {
display: flex;
flex-grow: 1;
align-items: center;
align-content: center;
justify-content: center;
}
.bd-spinner-container .bd-spinner-2 {
width: 200px;
height: 200px;
}
</style>

View File

@ -12,5 +12,8 @@
<div v-if="local" class="bd-flex bd-flex-grow bd-flex-col bd-plugins-container bd-local-plugins">
<PluginCard v-for="plugin in localPlugins" :plugin="plugin" :key="plugin.id"/>
</div>
<div v-if="!local" class="bd-spinner-container">
<div class="bd-spinner-2"></div>
</div>
</div>
</SettingsWrapper>