Commit a56ec22e authored by nwindis's avatar nwindis
Browse files

refactor: move misc icons when header string is deactivated

closes #264
parent 631116a6
Pipeline #197617 passed with stages
in 5 minutes and 14 seconds
<template> <template>
<q-header :class="$q.dark.isActive ? 'bg-dark' : 'bg-secondary text-primary'"> <q-header :class="$q.dark.isActive ? 'bg-dark' : 'bg-secondary text-primary'">
<div class="header__wrap"> <div class="header__wrap">
<q-toolbar> <q-toolbar v-if="config.headers.info">
<Infobar <Infobar
v-if="config.headers.info && manifests.length" v-if="config.headers.info && manifests.length"
class="col-xs-9" class="col-xs-9"
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
:manifests="manifests" :manifests="manifests"
/> />
<div class="row no-wrap justify-end col-xs-3"> <div class="row no-wrap justify-end col-xs-3">
<!-- TODO: make component out of the following and re-use it to avoid duplication -->
<Language <Language
v-if="standalone" v-if="standalone"
:config="config" :config="config"
...@@ -34,6 +35,19 @@ ...@@ -34,6 +35,19 @@
v-if="config.headers.toggle" v-if="config.headers.toggle"
:panels="panels" :panels="panels"
/> />
<div
v-if="!config.headers.info"
class="row no-wrap justify-end col-xs-3"
>
<!-- TODO: make component out of the following and re-use it to avoid duplication -->
<Language
v-if="standalone"
:config="config"
/>
<Color :projectcolors="projectcolors" />
<Softwareinfo />
</div>
</q-toolbar> </q-toolbar>
</div> </div>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment