Skip to content

Commit 7286a02

Browse files
committed
Fixed some more sonarqube issues
1 parent e4111a4 commit 7286a02

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

conditional/templates/major_project_submission.html

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,25 +43,25 @@ <h3 class="mb-4">Major Project Form</h3>
4343
</label>
4444

4545
<input
46-
class="form-control mb-4"
47-
id="name"
48-
name="name"
49-
type="text"
50-
maxlength="64"
51-
placeholder="A clever name for your project, sometimes people will come up with an acronym."
46+
class="form-control mb-4"
47+
id="name"
48+
name="name"
49+
type="text"
50+
maxlength="64"
51+
placeholder="A clever name for your project, sometimes people will come up with an acronym."
5252
>
5353

5454
<label for="tldr" class="d-block h5 mt-4 mb-2">
5555
Short Description / TL;DR
5656
</label>
5757

5858
<input
59-
class="form-control"
60-
id="tldr"
61-
name="tldr"
62-
type="text"
63-
maxlength="64"
64-
placeholder="A quick, one-sentence pitch for your project and what it does."
59+
class="form-control"
60+
id="tldr"
61+
name="tldr"
62+
type="text"
63+
maxlength="64"
64+
placeholder="A quick, one-sentence pitch for your project and what it does."
6565
>
6666

6767
<div class="row mt-3">
@@ -118,7 +118,7 @@ <h3 class="mb-4">Major Project Form</h3>
118118

119119
<div class="row mt-3">
120120
<div class="col-lg-5">
121-
<label class="d-block h5 mt-4 mb-2">
121+
<label for="links" class="d-block h5 mt-4 mb-2">
122122
Project Links
123123
</label>
124124

@@ -134,7 +134,7 @@ <h3 class="mb-4">Major Project Form</h3>
134134
<div class="col-lg-5 mt-4">
135135
<div class="dropzone border rounded text-center p-4" id="project-files">
136136
<div class="dz-message">
137-
<img src="../images/photo_video.svg" width="72">
137+
<img src="../images/photo_video.svg" width="72" alt="">
138138

139139
<div class="font-weight-bold mt-2">
140140
Upload Media
@@ -198,9 +198,10 @@ <h4 class="font-weight-bold mb-1">
198198
</h4>
199199

200200
<img
201-
class="rounded-circle mr-2"
202-
width="36"
203-
src="https://profiles.csh.rit.edu/image/{{p['username']}}"
201+
class="rounded-circle mr-2"
202+
width="36"
203+
alt="User profile picture of the submitter"
204+
src="https://profiles.csh.rit.edu/image/{{p['username']}}"
204205
>
205206

206207
<small>
@@ -317,7 +318,10 @@ <h5 class="img-header"><strong>Images</strong></h5>
317318
<p class="mb-0 h6 line-med no-imgs">No images uploaded</p>
318319
{% else %}
319320
{% for f in p['files'] %}
320-
<img class="proj-img" src="https://assets.csh.rit.edu/major-project-media/{{ f }}"/>
321+
<img
322+
class="proj-img"
323+
src="https://assets.csh.rit.edu/major-project-media/{{ f }}"
324+
alt="User submitted image for the project"/>
321325
{% endfor %}
322326
{% endif %}
323327
</div>

0 commit comments

Comments
 (0)