Skip to content

Commit c59d75f

Browse files
committed
Fix modal form styling
1 parent 3c8b480 commit c59d75f

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

pgcommitfest/commitfest/templates/patch.html

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ <h4 class="modal-title">Flag as committed</h4>
224224
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
225225
</div>
226226
<div class="modal-body">
227-
<form class="form" style="margin-bottom: 5px;">
228-
<div class="form-group">
229-
<label for="committerlist">Committer</label>
230-
<select id="committerSelect" class="enable-selectize">
227+
<form>
228+
<div class="mb-3">
229+
<label for="committerSelect" class="form-label">Committer</label>
230+
<select id="committerSelect" class="enable-selectize form-select">
231231
<option value="" style="display:none;"></option>
232232
{%for c in committers%}
233233
<option value="{{c.user.username}}">{{c.user.first_name}} {{c.user.last_name}}</option>
@@ -253,20 +253,27 @@ <h4 class="modal-title">Add annotation</h4>
253253
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
254254
</div>
255255
<div id="annotateMessageBody" class="modal-body">
256-
<div>Pick one of the messages in this thread</div>
257-
<div id="annotateListWrap">
258-
<select id="annotateMessageList" style="width:100%;" onChange="annotateMsgPicked()">
259-
</select>
260-
</div>
261-
<div>Or copy/paste the message-id:</div>
262-
<div id="annotateMsgidWrap">
263-
<input id="annotateMsgId" type="text" style="width:100%" onKeyUp="annotateChanged()">
264-
</div>
265-
<div><br/></div>
266-
<div>Enter a message for the annotation</div>
267-
<div id="annotateTextWrap">
268-
<input id="annotateMessage" type="text" style="width:100%" onKeyUp="annotateChanged()">
269-
</div>
256+
<form>
257+
<div class="mb-3">
258+
<label for="annotateMessageList" class="form-label">Pick one of the messages in this thread</label>
259+
<div id="annotateListWrap">
260+
<select id="annotateMessageList" class="form-select" onChange="annotateMsgPicked()">
261+
</select>
262+
</div>
263+
</div>
264+
<div class="mb-3">
265+
<label for="annotateMsgId" class="form-label">Or copy/paste the message-id:</label>
266+
<div id="annotateMsgidWrap">
267+
<input id="annotateMsgId" type="text" class="form-control" onKeyUp="annotateChanged()">
268+
</div>
269+
</div>
270+
<div class="mb-3">
271+
<label for="annotateMessage" class="form-label">Enter a message for the annotation</label>
272+
<div id="annotateTextWrap">
273+
<input id="annotateMessage" type="text" class="form-control" onKeyUp="annotateChanged()">
274+
</div>
275+
</div>
276+
</form>
270277
</div>
271278
<div class="modal-footer">
272279
<a href="#" class="btn btn-secondary" data-bs-dismiss="modal">Close</a>

0 commit comments

Comments
 (0)