mirror of https://github.com/lissy93/dashy
chore: undo more formatting
This commit is contained in:
parent
4471e316ff
commit
f62f628805
|
@ -1,10 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div :class="`widget-base ${loading ? 'is-loading' : ''}`">
|
<div :class="`widget-base ${ loading ? 'is-loading' : '' }`">
|
||||||
<!-- Update and Full-Page Action Buttons -->
|
<!-- Update and Full-Page Action Buttons -->
|
||||||
<Button :click="update" class="action-btn update-btn" v-if="!hideControls && !loading">
|
<Button :click="update" class="action-btn update-btn" v-if="!hideControls && !loading">
|
||||||
<UpdateIcon />
|
<UpdateIcon />
|
||||||
</Button>
|
</Button>
|
||||||
<Button :click="fullScreenWidget" class="action-btn open-btn" v-if="!hideControls && !error && !loading">
|
<Button :click="fullScreenWidget"
|
||||||
|
class="action-btn open-btn" v-if="!hideControls && !error && !loading">
|
||||||
<OpenIcon />
|
<OpenIcon />
|
||||||
</Button>
|
</Button>
|
||||||
<!-- Loading Spinner -->
|
<!-- Loading Spinner -->
|
||||||
|
@ -18,13 +19,16 @@
|
||||||
<p class="retry-link" @click="update">Retry</p>
|
<p class="retry-link" @click="update">Retry</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- Widget Label -->
|
<!-- Widget Label -->
|
||||||
<div class="widget-label" v-if="widgetOptions.label">
|
<div class="widget-label" v-if="widgetOptions.label">{{ widgetOptions.label }}</div>
|
||||||
{{ widgetOptions.label }}
|
|
||||||
</div>
|
|
||||||
<!-- Widget -->
|
<!-- Widget -->
|
||||||
<div :class="`widget-wrap ${error ? 'has-error' : ''}`">
|
<div :class="`widget-wrap ${ error ? 'has-error' : '' }`">
|
||||||
<component v-bind:is="component" :options="widgetOptions" @loading="setLoaderState" @error="handleError"
|
<component
|
||||||
:ref="widgetRef" />
|
v-bind:is="component"
|
||||||
|
:options="widgetOptions"
|
||||||
|
@loading="setLoaderState"
|
||||||
|
@error="handleError"
|
||||||
|
:ref="widgetRef"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -250,9 +254,7 @@ export default {
|
||||||
border-radius: var(--curve-factor);
|
border-radius: var(--curve-factor);
|
||||||
background: #ffff0040;
|
background: #ffff0040;
|
||||||
|
|
||||||
&:hover {
|
&:hover { background: none; }
|
||||||
background: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue