diff options
author | Runxi Yu <me@runxiyu.org> | 2025-09-14 22:28:12 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-09-14 22:28:12 +0800 |
commit | 01e4fd482ebcc827d3c76c00910529abbf666454 (patch) | |
tree | 300156b866864a07a0ed7680e6572ae97c20e325 /forged/templates/group.tmpl | |
parent | Update dependencies (diff) | |
download | forge-01e4fd482ebcc827d3c76c00910529abbf666454.tar.gz forge-01e4fd482ebcc827d3c76c00910529abbf666454.tar.zst forge-01e4fd482ebcc827d3c76c00910529abbf666454.zip |
Add basic mailing listspre-refactor
Diffstat (limited to 'forged/templates/group.tmpl')
-rw-r--r-- | forged/templates/group.tmpl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/forged/templates/group.tmpl b/forged/templates/group.tmpl index 3338f9b..531559a 100644 --- a/forged/templates/group.tmpl +++ b/forged/templates/group.tmpl @@ -31,6 +31,7 @@ </tr> </thead> <tbody> + <input type="hidden" name="op" value="create_repo" /> <tr> <th scope="row">Name</th> <td class="tdinput"> @@ -72,6 +73,47 @@ </table> </form> </div> + <div class="padding-wrapper"> + <form method="POST" enctype="application/x-www-form-urlencoded"> + <table> + <thead> + <tr> + <th class="title-row" colspan="2"> + Create mailing list + </th> + </tr> + </thead> + <tbody> + <input type="hidden" name="op" value="create_list" /> + <tr> + <th scope="row">Name</th> + <td class="tdinput"> + <input id="list-name-input" name="list_name" type="text" /> + </td> + </tr> + <tr> + <th scope="row">Description</th> + <td class="tdinput"> + <input id="list-desc-input" name="list_desc" type="text" /> + </td> + </tr> + </tbody> + <tfoot> + <tr> + <td class="th-like" colspan="2"> + <div class="flex-justify"> + <div class="left"> + </div> + <div class="right"> + <input class="btn-primary" type="submit" value="Create" /> + </div> + </div> + </td> + </tr> + </tfoot> + </table> + </form> + </div> {{- end -}} </main> <footer> |