|
|
|
@@ -1,3 +1,12 @@ |
|
|
|
<style> |
|
|
|
#course_label::after{ |
|
|
|
display: inline-block; |
|
|
|
vertical-align: top; |
|
|
|
margin: -.2em 0 0 .2em; |
|
|
|
content: '*'; |
|
|
|
color: #db2828; |
|
|
|
} |
|
|
|
</style> |
|
|
|
{{template "base/head" .}} |
|
|
|
<div class="repository new repo" style="margin-top: 40px;"> |
|
|
|
<div class="ui middle very relaxed page grid"> |
|
|
|
@@ -9,14 +18,14 @@ |
|
|
|
</h3> |
|
|
|
<div class="ui attached segment"> |
|
|
|
{{template "base/alert" .}} |
|
|
|
<div class="inline required field" > |
|
|
|
<div class="inline required field {{if .Err_RepoName}}error{{end}}" > |
|
|
|
<label for="Alias">{{.i18n.Tr "form.courseAlias"}}</label> |
|
|
|
<input id="alias" name="alias" value="" autofocus required> |
|
|
|
<input id="alias" name="alias" value="{{.alias}}" autofocus required> |
|
|
|
<span class="help">{{.i18n.Tr "form.reponame_dash_dot_error"}}</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="inline required fields" style="margin-bottom: 0;"> |
|
|
|
<label style="text-align: right;width: 250px!important;word-wrap: break-word;">{{.i18n.Tr "form.courseAdress"}}</label> |
|
|
|
<label id="course_label" style="text-align: right;width: 250px!important;word-wrap: break-word;">{{.i18n.Tr "form.courseAdress"}}</label> |
|
|
|
<div class="required field {{if .Err_Owner}}error{{end}}" style="padding: 0;"> |
|
|
|
<div class="ui selection owner dropdown" id="ownerDropdown"> |
|
|
|
<input type="hidden" id="uid" name="uid" value="{{.Owner.Name}}" required> |
|
|
|
@@ -34,11 +43,11 @@ |
|
|
|
<span style="display: block;margin-bottom: 1em;" class="help">{{.i18n.Tr "form.repoadd_dash_dot_error"}}</span> |
|
|
|
<div class="inline field" id="repoAdress" style="display: none;word-break: break-all;"> |
|
|
|
<label for="">{{.i18n.Tr "form.RepoAdress"}}:</label> |
|
|
|
<span></span> |
|
|
|
<span style="flex: 1;"></span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="inline required field"> |
|
|
|
<label>{{.i18n.Tr "repo.model.manage.label"}}</label> |
|
|
|
<div class="inline field" style="display: flex;align-items:center;"> |
|
|
|
<label style="margin: .035714em 1em 0 0;">{{.i18n.Tr "repo.model.manage.label"}}</label> |
|
|
|
<div class="ui multiple search selection dropdown" id="dropdown_container"> |
|
|
|
<input type="hidden" name="topics" value=""> |
|
|
|
<div class="default text" id="default_text">{{.i18n.Tr "repo.repo_label_helpe"}}</div> |
|
|
|
|