Browse Source

fix issue

pull/1839/head
zhoupzh 3 years ago
parent
commit
77308e501e
2 changed files with 7 additions and 7 deletions
  1. +1
    -1
      templates/repo/cloudbrain/image/submit.tmpl
  2. +6
    -6
      web_src/js/components/images/selectImages.vue

+ 1
- 1
templates/repo/cloudbrain/image/submit.tmpl View File

@@ -37,7 +37,7 @@
</div> </div>
<div class="inline required field"> <div class="inline required field">
<label class="label_color" for="">{{$.i18n.Tr "repo.images.name"}}</label> <label class="label_color" for="">{{$.i18n.Tr "repo.images.name"}}</label>
<input type="text" name="tag" required placeholder="{{$.i18n.Tr "repo.images.name_placerholder"}}" style="width: 80%;">
<input type="text" name="tag" required placeholder="{{$.i18n.Tr "repo.images.name_placerholder"}}" style="width: 80%;" maxlength="100">
<span class="tooltips" style="display: block;padding-left: 0.5rem;">{{.i18n.Tr "repo.images.name_rule"}}</span> <span class="tooltips" style="display: block;padding-left: 0.5rem;">{{.i18n.Tr "repo.images.name_rule"}}</span>
</div> </div>
<div class="inline required field"> <div class="inline required field">


+ 6
- 6
web_src/js/components/images/selectImages.vue View File

@@ -20,8 +20,8 @@
<div style="display: flex;align-items: center;justify-content: space-between;padding: 1rem 0;border-bottom:1px solid #F5F5F5" v-for="(publicData,index) in tableDataPublic" :key="index"> <div style="display: flex;align-items: center;justify-content: space-between;padding: 1rem 0;border-bottom:1px solid #F5F5F5" v-for="(publicData,index) in tableDataPublic" :key="index">
<div style="width: 90%;"> <div style="width: 90%;">
<div style="display: flex;align-items: center;justify-content: space-between;"> <div style="display: flex;align-items: center;justify-content: space-between;">
<span class="panel_dataset_name" style="margin-left: 0;">{{publicData.tag}} </span>
<div v-if="!!publicData.topics">
<span class="panel_dataset_name text-over" style="margin-left: 0;">{{publicData.tag}} </span>
<div v-if="!!publicData.topics" class="text-over">
<span v-for="(topic,index) in publicData.topics" class="ui repo-topic label topic">{{topic}}</span> <span v-for="(topic,index) in publicData.topics" class="ui repo-topic label topic">{{topic}}</span>
</div> </div>
</div> </div>
@@ -52,8 +52,8 @@
<div style="display: flex;align-items: center;justify-content: space-between;padding: 1rem 0;border-bottom:1px solid #F5F5F5" v-for="(customData,index) in tableDataCustom" :key="index"> <div style="display: flex;align-items: center;justify-content: space-between;padding: 1rem 0;border-bottom:1px solid #F5F5F5" v-for="(customData,index) in tableDataCustom" :key="index">
<div style="width: 90%;"> <div style="width: 90%;">
<div style="display: flex;align-items: center;justify-content: space-between;"> <div style="display: flex;align-items: center;justify-content: space-between;">
<span class="panel_dataset_name" style="margin-left: 0;">{{customData.tag}} </span>
<div v-if="!!customData.topics">
<span class="panel_dataset_name text-over" style="margin-left: 0;">{{customData.tag}} </span>
<div v-if="!!customData.topics" class="text-over">
<span v-for="(topic,index) in customData.topics" class="ui repo-topic label topic">{{topic}}</span> <span v-for="(topic,index) in customData.topics" class="ui repo-topic label topic">{{topic}}</span>
</div> </div>
</div> </div>
@@ -84,8 +84,8 @@
<div style="display: flex;align-items: center;justify-content: space-between;padding: 1rem 0;border-bottom:1px solid #F5F5F5" v-for="(starData,index) in tableDataStar" :key="index"> <div style="display: flex;align-items: center;justify-content: space-between;padding: 1rem 0;border-bottom:1px solid #F5F5F5" v-for="(starData,index) in tableDataStar" :key="index">
<div style="width: 90%;"> <div style="width: 90%;">
<div style="display: flex;align-items: center;justify-content: space-between;"> <div style="display: flex;align-items: center;justify-content: space-between;">
<span class="panel_dataset_name" style="margin-left: 0;">{{starData.tag}} </span>
<div v-if="!!starData.topics">
<span class="panel_dataset_name text-over" style="margin-left: 0;">{{starData.tag}} </span>
<div v-if="!!starData.topics" class="text-over">
<span v-for="(topic,index) in starData.topics" class="ui repo-topic label topic">{{topic}}</span> <span v-for="(topic,index) in starData.topics" class="ui repo-topic label topic">{{topic}}</span>
</div> </div>
</div> </div>


Loading…
Cancel
Save