Page MenuHomeSoftware Heritage

D7405.id26762.diff
No OneTemporary

D7405.id26762.diff

diff --git a/assets/src/bundles/webapp/webapp.css b/assets/src/bundles/webapp/webapp.css
--- a/assets/src/bundles/webapp/webapp.css
+++ b/assets/src/bundles/webapp/webapp.css
@@ -762,3 +762,8 @@
.invalid-feedback {
font-size: 100%;
}
+
+.swh-required-label:after {
+ content: "*";
+ color: #FF0000;
+}
diff --git a/swh/web/templates/add_forge_now/create-request.html b/swh/web/templates/add_forge_now/create-request.html
--- a/swh/web/templates/add_forge_now/create-request.html
+++ b/swh/web/templates/add_forge_now/create-request.html
@@ -63,7 +63,7 @@
{% csrf_token %}
<div class="form-row">
<div class="form-group col-md-5">
- <label for="swh-input-forge-type">Forge type</label>
+ <label for="swh-input-forge-type" class="swh-required-label">Forge type</label>
<select class="form-control" id="swh-input-forge-type" name="forge_type" autofocus>
{% for forge_type in forge_types %}
<option value={{ forge_type }}>{{ forge_type}}</option>
@@ -75,7 +75,7 @@
</div>
<div class="form-group col-md-7">
- <label for="swh-input-forge-url">Forge URL</label>
+ <label for="swh-input-forge-url" class="swh-required-label">Forge URL</label>
<input type="text" class="form-control" id="swh-input-forge-url" name="forge_url" required>
<small class="form-text text-muted">
Remote URL of the forge to list.
@@ -85,7 +85,7 @@
<div class="form-row">
<div class="form-group col-md-5">
- <label for="swh-input-forge-contact-name">Forge contact name</label>
+ <label for="swh-input-forge-contact-name" class="swh-required-label">Forge contact name</label>
<input type="text" class="form-control" name="forge_contact_name" id="swh-input-forge-contact-name" required>
<small class="form-text text-muted">
Name of the Forge administrator.
@@ -93,7 +93,7 @@
</div>
<div class="form-group col-md-7">
- <label for="swh-input-forge-contact-email">Forge contact email</label>
+ <label for="swh-input-forge-contact-email" class="swh-required-label">Forge contact email</label>
<input type="email" class="form-control" name="forge_contact_email" id="swh-input-forge-contact-email" required>
<small class="form-text text-muted">
Email of the forge administrator. The given email address will not be used for any purpose outside the “add forge now” process.
diff --git a/swh/web/templates/add_forge_now/request-dashboard.html b/swh/web/templates/add_forge_now/request-dashboard.html
--- a/swh/web/templates/add_forge_now/request-dashboard.html
+++ b/swh/web/templates/add_forge_now/request-dashboard.html
@@ -96,7 +96,7 @@
{% csrf_token %}
<div class="form-row">
<div class="form-group col-md-6">
- <label for="decisionOptions">Choose your decision</label>
+ <label for="decisionOptions" class="swh-required-label">Choose your decision</label>
<select class="form-control" id="decisionOptions" name="new_status">
</select>
</div>
@@ -104,10 +104,10 @@
<div class="form-row">
<div class="form-group col-md-12">
- <label for="swh-input-forge-comment">Comment</label>
+ <label for="swh-input-forge-comment" class="swh-required-label">Comment</label>
<textarea class="form-control" id="updateComment" name="text" rows="3" required></textarea>
<small class="form-text text-muted">
- Enter any comment related to your decision.
+ Enter a comment related to your decision.
</small>
</div>
</div>

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 11:21 AM (9 h, 34 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221123

Event Timeline