summaryrefslogtreecommitdiffstats
path: root/templates/repo/projects
diff options
context:
space:
mode:
Diffstat (limited to '')
-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" .}}