Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ml_models_index.vue « components « index « models « routes « model_registry « ml « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 37e5877ec52b87155035c0700eefb9f9895d9bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<script>
import { GlLink } from '@gitlab/ui';
import * as translations from '~/ml/model_registry/routes/models/index/translations';

export default {
  name: 'MlExperimentsIndexApp',
  components: {
    GlLink,
  },
  props: {
    models: {
      type: Array,
      required: true,
    },
  },
  i18n: translations,
};
</script>

<template>
  <div>
    <div class="detail-page-header gl-flex-wrap">
      <div class="detail-page-header-body">
        <div class="page-title gl-flex-grow-1 gl-display-flex gl-align-items-center">
          <h2 class="gl-font-size-h-display gl-my-0">{{ $options.i18n.TITLE_LABEL }}</h2>
        </div>
      </div>
    </div>

    <div v-for="model in models" :key="model.name">
      <gl-link :href="model.path"> {{ model.name }} / {{ model.version }} </gl-link>
    </div>
  </div>
</template>