Skip to content

Commit

Permalink
Removes html for templates
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed May 23, 2020
1 parent f026e72 commit 19ce70b
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion assets/App.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<main>
<mobile-menu v-if="isMobile"></mobile-menu>

Expand Down
2 changes: 1 addition & 1 deletion assets/components/ContainerTitle.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<div class="name columns is-marginless">
<span class="column">{{ value }}</span>
<span class="column is-narrow" v-if="closable">
Expand Down
2 changes: 1 addition & 1 deletion assets/components/InfiniteLoader.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<div ref="observer" class="control" :class="{ 'is-loading': isLoading }"></div>
</template>

Expand Down
2 changes: 1 addition & 1 deletion assets/components/LogEventSource.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<div>
<infinite-loader :onLoadMore="loadOlderLogs" :enabled="messages.length > 100"></infinite-loader>
<slot :messages="messages"></slot>
Expand Down
2 changes: 1 addition & 1 deletion assets/components/LogViewer.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<ul class="events" :class="settings.size">
<li v-for="item in filtered" :key="item.key" :class="{ event: !!item.event }">
<span class="date" v-if="settings.showTimestamp">{{ item.date | relativeTime }}</span>
Expand Down
2 changes: 1 addition & 1 deletion assets/components/LogViewerWithSource.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<log-event-source :id="id" v-slot="eventSource">
<log-viewer :messages="eventSource.messages"></log-viewer>
</log-event-source>
Expand Down
4 changes: 2 additions & 2 deletions assets/components/MobileMenu.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<aside>
<a
role="button"
Expand All @@ -11,7 +11,7 @@
<h1 class="title has-text-warning is-marginless">Dozzle</h1>
<p class="menu-label is-hidden-mobile" :class="{ 'is-active': showNav }">Containers</p>
<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
:to="{ name: 'container', params: { id: item.id, name: item.name } }"
active-class="is-active"
Expand Down
2 changes: 1 addition & 1 deletion assets/components/ScrollableView.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<section :class="{ 'is-full-height-scrollable': scrollable }">
<header v-if="$slots.header">
<slot name="header"></slot>
Expand Down
2 changes: 1 addition & 1 deletion assets/components/Search.vue
Original file line number Diff line number Diff line change
@@ -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="column">
<p class="control has-icons-left">
Expand Down
2 changes: 1 addition & 1 deletion assets/components/SideMenu.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<aside>
<div class="columns is-marginless">
<div class="column">
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/Container.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<scrollable-view :scrollable="activeContainers.length > 0">
<template v-slot:header v-if="activeContainers.length > 0">
<container-title :value="allContainersById[id].name"></container-title>
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/Index.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<div class="hero is-fullheight is-dark">
<div class="hero-body">
<div class="container has-text-centered">
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/Settings.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html">
<template>
<div>
<section class="section">
<div class="has-underline">
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/Show.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template lang="html"> </template>
<template> </template>

<script>
import { mapActions, mapGetters, mapState } from "vuex";
Expand Down

0 comments on commit 19ce70b

Please sign in to comment.