mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
* WIP for using json all the time * Updates to render * adds a new component for json * Updates styles * Adds nesting * Adds field list * Adds expanding * Adds new composable for event source * Creates an add button * Removes unused code * Adds and removes fields with defaults * Fixes jumping when adding new fields * Returns JSON correctly * Fixes little bugs * Fixes js tests * Adds vscode * Fixes json buffer error * Fixes extra line * Fixes tests * Fixes tests and adds support for search * Refactors visible payload keys to a composable * Fixes typescript errors and refactors * Fixes visible keys by ComputedRef<Ref> * Fixes search bugs * Updates tests * Fixes go tests * Fixes scroll view * Fixes vue tsc errors * Fixes EOF error * Fixes build error * Uses application/ld+json * Fixes arrays and records * Marks for json too
17 lines
498 B
Vue
17 lines
498 B
Vue
<template>
|
|
<div class="columns is-marginless has-text-weight-bold is-family-monospace">
|
|
<span class="column is-ellipsis">
|
|
{{ container.name }}
|
|
<span class="tag is-dark">{{ container.image.replace(/@sha.*/, "") }}</span>
|
|
</span>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { Container } from "@/types/Container";
|
|
import { inject, ComputedRef } from "vue";
|
|
const container = inject("container") as ComputedRef<Container>;
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|