Add basic htmllint config

This commit is contained in:
Peter deHaan 2017-06-09 10:21:22 -07:00
parent 3c9889c075
commit f0b4bb7341
5 changed files with 542 additions and 22 deletions

View file

@ -13,13 +13,13 @@
<div id="download">
{{#if filename}}
<div class="title">
Your friend is sending you a file: <br>
Your friend is sending you a file: <br />
{{{filename}}} ({{{filesize}}})
</div>
<div class="share-window">
<button id="download-btn" onclick="download()">Download File</button>
<img id="expired-img" src="/resources/link_expired.png"/>
<img id="expired-img" src="/resources/link_expired.png" alt="Link expired" />
</div>
<div class="send-new" id="send-file">
Send your own files
@ -30,11 +30,13 @@
</div>
<div class="share-window">
<img src="/resources/link_expired.png"/>
<img src="/resources/link_expired.png" alt="Link expired" />
</div>
<!-- htmllint id-no-dup="false" -->
<div class="send-new" id="send-file">
Send your own files
</div>
<!-- htmllint tag-bans="$previous" -->
{{/if}}
</div>
</div>

View file

@ -15,7 +15,7 @@
Share your files quickly, privately and securely.
</div>
<div class="upload-window" ondrop="onUpload(event)" ondragover="allowDrop(event)">
<div id="upload-img"><img src="/resources/upload.svg"/></div>
<div id="upload-img"><img src="/resources/upload.svg" alt="Upload"/></div>
<div>
DRAG &amp; DROP
</div>
@ -36,10 +36,12 @@
<div id="file-list">
<table id="uploaded-files">
<tr>
<th width=30%>File</th>
<th width=45%>Copy URL</th>
<th width=18%>Expires in</th>
<th width=7%>Delete</th>
<!-- htmllint attr-bans="false" -->
<th width="30%">File</th>
<th width="45%">Copy URL</th>
<th width="18%">Expires in</th>
<th width="7%">Delete</th>
<!-- htmllint tag-bans="$previous" -->
</tr>
</table>
</div>
@ -49,7 +51,7 @@
Uploading
</div>
<div class="upload-window">
<div id="upload-img"><img src="/resources/upload.svg"/></div>
<div id="upload-img"><img src="/resources/upload.svg" alt="Upload" /></div>
<div class="upload">
<!-- progress bar here -->
</div>
@ -61,7 +63,7 @@
Copy the link below to share your file!
</div>
<div class="share-window">
<img src="/resources/share.png"/>
<img src="/resources/share.png" alt="Share" />
<div id="share-window-r">
<div id="copy">
<input id="link" type="url" value="" readonly/>
@ -76,7 +78,6 @@
Send another file
</div>
</div>
</div>
</body>