mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 21:33:18 +01:00
Removes html for templates
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<main>
|
<main>
|
||||||
<mobile-menu v-if="isMobile"></mobile-menu>
|
<mobile-menu v-if="isMobile"></mobile-menu>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<div class="name columns is-marginless">
|
<div class="name columns is-marginless">
|
||||||
<span class="column">{{ value }}</span>
|
<span class="column">{{ value }}</span>
|
||||||
<span class="column is-narrow" v-if="closable">
|
<span class="column is-narrow" v-if="closable">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<div ref="observer" class="control" :class="{ 'is-loading': isLoading }"></div>
|
<div ref="observer" class="control" :class="{ 'is-loading': isLoading }"></div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<infinite-loader :onLoadMore="loadOlderLogs" :enabled="messages.length > 100"></infinite-loader>
|
<infinite-loader :onLoadMore="loadOlderLogs" :enabled="messages.length > 100"></infinite-loader>
|
||||||
<slot :messages="messages"></slot>
|
<slot :messages="messages"></slot>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<ul class="events" :class="settings.size">
|
<ul class="events" :class="settings.size">
|
||||||
<li v-for="item in filtered" :key="item.key" :class="{ event: !!item.event }">
|
<li v-for="item in filtered" :key="item.key" :class="{ event: !!item.event }">
|
||||||
<span class="date" v-if="settings.showTimestamp">{{ item.date | relativeTime }}</span>
|
<span class="date" v-if="settings.showTimestamp">{{ item.date | relativeTime }}</span>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<log-event-source :id="id" v-slot="eventSource">
|
<log-event-source :id="id" v-slot="eventSource">
|
||||||
<log-viewer :messages="eventSource.messages"></log-viewer>
|
<log-viewer :messages="eventSource.messages"></log-viewer>
|
||||||
</log-event-source>
|
</log-event-source>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<aside>
|
<aside>
|
||||||
<a
|
<a
|
||||||
role="button"
|
role="button"
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
<h1 class="title has-text-warning is-marginless">Dozzle</h1>
|
<h1 class="title has-text-warning is-marginless">Dozzle</h1>
|
||||||
<p class="menu-label is-hidden-mobile" :class="{ 'is-active': showNav }">Containers</p>
|
<p class="menu-label is-hidden-mobile" :class="{ 'is-active': showNav }">Containers</p>
|
||||||
<ul class="menu-list is-hidden-mobile" :class="{ 'is-active': showNav }">
|
<ul class="menu-list is-hidden-mobile" :class="{ 'is-active': showNav }">
|
||||||
<li v-for="item in visibleContainers">
|
<li v-for="item in visibleContainers" :key="item.id">
|
||||||
<router-link
|
<router-link
|
||||||
:to="{ name: 'container', params: { id: item.id, name: item.name } }"
|
:to="{ name: 'container', params: { id: item.id, name: item.name } }"
|
||||||
active-class="is-active"
|
active-class="is-active"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<section :class="{ 'is-full-height-scrollable': scrollable }">
|
<section :class="{ 'is-full-height-scrollable': scrollable }">
|
||||||
<header v-if="$slots.header">
|
<header v-if="$slots.header">
|
||||||
<slot name="header"></slot>
|
<slot name="header"></slot>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<div class="search columns is-gapless is-vcentered" v-show="showSearch" v-if="settings.search">
|
<div class="search columns is-gapless is-vcentered" v-show="showSearch" v-if="settings.search">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<p class="control has-icons-left">
|
<p class="control has-icons-left">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<aside>
|
<aside>
|
||||||
<div class="columns is-marginless">
|
<div class="columns is-marginless">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<scrollable-view :scrollable="activeContainers.length > 0">
|
<scrollable-view :scrollable="activeContainers.length > 0">
|
||||||
<template v-slot:header v-if="activeContainers.length > 0">
|
<template v-slot:header v-if="activeContainers.length > 0">
|
||||||
<container-title :value="allContainersById[id].name"></container-title>
|
<container-title :value="allContainersById[id].name"></container-title>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<div class="hero is-fullheight is-dark">
|
<div class="hero is-fullheight is-dark">
|
||||||
<div class="hero-body">
|
<div class="hero-body">
|
||||||
<div class="container has-text-centered">
|
<div class="container has-text-centered">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html">
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="has-underline">
|
<div class="has-underline">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<template lang="html"> </template>
|
<template> </template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapActions, mapGetters, mapState } from "vuex";
|
import { mapActions, mapGetters, mapState } from "vuex";
|
||||||
|
|||||||
Reference in New Issue
Block a user