forked from forgejo/forgejo
introduce git-shell
This commit is contained in:
parent
2b10fdc4dc
commit
c50a3503e6
16 changed files with 155 additions and 135 deletions
|
@ -7,8 +7,9 @@
|
|||
{{.i18n.Tr "repo.wiki.new_page"}}
|
||||
</div>
|
||||
<form class="ui form" action="{{.Link}}" method="post">
|
||||
{{.CsrfTokenHtml}}
|
||||
<div class="field">
|
||||
<input name="title" value="{{.title}}" autofocus>
|
||||
<input name="title" value="{{.title}}" autofocus required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<textarea id="edit-area" name="content" data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.RepoLink}}">{{.i18n.Tr "repo.wiki.welcome"}}</textarea>
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{{template "base/head" .}}
|
||||
<div class="ui container center">
|
||||
401 Unauthorized
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
|
@ -1,5 +0,0 @@
|
|||
{{template "base/head" .}}
|
||||
<div class="ui container center">
|
||||
403 Forbidden
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
Loading…
Add table
Add a link
Reference in a new issue