mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
create repository from web
This commit is contained in:
@@ -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" .}}
|
Reference in New Issue
Block a user