aboutsummaryrefslogtreecommitdiffstats
path: root/templates/projects/view.tmpl
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-08-28 22:14:51 +0800
committerGitHub <noreply@github.com>2023-08-28 22:14:51 +0800
commit4803766f7a5d1ca86a1e62949dcd9a9ff8d0f64c (patch)
tree777d8a03c5933b99519a2f5afaef86e245892b6c /templates/projects/view.tmpl
parenta587d2526163153a4d992527fe6040d578beaa83 (diff)
downloadgitea-4803766f7a5d1ca86a1e62949dcd9a9ff8d0f64c.tar.gz
gitea-4803766f7a5d1ca86a1e62949dcd9a9ff8d0f64c.zip
Refactor some CSS styles and simplify code (#26771)
Refactor some CSS styles and simplify code. Some styles are not in use, remove them.
Diffstat (limited to 'templates/projects/view.tmpl')
-rw-r--r--templates/projects/view.tmpl8
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl
index d6b7dbc776..ecd07bf5ec 100644
--- a/templates/projects/view.tmpl
+++ b/templates/projects/view.tmpl
@@ -43,9 +43,7 @@
<label for="new_project_column_color">{{ctx.Locale.Tr "repo.projects.column.color"}}</label>
<div class="color picker column">
<input class="color-picker" maxlength="7" placeholder="#c320f6" id="new_project_column_color_picker" name="color">
- <div class="column precolors">
- {{template "repo/issue/label_precolors"}}
- </div>
+ {{template "repo/issue/label_precolors"}}
</div>
</div>
@@ -125,9 +123,7 @@
<label for="new_project_column_color">{{ctx.Locale.Tr "repo.projects.column.color"}}</label>
<div class="color picker column">
<input class="color-picker" maxlength="7" placeholder="#c320f6" id="new_project_column_color" name="color" value="{{.Color}}">
- <div class="column precolors">
- {{template "repo/issue/label_precolors"}}
- </div>
+ {{template "repo/issue/label_precolors"}}
</div>
</div>