|
|
@@ -14,6 +14,20 @@ |
|
|
|
<input name="title" placeholder="{{.i18n.Tr "dataset.title"}}" value="{{.title}}" autofocus required maxlength="255"> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="inline field"> |
|
|
|
<label>{{.i18n.Tr "repo.visibility"}}</label> |
|
|
|
<div class="ui checkbox"> |
|
|
|
{{if .IsForcedPrivate}} |
|
|
|
<input name="private" type="checkbox" checked readonly> |
|
|
|
<label>{{.i18n.Tr "repo.visibility_helper_forced" | Safe}}</label> |
|
|
|
{{else}} |
|
|
|
<input name="private" type="checkbox" {{if .private}}checked{{end}}> |
|
|
|
<label>{{.i18n.Tr "repo.visibility_helper" | Safe}}</label> |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
<span class="help">{{.i18n.Tr "repo.visibility_description"}}</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="inline required field"> |
|
|
|
<label>{{.i18n.Tr "dataset.description"}}</label> |
|
|
|
<textarea name="description">{{.description}}</textarea> |
|
|
@@ -21,7 +35,74 @@ |
|
|
|
|
|
|
|
<div class="inline required field"> |
|
|
|
<label>{{.i18n.Tr "dataset.category"}}</label> |
|
|
|
<input name="category" placeholder="{{.i18n.Tr "dataset.category"}}" value="{{.category}}" autofocus required maxlength="255"> |
|
|
|
<div class="ui selection owner dropdown"> |
|
|
|
<input type="hidden" name="category" id="category" value="{{.category}}" required> |
|
|
|
<span class="text" style="min-width:20vw" title="自然语言处理"> |
|
|
|
自然语言处理 |
|
|
|
</span> |
|
|
|
<i class="dropdown icon"></i> |
|
|
|
<div class="menu"> |
|
|
|
<div class="item" data-value="计算机视觉、自然语言处理"> |
|
|
|
计算机视觉、自然语言处理 |
|
|
|
</div> |
|
|
|
<div class="item" data-value="计算机视觉"> |
|
|
|
计算机视觉 |
|
|
|
</div> |
|
|
|
<div class="item" data-value="深度学习"> |
|
|
|
深度学习 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="inline required field"> |
|
|
|
<label>{{.i18n.Tr "dataset.task"}}</label> |
|
|
|
<div class="ui selection owner dropdown"> |
|
|
|
<input type="hidden" name="task" id="task" value="{{.task}}" required> |
|
|
|
<span class="text" style="min-width:20vw" title="视觉问答"> |
|
|
|
视觉问答 |
|
|
|
</span> |
|
|
|
<i class="dropdown icon"></i> |
|
|
|
<div class="menu"> |
|
|
|
<div class="item" data-value="遥感图像理解"> |
|
|
|
遥感图像理解 |
|
|
|
</div> |
|
|
|
<div class="item" data-value="语音识别"> |
|
|
|
语音识别 |
|
|
|
</div> |
|
|
|
<div class="item" data-value="智能问答"> |
|
|
|
智能问答 |
|
|
|
</div> |
|
|
|
<div class="item" data-value="文本分类"> |
|
|
|
文本分类 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="inline required field"> |
|
|
|
<label>{{.i18n.Tr "dataset.licience"}}</label> |
|
|
|
<div class="ui selection owner dropdown"> |
|
|
|
<input type="hidden" name="licience" id="licience" value="{{.licience}}" required> |
|
|
|
<span class="text" style="min-width:20vw" data-value="MIT"> |
|
|
|
MIT |
|
|
|
</span> |
|
|
|
<i class="dropdown icon"></i> |
|
|
|
<div class="menu"> |
|
|
|
<div class="item" data-value="Creative Commons CC BY 4.0"> |
|
|
|
Creative Commons CC BY 4.0 |
|
|
|
</div> |
|
|
|
<div class="item" data-value="GFDL and CC BY-SA 3.0"> |
|
|
|
GFDL and CC BY-SA 3.0 |
|
|
|
</div> |
|
|
|
<div class="item" data-value="Apache 2.0"> |
|
|
|
Apache 2.0 |
|
|
|
</div> |
|
|
|
<div class="item" data-value="CC BY 2.0"> |
|
|
|
CC BY 2.0 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<br/> |
|
|
|