Skip to content

Commit

Permalink
fix: Set headers on tables where they belong
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-bjareholt committed Jun 11, 2020
1 parent 915a4cf commit f08a43b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/components/InputTimeInterval.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ div
div
table
tr
td.pr-2
th.pr-2
label(for="mode") Interval mode:
td
select(id="mode" v-model="mode")
option(value='last_duration') Last duration
option(value='range') Date range
tr(v-if="mode == 'last_duration'")
td.pr-2
th.pr-2
label(for="duration") Show last:
td
select(id="duration" :value="duration", @change="valueChanged")
Expand All @@ -23,7 +23,7 @@ div
option(:value="12*60*60") 12h
option(:value="24*60*60") 24h
tr(v-if="mode == 'range'")
td.pr-2 Range:
th.pr-2 Range:
td
input(type="date", v-model="start", @input="valueChanged")
input(type="date", v-model="end", @input="valueChanged")
Expand Down
12 changes: 6 additions & 6 deletions src/views/Bucket.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ div
h3 {{ id }}
table
tr
td Type:
th Type:
td {{ bucket.type }}
tr
td Client:
th Client:
td {{ bucket.client }}
tr
td Hostname:
th Hostname:
td {{ bucket.hostname }}
tr
td Created:
th Created:
td {{ bucket.created | iso8601 }}
tr(v-if="bucket.metadata")
td First/last event:
th First/last event:
td
| {{ bucket.metadata.start}} /
| {{ bucket.metadata.end }}
tr
td Eventcount:
th Eventcount:
td {{ eventcount }}

input-timeinterval(v-model="daterange")
Expand Down

0 comments on commit f08a43b

Please sign in to comment.