forked from forgejo/forgejo
create repository from web
This commit is contained in:
parent
3b8657d917
commit
f7826d4ed7
5 changed files with 74 additions and 7 deletions
|
@ -3,7 +3,19 @@
|
|||
<div class="container">
|
||||
<form action="/repo/create" method="post" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-4 col-md-3">
|
||||
Owner: <input name="userId" type="hidden" value="1"/>lunny
|
||||
</div>
|
||||
<div class="col-md-offset-4 col-md-3">
|
||||
repo name: <input name="name" type="text"/>
|
||||
</div>
|
||||
<div class="col-md-offset-4 col-md-3">
|
||||
description(optional): <input name="desc" type="text"/>
|
||||
</div>
|
||||
<div class="col-md-offset-4 col-md-3">
|
||||
|
||||
</div>
|
||||
<div class="col-md-offset-4 col-md-3">
|
||||
<button type="submit" class="btn btn-info">Create repository</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
8
templates/repo/created.tmpl
Normal file
8
templates/repo/created.tmpl
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{template "base/head" .}}
|
||||
{{template "base/navbar" .}}
|
||||
<div class="container">
|
||||
<div class="col-md-offset-4 col-md-3">
|
||||
Created successfully!
|
||||
</div>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
Loading…
Add table
Add a link
Reference in a new issue