summaryrefslogtreecommitdiffstats
path: root/templates/repo/projects
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-10-18 20:33:49 +0200
committerDaniel Baumann <daniel@debian.org>2024-10-18 20:33:49 +0200
commitdd136858f1ea40ad3c94191d647487fa4f31926c (patch)
tree58fec94a7b2a12510c9664b21793f1ed560c6518 /templates/repo/projects
parentInitial commit. (diff)
downloadforgejo-upstream.tar.xz
forgejo-upstream.zip
Adding upstream version 9.0.0.upstream/9.0.0upstreamdebian
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'templates/repo/projects')
-rw-r--r--templates/repo/projects/list.tmpl8
-rw-r--r--templates/repo/projects/new.tmpl8
-rw-r--r--templates/repo/projects/view.tmpl15
3 files changed, 31 insertions, 0 deletions
diff --git a/templates/repo/projects/list.tmpl b/templates/repo/projects/list.tmpl
new file mode 100644
index 0000000..9eae401
--- /dev/null
+++ b/templates/repo/projects/list.tmpl
@@ -0,0 +1,8 @@
+{{template "base/head" .}}
+<div role="main" aria-label="{{.Title}}" class="page-content repository projects milestones">
+ {{template "repo/header" .}}
+ <div class="ui container">
+ {{template "projects/list" .}}
+ </div>
+</div>
+{{template "base/footer" .}}
diff --git a/templates/repo/projects/new.tmpl b/templates/repo/projects/new.tmpl
new file mode 100644
index 0000000..e70f3bc
--- /dev/null
+++ b/templates/repo/projects/new.tmpl
@@ -0,0 +1,8 @@
+{{template "base/head" .}}
+<div role="main" aria-label="{{.Title}}" class="page-content repository projects edit-project new milestone">
+ {{template "repo/header" .}}
+ <div class="ui container">
+ {{template "projects/new" .}}
+ </div>
+</div>
+{{template "base/footer" .}}
diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl
new file mode 100644
index 0000000..05ad726
--- /dev/null
+++ b/templates/repo/projects/view.tmpl
@@ -0,0 +1,15 @@
+{{template "base/head" .}}
+<div role="main" aria-label="{{.Title}}" class="page-content repository projects view-project">
+ {{template "repo/header" .}}
+ <div class="ui container padded">
+ <div class="tw-flex tw-justify-between tw-items-center tw-mb-4">
+ {{template "repo/issue/navbar" .}}
+ <a class="ui small primary button" href="{{.RepoLink}}/issues/new/choose?project={{.Project.ID}}">{{ctx.Locale.Tr "repo.issues.new"}}</a>
+ </div>
+ </div>
+ <div class="ui container fluid padded">
+ {{template "projects/view" .}}
+ </div>
+</div>
+
+{{template "base/footer" .}}