-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfile-upload-dialog.html
52 lines (50 loc) · 1.88 KB
/
file-upload-dialog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>File Upload Dialog</title>
<script src="scripts/file-upload-dialog.js"></script>
</head>
<body>
<p>
<ol>
<li>
<p>Ensure the source CSV file follows the following conventions : </p>
<p>
<strong>Mandatory fields:</strong>
<ul>
<li><strong>WorkItemId</strong> - The Id for the Work item which we will add a new discussion comment to, use semi-colon to specify multiple ids.</li>
<li><strong>Title</strong> - The title to be used in the table which we will render for the discussion comment.</li>
</ul>
</p>
<p>
<strong>File format:</strong>
<ul>
<li>Comma delimited file.</li>
<li>Strings quoted with double quotes.</li>
</ul>
</p>
<p> Sample CSV File :</p>
<img src="images/csv-contents-sample.png" alt="CSV Contents Sample"/>
</li>
<li>
<p>
<label><strong>Select</strong> your CSV file : </label>
</p>
<p>
<input id="file-input" type="file" name="file-input" accept=".csv"/>
</p>
</li>
<li>
<p>
<strong>Click</strong> import below.
</p>
</li>
<li>
<p>Once <strong>imported</strong> your CSV Data will be rendered as a table in the work item discussion thread as seen below :</p>
<img src="images/discussion-comment.png" alt="Discussion Comment Sample"/>
</li>
</ol>
</p>
</body>
</html>