Browse Source

feat: format the tmpl

tags/v1.21.12.1
colorfulberry 5 years ago
parent
commit
e3e2119a6f
1 changed files with 29 additions and 29 deletions
  1. +29
    -29
      templates/repo/cloudbrain/new.tmpl

+ 29
- 29
templates/repo/cloudbrain/new.tmpl View File

@@ -1,33 +1,33 @@
{{template "base/head" .}}
<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>
{{template "base/footer" .}}

Loading…
Cancel
Save