summaryrefslogtreecommitdiffstats
path: root/templates/repo/projects
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-11 10:27:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-11 10:27:00 +0000
commit65aa53fc52ff15efe54df4147564828d535837f8 (patch)
tree31c51dad04fdcca80e6d3043c8bd49d2f1a51f83 /templates/repo/projects
parentInitial commit. (diff)
downloadforgejo-debian.tar.xz
forgejo-debian.zip
Adding upstream version 8.0.3.HEADupstream/8.0.3upstreamdebian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.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 00000000..9eae401f
--- /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 00000000..e70f3bca
--- /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 00000000..05ad7264
--- /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" .}}