-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvar.js
94 lines (86 loc) · 4.31 KB
/
var.js
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
//Example data for first time user
export const clientData = {
name: "Sample Project",
1: [
[
false,
0,
0,
0,
`Welcome to taskr!\n\nA simple way to organize your SOC projects`,
],
[
false,
0,
0,
0,
`There are 3 columns available for every line item.\nEach column can represent anything. For example:\nPrepwork, Inquiry Notes, Inspection Notes`,
],
[
false,
1,
2,
3,
`Click on any of your columns to set various status markers to track your completion.\nTry it out!`,
],
],
2: [
,
[
false,
0,
0,
0,
`There are 3 columns available for every line item.\nEach column can represent anything. For example:\nPrepwork, Inquiry Notes, Inspection Notes`,
],
[
false,
1,
2,
3,
`Click on any of your columns to set various status markers to track your completion.\nTry it out!`,
],
],
2: [
[
true,
0,
0,
0,
`You can click to the side of a line item number to flag it inorder to make it stand out.`,
],
[
false,
0,
0,
0,
`These text fields can be used for tracking open items!\nGet started by adding your own project by clicking the icon at the top right!`,
],
],
};
//SVGs for checkboxes and followup markers
export const checkSVG = `<svg class="svg-icon" viewBox="0 0 20 20">
<path fill="none" d="M7.629,14.566c0.125,0.125,0.291,0.188,0.456,0.188c0.164,0,0.329-0.062,0.456-0.188l8.219-8.221c0.252-0.252,0.252-0.659,0-0.911c-0.252-0.252-0.659-0.252-0.911,0l-7.764,7.763L4.152,9.267c-0.252-0.251-0.66-0.251-0.911,0c-0.252,0.252-0.252,0.66,0,0.911L7.629,14.566z"></path>
</svg>`;
export const xSVG = `<svg class="svg-icon" viewBox="0 0 20 20">
<path fill="none" d="M15.898,4.045c-0.271-0.272-0.713-0.272-0.986,0l-4.71,4.711L5.493,4.045c-0.272-0.272-0.714-0.272-0.986,0s-0.272,0.714,0,0.986l4.709,4.711l-4.71,4.711c-0.272,0.271-0.272,0.713,0,0.986c0.136,0.136,0.314,0.203,0.492,0.203c0.179,0,0.357-0.067,0.493-0.203l4.711-4.711l4.71,4.711c0.137,0.136,0.314,0.203,0.494,0.203c0.178,0,0.355-0.067,0.492-0.203c0.273-0.273,0.273-0.715,0-0.986l-4.711-4.711l4.711-4.711C16.172,4.759,16.172,4.317,15.898,4.045z"></path>
</svg>`;
export const dotSVG = `<svg class="svg-icon" viewBox="0 0 20 20">
<path fill="none" d="M3.254,6.572c0.008,0.072,0.048,0.123,0.082,0.187c0.036,0.07,0.06,0.137,0.12,0.187C3.47,6.957,3.47,6.978,3.484,6.988c0.048,0.034,0.108,0.018,0.162,0.035c0.057,0.019,0.1,0.066,0.164,0.066c0.004,0,0.01,0,0.015,0l2.934-0.074c0.317-0.007,0.568-0.271,0.56-0.589C7.311,6.113,7.055,5.865,6.744,5.865c-0.005,0-0.01,0-0.015,0L5.074,5.907c2.146-2.118,5.604-2.634,7.971-1.007c2.775,1.912,3.48,5.726,1.57,8.501c-1.912,2.781-5.729,3.486-8.507,1.572c-0.259-0.18-0.618-0.119-0.799,0.146c-0.18,0.262-0.114,0.621,0.148,0.801c1.254,0.863,2.687,1.279,4.106,1.279c2.313,0,4.591-1.1,6.001-3.146c2.268-3.297,1.432-7.829-1.867-10.101c-2.781-1.913-6.816-1.36-9.351,1.058L4.309,3.567C4.303,3.252,4.036,3.069,3.72,3.007C3.402,3.015,3.151,3.279,3.16,3.597l0.075,2.932C3.234,6.547,3.251,6.556,3.254,6.572z"></path>
</svg>`;
export const starSVG = `<svg class="svg-icon" viewBox="0 0 20 20">
<path fill="none" d="M16.85,7.275l-3.967-0.577l-1.773-3.593c-0.208-0.423-0.639-0.69-1.11-0.69s-0.902,0.267-1.11,0.69L7.116,6.699L3.148,7.275c-0.466,0.068-0.854,0.394-1,0.842c-0.145,0.448-0.023,0.941,0.314,1.27l2.871,2.799l-0.677,3.951c-0.08,0.464,0.112,0.934,0.493,1.211c0.217,0.156,0.472,0.236,0.728,0.236c0.197,0,0.396-0.048,0.577-0.143l3.547-1.864l3.548,1.864c0.18,0.095,0.381,0.143,0.576,0.143c0.256,0,0.512-0.08,0.729-0.236c0.381-0.277,0.572-0.747,0.492-1.211l-0.678-3.951l2.871-2.799c0.338-0.329,0.459-0.821,0.314-1.27C17.705,7.669,17.316,7.343,16.85,7.275z M13.336,11.754l0.787,4.591l-4.124-2.167l-4.124,2.167l0.788-4.591L3.326,8.5l4.612-0.67l2.062-4.177l2.062,4.177l4.613,0.67L13.336,11.754z"></path>
</svg>`;
export const addLineHTML = `<div class="inputline" id="inputsections">
<input type="number" class="sectioninput" placeholder="Section #" />
<input type="number" class="numberinput" placeholder="# of Controls" />
</div>`;
export const colorCodes = {
0: "#fff7f8", //White
1: "#6effc0", //Green
2: "#fffa56", //Yellow
3: "#ff2516", //Red
4: "#fff7f8", //Whitish
5: "#464d77", //Dark blue
6: "#a9a9a9", //Light grey
};