You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by tn...@apache.org on 2025/03/11 22:25:54 UTC

(tooling-trusted-release) 02/02: start working on adding a vote policy, handle ASFQuartExceptions

This is an automated email from the ASF dual-hosted git repository.

tn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git

commit 296a1f8ccb509eec5c143c0c786c684d77b0bea8
Author: Thomas Neidhart <tn...@apache.org>
AuthorDate: Tue Mar 11 23:25:43 2025 +0100

    start working on adding a vote policy, handle ASFQuartExceptions
---
 atr/templates/project-view.html      | 24 ++++++++++++------------
 atr/templates/voting-policy-add.html | 22 ++++++++++++----------
 2 files changed, 24 insertions(+), 22 deletions(-)

diff --git a/atr/templates/project-view.html b/atr/templates/project-view.html
index 4c6be61..ee95c6e 100644
--- a/atr/templates/project-view.html
+++ b/atr/templates/project-view.html
@@ -173,20 +173,20 @@
       <a class="add-link"
          href="{{ url_for('root_project_voting_policy_add', project_name=project.project_name) }}"><i class="fa-solid fa-plus"></i></a>
     </div>
-<!--    <div class="card-meta"></div>-->
+    <!--    <div class="card-meta"></div>-->
     <div class="card-body">
       {% if project.vote_policy %}
-      {% set vp = project.vote_policy %}
-      <div class="key-card">
-        <table>
-          <tbody>
-            <tr>
-              <th>Mailto Addresses</th>
-              <td>{{ vp.mailto_addresses }}</td>
-            </tr>
-          </tbody>
-        </table>
-      </div>
+        {% set vp = project.vote_policy %}
+        <div class="key-card">
+          <table>
+            <tbody>
+              <tr>
+                <th>Mailto Addresses</th>
+                <td>{{ vp.mailto_addresses }}</td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
       {% endif %}
     </div>
   </div>
diff --git a/atr/templates/voting-policy-add.html b/atr/templates/voting-policy-add.html
index 72bb23a..2a1024d 100644
--- a/atr/templates/voting-policy-add.html
+++ b/atr/templates/voting-policy-add.html
@@ -141,7 +141,8 @@
             <input type="hidden"
                    id="project_name"
                    name="project_name"
-                   readonly value="{{ project.display_name }}"/>
+                   readonly
+                   value="{{ project.display_name }}" />
             <p id="project_name_text">{{ project.display_name }}</p>
           </td>
         </tr>
@@ -156,7 +157,9 @@
                 <input type="email"
                        id="mailto_addresses"
                        name="mailto_addresses"
-                       pattern=".+@apache\.org" size="30" required />
+                       pattern=".+@apache\.org"
+                       size="30"
+                       required />
               </div>
             </div>
           </td>
@@ -169,9 +172,7 @@
           <td>
             <div class="checkbox-group">
               <div>
-                <input type="checkbox"
-                       id="manual_vote"
-                       name="manual_vote" />
+                <input type="checkbox" id="manual_vote" name="manual_vote" />
                 <label for="manual_vote">Manual Voting</label>
                 <span id="manual_vote-help" class="help-text">If this is set then the vote will be completely manual and following policy is ignored.</span>
               </div>
@@ -201,7 +202,11 @@
             <label for="release_checklist">Release checklist:</label>
           </th>
           <td>
-            <textarea type="text" style="resize: vertical;" id="release_checklist" name="release_checklist" rows="10"></textarea>
+            <textarea type="text"
+                      style="resize: vertical"
+                      id="release_checklist"
+                      name="release_checklist"
+                      rows="10"></textarea>
             <span id="release_checklist-help" class="help-text">Markdown text describing how to test release candidates.</span>
           </td>
         </tr>
@@ -213,10 +218,7 @@
           <td>
             <div class="checkbox-group">
               <div>
-                <input type="checkbox"
-                       id="pause_for_rm"
-                       name="pause_for_rm"
-                       checked />
+                <input type="checkbox" id="pause_for_rm" name="pause_for_rm" checked />
                 <label for="pause_for_rm">Enabled</label>
               </div>
             </div>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org