@ -81,12 +81,14 @@
</div>
</div>
<div class="panel-body">
<div class="panel-body">
<div class="repo-setting-zone">
<div class="repo-setting-zone">
<button class="btn btn-gray btn-large btn-radius right" id="transfer-bu tton ">{{.i18n.Tr "repo.settings.transfer"}}</button>
<button class="btn btn-gray btn-large btn-radius right" id="transfer-repo- btn" href=" # transfer - repo - modal " > {{ .i18n.Tr "repo . settings . transfer " }}</button>
<dt>{{.i18n.Tr "repo.settings.transfer"}}</dt>
<dt>{{.i18n.Tr "repo.settings.transfer"}}</dt>
<dl>{{.i18n.Tr "repo.settings.transfer_desc"}}</dl>
<dl>{{.i18n.Tr "repo.settings.transfer_desc"}}</dl>
<div class="hide" id="transfer-form">
<div class="white-popup-block mfp-hide" id="transfer-repo-modal">
<br>
<h1 class="text-red">{{.i18n.Tr "repo.settings.transfer"}}</h1>
<form class="form-align form panel container panel-radius" action="{{.RepoLink}}/settings" method="post">
{{.i18n.Tr "repo.settings.transfer_notices" | Str2html}}
<br>
<form class="form-align form panel container panel-radius" id="transfer-repo-form" action="{{.RepoLink}}/settings" method="post">
{{.CsrfTokenHtml}}
{{.CsrfTokenHtml}}
<input type="hidden" name="action" value="transfer">
<input type="hidden" name="action" value="transfer">
<div class="panel-content">
<div class="panel-content">
@ -94,22 +96,30 @@
<label class="req" for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label>
<label class="req" for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label>
<input class="ipt ipt-large ipt-radius" id="repo_name" name="repo_name" required />
<input class="ipt ipt-large ipt-radius" id="repo_name" name="repo_name" required />
</div>
</div>
<label class="req" for="new_owner_name">{{.i18n.Tr "repo.settings.transfer_owner"}}</label>
<div class="field">
<input class="ipt ipt-large ipt-radius" id="new_owner_name" name="new_owner_name" required/>
<label class="req" for="new_owner_name">{{.i18n.Tr "repo.settings.transfer_owner"}}</label>
<span class="form-label"></span>
<input class="ipt ipt-large ipt-radius" id="new_owner_name" name="new_owner_name" required/>
<button class="btn btn-large btn-red btn-radius right">{{.i18n.Tr "repo.settings.make_transfer"}}</button>
</div>
<div class="field">
<label class="req" for="password">{{.i18n.Tr "password"}}</label>
<input class="ipt ipt-large ipt-radius" id="password" name="password" type="password" required/>
</div>
</div>
</div>
</form>
</form>
</div>
<br>
<button class="btn btn-large btn-red btn-radius" id="transfer-repo-submit">{{.i18n.Tr "repo.settings.make_transfer"}}</button>
<button class="btn btn-large btn-radius popup-modal-dismiss">{{.i18n.Tr "settings.cancel"}}</button>
</div>
</div>
</div>
<hr>
<hr>
<div class="repo-setting-zone">
<div class="repo-setting-zone">
<button class="btn btn-gray btn-large btn-radius pull-right" id="delete-bu tton ">{{.i18n.Tr "repo.settings.delete"}}</button>
<button class="btn btn-gray btn-large btn-radius pull-right" id="delete-repo- btn" href=" #dele te - repo - modal " > {{ .i18n.Tr "repo . settings . delete " }}</button>
<dt>{{.i18n.Tr "repo.settings.delete"}}</dt>
<dt>{{.i18n.Tr "repo.settings.delete"}}</dt>
<dl>{{.i18n.Tr "repo.settings.delete_desc"}}</dl>
<dl>{{.i18n.Tr "repo.settings.delete_desc"}}</dl>
<div class="hide" id="delete-form">
<div class="white-popup-block mfp-hide" id="delete-repo-modal">
<br>
<h1 class="text-red">{{.i18n.Tr "repo.settings.delete"}}</h1>
<form class="form-align form panel container panel-radius" action="{{.RepoLink}}/settings" method="post">
<br>
<form class="form-align form panel container panel-radius" id="delete-repo-form" action="{{.RepoLink}}/settings" method="post">
{{.CsrfTokenHtml}}
{{.CsrfTokenHtml}}
<input type="hidden" name="action" value="delete">
<input type="hidden" name="action" value="delete">
<div class="panel-content">
<div class="panel-content">
@ -117,13 +127,16 @@
<label class="req" for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label>
<label class="req" for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label>
<input class="ipt ipt-large ipt-radius" id="repo_name" name="repo_name" required />
<input class="ipt ipt-large ipt-radius" id="repo_name" name="repo_name" required />
</div>
</div>
<label class="req" for="password">{{.i18n.Tr "password"}}</label >
<div class="field" >
<input class="ipt ipt-large ipt-radius" id="password" name="password" type="password" required/ >
<label class="req" for="password">{{.i18n.Tr "password"}}</label >
<span class="form-label"></span >
<input class="ipt ipt-large ipt-radius" id="password" name="password" type="password" required/ >
<button class="btn btn-large btn-red btn-radius right">{{.i18n.Tr "repo.settings.confirm_delete"}}</button >
</div >
</div>
</div>
</form>
</form>
</div>
<br>
<button class="btn btn-large btn-red btn-radius" id="delete-repo-submit">{{.i18n.Tr "repo.settings.confirm_delete"}}</button>
<button class="btn btn-large btn-radius popup-modal-dismiss">{{.i18n.Tr "settings.cancel"}}</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>