Skip to content

Commit 82dc30f

Browse files
author
Kristan Kenney
committed
Remove old image assets and replace with Hi-DPI capable icons
1 parent 2f59eeb commit 82dc30f

File tree

9 files changed

+27
-26
lines changed

9 files changed

+27
-26
lines changed

web/css/src/styles.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2837,7 +2837,7 @@ a.vst-text:active b{
28372837
}
28382838

28392839
.hide-password {
2840-
color: #2361a1;
2840+
color: #aaa;
28412841
margin-left: -36px;
28422842
padding-left: 3px;
28432843
z-index: 1;
@@ -3019,8 +3019,9 @@ a.button.cancel {
30193019
cursor: pointer;
30203020
position: absolute;
30213021
margin-left: -32px;
3022-
margin-top: 13px;
3022+
margin-top: 16px;
30233023
z-index: 1;
3024+
font-size: 0.8rem;
30243025
}
30253026

30263027
.optional {

web/css/styles.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/images/toggle_password.png

-250 Bytes
Binary file not shown.

web/images/unlim.png

-223 Bytes
Binary file not shown.

web/js/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ VE.helpers.initAdditionalPasswordFieldElements = function(ref) {
185185
$(ref).prop('autocomplete', 'off');
186186

187187
var enabled_html = enabled ? '' : 'show-passwords-enabled-action';
188-
var html = '<span class="hide-password"><img class="toggle-psw-visibility-icon ' + enabled_html + '" onClick="VE.helpers.toggleHiddenPasswordText(\'' + ref + '\', this)" src="/images/toggle_password.png" /></span>';
188+
var html = '<span class="hide-password"><i class="toggle-psw-visibility-icon fas fa-eye-slash ' + enabled_html + '" onClick="VE.helpers.toggleHiddenPasswordText(\'' + ref + '\', this)"></i></span>';
189189
$(ref).after(html);
190190
}
191191

web/templates/admin/add_mail_acc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<tr>
9292
<td>
9393
<input type="text" size="20" class="vst-input" name="v_quota" value="<?=htmlentities(trim($v_quota, "'"))?>">
94-
<img class="unlim-trigger" id="unlim-quota" src="/images/unlim.png" />
94+
<i class="unlim-trigger fas fa-infinity" id="unlim-quota" /</i>
9595
</td>
9696
</tr>
9797
<tr>

web/templates/admin/add_package.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
<tr>
190190
<td>
191191
<input type="text" size="20" class="vst-input" name="v_web_domains" value="<?=htmlentities(trim($v_web_domains, "'"))?>">
192-
<img class="unlim-trigger" id="unlim-web-domains" src="/images/unlim.png" />
192+
<i class="unlim-trigger fas fa-infinity" id="unlim-web-domains"></i>
193193
</td>
194194
</tr>
195195
<tr>
@@ -200,7 +200,7 @@
200200
<tr>
201201
<td>
202202
<input type="text" size="20" class="vst-input" name="v_web_aliases" value="<?=htmlentities(trim($v_web_aliases, "'"))?>">
203-
<img id="unlim-web-aliases" class="unlim-trigger" src="/images/unlim.png" />
203+
<i class="unlim-trigger fas fa-infinity" id="unlim-web-aliases"></i>
204204
</td>
205205
</tr>
206206
<tr>
@@ -211,7 +211,7 @@
211211
<tr>
212212
<td>
213213
<input type="text" size="20" class="vst-input" name="v_dns_domains" value="<?=htmlentities(trim($v_dns_domains, "'"))?>">
214-
<img id="unlim-dns-domain" class="unlim-trigger" src="/images/unlim.png" />
214+
<i class="unlim-trigger fas fa-infinity" id="unlim-dns-domain"></i>
215215
</td>
216216
</tr>
217217
<tr>
@@ -222,7 +222,7 @@
222222
<tr>
223223
<td>
224224
<input type="text" size="20" class="vst-input" name="v_dns_records" value="<?=htmlentities(trim($v_dns_records, "'"))?>">
225-
<img id="unlim-dns-records" class="unlim-trigger" src="/images/unlim.png" />
225+
<i class="unlim-trigger fas fa-infinity" id="unlim-dns-records"></i>
226226
</td>
227227
</tr>
228228
<tr>
@@ -233,7 +233,7 @@
233233
<tr>
234234
<td>
235235
<input type="text" size="20" class="vst-input" name="v_mail_domains" value="<?=htmlentities(trim($v_mail_domains, "'"))?>">
236-
<img id="unlim-mail-domains" class="unlim-trigger" src="/images/unlim.png" />
236+
<i class="unlim-trigger fas fa-infinity" id="unlim-mail-domains"></i>
237237
</td>
238238
</tr>
239239
<tr>
@@ -244,7 +244,7 @@
244244
<tr>
245245
<td>
246246
<input type="text" size="20" class="vst-input" name="v_mail_accounts" value="<?=htmlentities(trim($v_mail_accounts, "'"))?>">
247-
<img id="unlim-mail-accounts" class="unlim-trigger" src="/images/unlim.png" />
247+
<i class="unlim-trigger fas fa-infinity" id="unlim-mail-accounts"></i>
248248
</td>
249249
</tr>
250250
<tr>
@@ -255,7 +255,7 @@
255255
<tr>
256256
<td>
257257
<input type="text" size="20" class="vst-input" name="v_databases" value="<?=htmlentities(trim($v_databases, "'"))?>">
258-
<img id="unlim-databases" class="unlim-trigger" src="/images/unlim.png" />
258+
<i class="unlim-trigger fas fa-infinity" id="unlim-databases"></i>
259259
</td>
260260
</tr>
261261
<tr>
@@ -266,7 +266,7 @@
266266
<tr>
267267
<td>
268268
<input type="text" size="20" class="vst-input" name="v_cron_jobs" value="<?=htmlentities(trim($v_cron_jobs, "'"))?>">
269-
<img id="unlim-cron-jobs" class="unlim-trigger" src="/images/unlim.png" />
269+
<i class="unlim-trigger fas fa-infinity" id="unlim-cron-jobs"></i>
270270
</td>
271271
</tr>
272272
<tr>
@@ -287,7 +287,7 @@
287287
<tr>
288288
<td>
289289
<input type="text" size="20" class="vst-input" name="v_disk_quota" value="<?=htmlentities(trim($v_disk_quota, "'"))?>">
290-
<img id="unlim-disk-quota" class="unlim-trigger" src="/images/unlim.png" />
290+
<i class="unlim-trigger fas fa-infinity" id="unlim-disk-quota"></i>
291291
</td>
292292
</tr>
293293
<tr>
@@ -298,7 +298,7 @@
298298
<tr>
299299
<td>
300300
<input type="text" size="20" class="vst-input" name="v_bandwidth" value="<?=htmlentities(trim($v_bandwidth, "'"))?>">
301-
<img name="unlim-bandwidth" class="unlim-trigger" src="/images/unlim.png" />
301+
<i class="unlim-trigger fas fa-infinity" id="unlim-bandwidth"></i>
302302
</td>
303303
</tr>
304304
<?php if ((isset($_SESSION['DNS_SYSTEM'])) && (!empty($_SESSION['DNS_SYSTEM']))) {?>

web/templates/admin/edit_mail_acc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<tr>
8585
<td>
8686
<input type="text" size="20" class="vst-input" name="v_quota" value="<? if (!empty($v_quota)) {echo htmlentities(trim($v_quota, "'"));} else { echo "0"; } ?>">
87-
<img class="unlim-trigger" id="unlim-quota" src="/images/unlim.png" />
87+
<img class="fas fa-infinity unlim-trigger" id="unlim-quota"/>
8888
</td>
8989
</tr>
9090
<tr>

web/templates/admin/edit_package.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
<tr>
187187
<td>
188188
<input type="text" size="20" class="vst-input" name="v_web_domains" value="<?=htmlentities(trim($v_web_domains, "'"))?>">
189-
<img class="unlim-trigger" id="unlim-web-domains" src="/images/unlim.png" />
189+
<i class="unlim-trigger fas fa-infinity" id="unlim-web-domains"></i>
190190
</td>
191191
</tr>
192192
<tr>
@@ -197,7 +197,7 @@
197197
<tr>
198198
<td>
199199
<input type="text" size="20" class="vst-input" name="v_web_aliases" value="<?=htmlentities(trim($v_web_aliases, "'"))?>">
200-
<img id="unlim-web-aliases" class="unlim-trigger" src="/images/unlim.png" />
200+
<i class="unlim-trigger fas fa-infinity" id="unlim-web-aliases"></i>
201201
</td>
202202
</tr>
203203
<tr>
@@ -208,7 +208,7 @@
208208
<tr>
209209
<td>
210210
<input type="text" size="20" class="vst-input" name="v_dns_domains" value="<?=htmlentities(trim($v_dns_domains, "'"))?>">
211-
<img id="unlim-dns-domain" class="unlim-trigger" src="/images/unlim.png" />
211+
<i class="unlim-trigger fas fa-infinity" id="unlim-dns-domain"></i>
212212
</td>
213213
</tr>
214214
<tr>
@@ -219,7 +219,7 @@
219219
<tr>
220220
<td>
221221
<input type="text" size="20" class="vst-input" name="v_dns_records" value="<?=htmlentities(trim($v_dns_records, "'"))?>">
222-
<img id="unlim-dns-records" class="unlim-trigger" src="/images/unlim.png" />
222+
<i class="unlim-trigger fas fa-infinity" id="unlim-dns-records"></i>
223223
</td>
224224
</tr>
225225
<tr>
@@ -230,7 +230,7 @@
230230
<tr>
231231
<td>
232232
<input type="text" size="20" class="vst-input" name="v_mail_domains" value="<?=htmlentities(trim($v_mail_domains, "'"))?>">
233-
<img id="unlim-mail-domains" class="unlim-trigger" src="/images/unlim.png" />
233+
<i class="unlim-trigger fas fa-infinity" id="unlim-mail-domains"></i>
234234
</td>
235235
</tr>
236236
<tr>
@@ -241,7 +241,7 @@
241241
<tr>
242242
<td>
243243
<input type="text" size="20" class="vst-input" name="v_mail_accounts" value="<?=htmlentities(trim($v_mail_accounts, "'"))?>">
244-
<img id="unlim-mail-accounts" class="unlim-trigger" src="/images/unlim.png" />
244+
<i class="unlim-trigger fas fa-infinity" id="unlim-mail-accounts"></i>
245245
<td>
246246
</tr>
247247
<tr>
@@ -252,7 +252,7 @@
252252
<tr>
253253
<td>
254254
<input type="text" size="20" class="vst-input" name="v_databases" value="<?=htmlentities(trim($v_databases, "'"))?>">
255-
<img id="unlim-databases" class="unlim-trigger" src="/images/unlim.png" />
255+
<i class="unlim-trigger fas fa-infinity" id="unlim-databases"></i>
256256
</td>
257257
</tr>
258258
<tr>
@@ -263,7 +263,7 @@
263263
<tr>
264264
<td>
265265
<input type="text" size="20" class="vst-input" name="v_cron_jobs" value="<?=htmlentities(trim($v_cron_jobs, "'"))?>">
266-
<img id="unlim-cron-jobs" class="unlim-trigger" src="/images/unlim.png" />
266+
<i class="unlim-trigger fas fa-infinity" id="unlim-cron-jobs"></i>
267267
</td>
268268
</tr>
269269
<tr>
@@ -284,7 +284,7 @@
284284
<tr>
285285
<td>
286286
<input type="text" size="20" class="vst-input" name="v_disk_quota" value="<?=htmlentities(trim($v_disk_quota, "'"))?>">
287-
<img id="unlim-disk-quota" class="unlim-trigger" src="/images/unlim.png" />
287+
<i class="unlim-trigger fas fa-infinity" id="unlim-disk-quota"></i>
288288
</td>
289289
</tr>
290290
<tr>
@@ -295,7 +295,7 @@
295295
<tr>
296296
<td>
297297
<input type="text" size="20" class="vst-input" name="v_bandwidth" value="<?=htmlentities(trim($v_bandwidth, "'"))?>">
298-
<img name="unlim-bandwidth" class="unlim-trigger" src="/images/unlim.png" />
298+
<i class="unlim-trigger fas fa-infinity" id="unlim-bandwidth"></i>
299299
</td>
300300
</tr>
301301
<?php if ((isset($_SESSION['DNS_SYSTEM'])) && (!empty($_SESSION['DNS_SYSTEM']))) {?>

0 commit comments

Comments
 (0)