|
68 | 68 | <!--this view will open up when user clicks on add a new snippet button--> |
69 | 69 | <div id="custom-snippets-add-new" class="custom-snippets-add-new hidden"> |
70 | 70 | <div id="abbr-box-wrapper" class="field-wrapper"> |
71 | | - <label for="abbr-box" |
72 | | - title="Enter a short abbreviation (e.g., 'clg', 'fn', 'div'). This is what you'll type to trigger the snippet." |
73 | | - data-placement="top"> |
74 | | - Abbreviation: |
75 | | - </label> |
76 | | - <input id="abbr-box" type="text" placeholder="clg" autocomplete="off" /> |
| 71 | + <div class="field-row"> |
| 72 | + <label for="abbr-box" |
| 73 | + title="Enter a short abbreviation (e.g., 'clg', 'fn', 'div'). This is what you'll type to trigger the snippet." |
| 74 | + data-placement="top"> |
| 75 | + Abbreviation: |
| 76 | + </label> |
| 77 | + <input id="abbr-box" type="text" placeholder="clg" autocomplete="off" /> |
| 78 | + </div> |
77 | 79 | </div> |
78 | 80 |
|
79 | 81 | <div id="desc-box-wrapper" class="field-wrapper"> |
80 | | - <label for="desc-box" |
81 | | - title="Brief description of what this snippet does. Leave empty if no description needed." |
82 | | - data-placement="top"> |
83 | | - Description: |
84 | | - </label> |
85 | | - <input id="desc-box" type="text" placeholder="console log shortcut (optional)" autocomplete="off" /> |
| 82 | + <div class="field-row"> |
| 83 | + <label for="desc-box" |
| 84 | + title="Brief description of what this snippet does. Leave empty if no description needed." |
| 85 | + data-placement="top"> |
| 86 | + Description: |
| 87 | + </label> |
| 88 | + <input id="desc-box" type="text" placeholder="console log shortcut (optional)" autocomplete="off" /> |
| 89 | + </div> |
86 | 90 | </div> |
87 | 91 |
|
88 | 92 | <div id="file-extn-box-wrapper" class="field-wrapper"> |
89 | | - <label for="file-extn-box" |
90 | | - title="Specify file types where this snippet should be available (e.g., '.js', '.html', '.css'). Leave empty to make it available for all files." |
91 | | - data-placement="top"> |
92 | | - File Extension: |
93 | | - </label> |
94 | | - <input id="file-extn-box" type="text" placeholder="Leave empty for all files, or specify like .js, .html" autocomplete="off" /> |
| 93 | + <div class="field-row"> |
| 94 | + <label for="file-extn-box" |
| 95 | + title="Specify file types where this snippet should be available (e.g., '.js', '.html', '.css'). Leave empty to make it available for all files." |
| 96 | + data-placement="top"> |
| 97 | + File Extension: |
| 98 | + </label> |
| 99 | + <input id="file-extn-box" type="text" placeholder="Leave empty for all files, or specify like .js, .html" autocomplete="off" /> |
| 100 | + </div> |
95 | 101 | </div> |
96 | 102 |
|
97 | 103 | <div id="template-text-box-wrapper" class="field-wrapper"> |
98 | | - <label for="template-text-box" |
99 | | - title="The actual code that will be inserted. Use ${1}, ${2}, ${3}, etc. for cursor positions. ${1} is the initial position, tab moves to ${2}, ${3}, etc. ${0} is the final position." |
100 | | - data-placement="top"> |
101 | | - Template Text: |
102 | | - </label> |
103 | | - <textarea id="template-text-box" placeholder="console.log(${1});" autocomplete="off"></textarea> |
| 104 | + <div class="field-row"> |
| 105 | + <label for="template-text-box" |
| 106 | + title="The actual code that will be inserted. Use ${1}, ${2}, ${3}, etc. for cursor positions. ${1} is the initial position, tab moves to ${2}, ${3}, etc. ${0} is the final position." |
| 107 | + data-placement="top"> |
| 108 | + Template Text: |
| 109 | + </label> |
| 110 | + <textarea id="template-text-box" placeholder="console.log(${1});" autocomplete="off"></textarea> |
| 111 | + </div> |
104 | 112 | </div> |
105 | 113 |
|
106 | 114 | <div id="save-custom-snippet-btn"> |
|
111 | 119 | <!--this view will open up when user clicks on a snippet item to edit it--> |
112 | 120 | <div id="custom-snippets-edit" class="custom-snippets-edit hidden"> |
113 | 121 | <div id="edit-abbr-box-wrapper" class="field-wrapper"> |
114 | | - <label for="edit-abbr-box" |
115 | | - title="Enter a short abbreviation (e.g., 'clg', 'fn', 'div'). This is what you'll type to trigger the snippet." |
116 | | - data-placement="top"> |
117 | | - Abbreviation: |
118 | | - </label> |
119 | | - <input id="edit-abbr-box" type="text" placeholder="clg" autocomplete="off" /> |
| 122 | + <div class="field-row"> |
| 123 | + <label for="edit-abbr-box" |
| 124 | + title="Enter a short abbreviation (e.g., 'clg', 'fn', 'div'). This is what you'll type to trigger the snippet." |
| 125 | + data-placement="top"> |
| 126 | + Abbreviation: |
| 127 | + </label> |
| 128 | + <input id="edit-abbr-box" type="text" placeholder="clg" autocomplete="off" /> |
| 129 | + </div> |
120 | 130 | </div> |
121 | 131 |
|
122 | 132 | <div id="edit-desc-box-wrapper" class="field-wrapper"> |
123 | | - <label for="edit-desc-box" |
124 | | - title="Brief description of what this snippet does. Leave empty if no description needed." |
125 | | - data-placement="top"> |
126 | | - Description: |
127 | | - </label> |
128 | | - <input id="edit-desc-box" type="text" placeholder="console log shortcut (optional)" autocomplete="off" /> |
| 133 | + <div class="field-row"> |
| 134 | + <label for="edit-desc-box" |
| 135 | + title="Brief description of what this snippet does. Leave empty if no description needed." |
| 136 | + data-placement="top"> |
| 137 | + Description: |
| 138 | + </label> |
| 139 | + <input id="edit-desc-box" type="text" placeholder="console log shortcut (optional)" autocomplete="off" /> |
| 140 | + </div> |
129 | 141 | </div> |
130 | 142 |
|
131 | 143 | <div id="edit-file-extn-box-wrapper" class="field-wrapper"> |
132 | | - <label for="edit-file-extn-box" |
133 | | - title="Specify file types where this snippet should be available (e.g., '.js', '.html', '.css'). Leave empty to make it available for all files." |
134 | | - data-placement="top"> |
135 | | - File Extension: |
136 | | - </label> |
137 | | - <input id="edit-file-extn-box" type="text" placeholder="Leave empty for all files, or specify like .js, .html" autocomplete="off" /> |
| 144 | + <div class="field-row"> |
| 145 | + <label for="edit-file-extn-box" |
| 146 | + title="Specify file types where this snippet should be available (e.g., '.js', '.html', '.css'). Leave empty to make it available for all files." |
| 147 | + data-placement="top"> |
| 148 | + File Extension: |
| 149 | + </label> |
| 150 | + <input id="edit-file-extn-box" type="text" placeholder="Leave empty for all files, or specify like .js, .html" autocomplete="off" /> |
| 151 | + </div> |
138 | 152 | </div> |
139 | 153 |
|
140 | 154 | <div id="edit-template-text-box-wrapper" class="field-wrapper"> |
141 | | - <label for="edit-template-text-box" |
142 | | - title="The actual code that will be inserted. Use ${1}, ${2}, ${3}, etc. for cursor positions. ${1} is the initial position, tab moves to ${2}, ${3}, etc. ${0} is the final position." |
143 | | - data-placement="top"> |
144 | | - Template Text: |
145 | | - </label> |
146 | | - <textarea id="edit-template-text-box" placeholder="console.log(${1});" autocomplete="off"></textarea> |
| 155 | + <div class="field-row"> |
| 156 | + <label for="edit-template-text-box" |
| 157 | + title="The actual code that will be inserted. Use ${1}, ${2}, ${3}, etc. for cursor positions. ${1} is the initial position, tab moves to ${2}, ${3}, etc. ${0} is the final position." |
| 158 | + data-placement="top"> |
| 159 | + Template Text: |
| 160 | + </label> |
| 161 | + <textarea id="edit-template-text-box" placeholder="console.log(${1});" autocomplete="off"></textarea> |
| 162 | + </div> |
147 | 163 | </div> |
148 | 164 |
|
149 | 165 | <div id="edit-snippet-buttons"> |
|
0 commit comments