| @@ -1,33 +1,33 @@ | |||||
| {{template "base/head" .}} | {{template "base/head" .}} | ||||
| <div class="repository new repo"> | <div class="repository new repo"> | ||||
| {{template "repo/header" .}} | |||||
| <div class="ui middle very relaxed page grid"> | |||||
| <div class="column"> | |||||
| <form class="ui form" action="/repo/create" method="post"> | |||||
| {{.CsrfTokenHtml}} | |||||
| <h3 class="ui top attached header"> | |||||
| New Cloudbrain task | |||||
| </h3> | |||||
| <div class="ui attached segment"> | |||||
| <br> | |||||
| <div class="inline required field"> | |||||
| <label>镜像</label> | |||||
| <input name="title" id="issue_title" placeholder="输入镜像" value="{{.image}}" tabindex="3" autofocus required maxlength="255"> | |||||
| </div> | |||||
| <div class="inline required field"> | |||||
| <label>启动命令</label> | |||||
| <textarea name="command" rows="10">{{.command}}</textarea> | |||||
| </div> | |||||
| <div class="inline field"> | |||||
| <label></label> | |||||
| <button class="ui green button"> | |||||
| Create Cloudbrain | |||||
| </button> | |||||
| <a class="ui button" href="/">Cancel</a> | |||||
| </div> | |||||
| </div> | |||||
| </form> | |||||
| </div> | |||||
| </div> | |||||
| {{template "repo/header" .}} | |||||
| <div class="ui middle very relaxed page grid"> | |||||
| <div class="column"> | |||||
| <form class="ui form" action="/repo/create" method="post"> | |||||
| {{.CsrfTokenHtml}} | |||||
| <h3 class="ui top attached header"> | |||||
| New Cloudbrain task | |||||
| </h3> | |||||
| <div class="ui attached segment"> | |||||
| <br> | |||||
| <div class="inline required field"> | |||||
| <label>镜像</label> | |||||
| <input name="title" id="issue_title" placeholder="输入镜像" value="{{.image}}" tabindex="3" autofocus required maxlength="255"> | |||||
| </div> | |||||
| <div class="inline required field"> | |||||
| <label>启动命令</label> | |||||
| <textarea name="command" rows="10">{{.command}}</textarea> | |||||
| </div> | |||||
| <div class="inline field"> | |||||
| <label></label> | |||||
| <button class="ui green button"> | |||||
| Create Cloudbrain | |||||
| </button> | |||||
| <a class="ui button" href="/">Cancel</a> | |||||
| </div> | |||||
| </div> | |||||
| </form> | |||||
| </div> | |||||
| </div> | |||||
| </div> | </div> | ||||
| {{template "base/footer" .}} | {{template "base/footer" .}} | ||||