Project

General

Profile

« Previous | Next » 

Revision e6f78714

Added by Marcos M over 1 year ago

Update fontawesome references in form buttons

View differences:

src/etc/inc/syslog.inc
1303 1303
function find_action_image($action) {
1304 1304
	global $g;
1305 1305
	if ((strstr(strtolower($action), "p")) || (strtolower($action) == "rdr")) {
1306
		return "fa-check-circle-o";
1306
		return "fa-regular fa-circle-check";
1307 1307
	} else if (strstr(strtolower($action), "r")) {
1308
		return "fa-times-circle-o";
1308
		return "fa-regular fa-circle-xmark";
1309 1309
	} else {
1310
		return "fa-ban";
1310
		return "fa-solid fa-ban";
1311 1311
	}
1312 1312
}
1313 1313

  
......
1357 1357
				}
1358 1358

  
1359 1359
				if ($log_row['act'] == "block") {
1360
					$icon_act = "fa-times text-danger";
1360
					$icon_act = "fa-solid fa-times text-danger";
1361 1361
				} else {
1362
					$icon_act = "fa-check text-success";
1362
					$icon_act = "fa-solid fa-check text-success";
1363 1363
				}
1364 1364

  
1365
				$btn = '<i class="fa-solid ' . $icon_act . ' icon-pointer" title="' . $log_row['act'] . '/' . $log_row['tracker'] . '" onclick="javascript:getURL(\'status_logs_filter.php?getrulenum=' . $log_row['rulenum'] . ',' . $log_row['tracker'] . ',' . $log_row['act'] . '\', outputrule);"></i>';
1365
				$btn = '<i class="' . $icon_act . ' icon-pointer" title="' . $log_row['act'] . '/' . $log_row['tracker'] . '" onclick="javascript:getURL(\'status_logs_filter.php?getrulenum=' . $log_row['rulenum'] . ',' . $log_row['tracker'] . ',' . $log_row['act'] . '\', outputrule);"></i>';
1366 1366
				$new_rules .= "{$btn}||{$log_row['time']}||{$log_row['interface']}||{$log_row['srcip']}||{$log_row['srcport']}||{$log_row['dstip']}||{$log_row['dstport']}||{$log_row['proto']}||{$log_row['version']}||" . time() . "||\n";
1367 1367
			}
1368 1368
		}
src/usr/local/www/classes/Form.class.php
45 45
				'save',
46 46
				$submit,
47 47
				null,
48
				'fa-save'
48
				'fa-solid fa-save'
49 49
			);
50 50

  
51 51
			if (!$enabled) {
src/usr/local/www/diag_authentication.php
127 127
	'Submit',
128 128
	'Test',
129 129
	null,
130
	'fa-wrench'
130
	'fa-solid fa-wrench'
131 131
))->addClass('btn-primary');
132 132

  
133 133
print $form;
src/usr/local/www/diag_backup.php
213 213
	'download',
214 214
	'Download configuration as XML',
215 215
	null,
216
	'fa-download'
216
	'fa-solid fa-download'
217 217
))->setAttribute('id')->addClass('btn-primary');
218 218

  
219 219
$section->add($group);
......
261 261
	'restore',
262 262
	'Restore Configuration',
263 263
	null,
264
	'fa-undo'
264
	'fa-solid fa-undo'
265 265
))->setHelp('The firewall will reboot after restoring the configuration.')->addClass('btn-danger restore')->setAttribute('id');
266 266

  
267 267
$section->add($group);
......
280 280
			'reinstallpackages',
281 281
			'Reinstall Packages',
282 282
			null,
283
			'fa-retweet'
283
			'fa-solid fa-retweet'
284 284
		))->setHelp('Click this button to reinstall all system packages.  This may take a while.')->addClass('btn-success')->setAttribute('id');
285 285

  
286 286
		$section->add($group);
......
293 293
			'clearpackagelock',
294 294
			'Clear Package Lock',
295 295
			null,
296
			'fa-wrench'
296
			'fa-solid fa-wrench'
297 297
		))->setHelp('Click this button to clear the package lock if a package fails to reinstall properly after an upgrade.')->addClass('btn-warning')->setAttribute('id');
298 298

  
299 299
		$section->add($group);
src/usr/local/www/diag_confbak.php
173 173
	'Submit',
174 174
	gettext("Save"),
175 175
	null,
176
	'fa-save'
176
	'fa-solid fa-save'
177 177
))->addClass('btn-primary');
178 178

  
179 179
$form->add($section);
src/usr/local/www/diag_dns.php
211 211
        'Submit',
212 212
        'Lookup',
213 213
        null,
214
        'fa-search'
214
        'fa-solid fa-search'
215 215
))->addClass('btn-primary');
216 216

  
217 217
if (!empty($resolved) && isAllowedPage('firewall_aliases_edit.php')) {
......
219 219
		'create_alias',
220 220
		($alias_exists) ? gettext("Update Alias") : gettext("Add Alias"),
221 221
		null,
222
		($alias_exists) ? 'fa-refresh' : 'fa-plus'
222
		($alias_exists) ? 'fa-solid fa-arrows-rotate' : 'fa-solid fa-plus'
223 223
	))->removeClass('btn-primary')->addClass('btn-success');
224 224
}
225 225

  
src/usr/local/www/diag_dump_states.php
158 158
	'filterbtn',
159 159
	'Filter',
160 160
	null,
161
	'fa-filter'
161
	'fa-solid fa-filter'
162 162
);
163 163
$filterbtn->addClass('btn-primary btn-sm');
164 164
$section->addInput(new Form_StaticText(
......
171 171
		'killfilter',
172 172
		'Kill States',
173 173
		null,
174
		'fa-trash'
174
		'fa-solid fa-trash-can'
175 175
	);
176 176
	$killbtn->addClass('btn-danger btn-sm');
177 177
	$section->addInput(new Form_StaticText(
src/usr/local/www/diag_dump_states_sources.php
110 110
	'Submit',
111 111
	'Filter',
112 112
	null,
113
	'fa-filter'
113
	'fa-solid fa-filter'
114 114
))->addClass('btn-primary');
115 115

  
116 116
print $form;
src/usr/local/www/diag_ping.php
176 176
	'Submit',
177 177
	'Ping',
178 178
	null,
179
	'fa-rss'
179
	'fa-solid fa-rss'
180 180
))->addClass('btn-primary');
181 181

  
182 182
print $form;
src/usr/local/www/diag_reboot.php
149 149
        'Submit',
150 150
        'Submit',
151 151
        null,
152
        'fa-wrench'
152
        'fa-solid fa-wrench'
153 153
))->addClass('btn-primary');
154 154

  
155 155
print $form;
src/usr/local/www/diag_resetstate.php
115 115
	'Submit',
116 116
	'Reset',
117 117
	null,
118
	'fa-trash'
118
	'fa-solid fa-trash-can'
119 119
))->addClass('btn-warning');
120 120

  
121 121
print $form;
src/usr/local/www/diag_routes.php
114 114
	'Submit',
115 115
	'Update',
116 116
	null,
117
	'fa-refresh'
117
	'fa-solid fa-arrows-rotate'
118 118
))->addClass('btn-primary');
119 119

  
120 120
print $form;
src/usr/local/www/diag_smart.php
226 226
			'submit',
227 227
			'View',
228 228
			null,
229
			'fa-file-text-o'
229
			'fa-regular fa-file-lines'
230 230
		);
231 231
		$btnview->addClass('btn-primary');
232 232
		$btnview->setAttribute('id');
......
269 269
			'submit',
270 270
			'View',
271 271
			null,
272
			'fa-file-text-o'
272
			'fa-regular fa-file-lines'
273 273
		);
274 274
		$btnview->addClass('btn-primary');
275 275
		$btnview->setAttribute('id');
......
313 313
			'submit',
314 314
			'Test',
315 315
			null,
316
			'fa-wrench'
316
			'fa-solid fa-wrench'
317 317
		);
318 318
		$btntest->addClass('btn-primary');
319 319
		$btntest->setAttribute('id');
......
356 356
			'submit',
357 357
			'Abort Tests',
358 358
			null,
359
			'fa-times'
359
			'fa-solid fa-times'
360 360
		);
361 361

  
362 362
		$btnabort->addClass('btn-danger')->setAttribute('id');
src/usr/local/www/diag_tables.php
152 152
			'Download',
153 153
			'Update',
154 154
			null,
155
			'fa-refresh'
155
			'fa-solid fa-arrows-rotate'
156 156
		))->addClass('btn-success btn-sm');
157 157
	} elseif (!empty($entries)) {
158 158
		$group->add(new Form_Button(
159 159
			'clearall',
160 160
			'Empty Table',
161 161
			null,
162
			'fa-trash'
162
			'fa-solid fa-trash-can'
163 163
		))->addClass('btn-danger btn-sm');
164 164
	}
165 165
}
src/usr/local/www/diag_testport.php
270 270
	'Submit',
271 271
	'Test',
272 272
	null,
273
	'fa-wrench'
273
	'fa-solid fa-wrench'
274 274
))->addClass('btn-primary');
275 275

  
276 276
print $form;
src/usr/local/www/diag_traceroute.php
174 174
	'Submit',
175 175
	'Traceroute',
176 176
	null,
177
	'fa-rss'
177
	'fa-solid fa-rss'
178 178
))->addClass('btn-primary');
179 179

  
180 180
print $form;
src/usr/local/www/firewall_aliases_edit.php
345 345
		'deleterow' . $counter,
346 346
		'Delete',
347 347
		null,
348
		'fa-trash'
348
		'fa-solid fa-trash-can'
349 349
	))->addClass('btn-warning');
350 350

  
351 351
	$section->add($group);
......
357 357
		'exportaliases',
358 358
		'Export to file',
359 359
		null,
360
		'fa-download'
360
		'fa-solid fa-download'
361 361
	))->addClass('btn-primary');
362 362
}
363 363

  
......
365 365
	'addrow',
366 366
	$btn_str[$tab],
367 367
	null,
368
	'fa-plus'
368
	'fa-solid fa-plus'
369 369
))->addClass('btn-success addbtn');
370 370

  
371 371
$form->add($section);
src/usr/local/www/firewall_nat_edit.php
211 211
	'btnsrcadv',
212 212
	'Display Advanced',
213 213
	null,
214
	'fa-cog'
214
	'fa-solid fa-cog'
215 215
);
216 216

  
217 217
$btnsrcadv->setAttribute('type','button')->addClass('btn-info btn-sm');
src/usr/local/www/firewall_rules.php
1075 1075
	'copyr',
1076 1076
	'Paste',
1077 1077
	null,
1078
	'fa-clone'
1078
	'fa-regular fa-clone'
1079 1079
);
1080 1080
$btncopyrules->setAttribute('type','button')->addClass('btn-success');
1081 1081
$btncancelcopyrules = new Form_Button(
1082 1082
	'cancel_copyr',
1083 1083
	'Cancel',
1084 1084
	null,
1085
	'fa-undo'
1085
	'fa-solid fa-undo'
1086 1086
);
1087 1087
$btncancelcopyrules->setAttribute('type','button')->addClass('btn-warning');
1088 1088
$modal->addInput(new Form_StaticText(
src/usr/local/www/firewall_rules_edit.php
1418 1418
			'btnsrctoggle',
1419 1419
			'',
1420 1420
			null,
1421
			'fa-cog'
1421
			'fa-solid fa-cog'
1422 1422
		))->setAttribute('type','button')->addClass('btn-info btn-sm')->setHelp(
1423 1423
			'The %1$sSource Port Range%2$s for a connection is typically random '.
1424 1424
			'and almost never equal to the destination port. '.
......
1492 1492
	'btnadvopts',
1493 1493
	'Display Advanced',
1494 1494
	null,
1495
	'fa-cog'
1495
	'fa-solid fa-cog'
1496 1496
);
1497 1497

  
1498 1498
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
src/usr/local/www/firewall_schedule_edit.php
431 431
	'btnaddtime',
432 432
	'Add Time',
433 433
	null,
434
	'fa-plus'
434
	'fa-solid fa-plus'
435 435
))->setAttribute('type','button')->addClass('btn-success btn-sm');
436 436

  
437 437
$group->add(new Form_Button(
438 438
	'btnclrsel',
439 439
	'Clear selection',
440 440
	null,
441
	'fa-undo'
441
	'fa-solid fa-undo'
442 442
))->setAttribute('type','button')->addClass('btn-info btn-sm');
443 443

  
444 444
$section->add($group);
......
617 617
				'Delete' . $counter,
618 618
				'Delete',
619 619
				null,
620
				'fa-trash'
620
				'fa-solid fa-trash-can'
621 621
			))->setAttribute('type','button')->addClass('btn-xs btn-warning');
622 622

  
623 623
			$group->add(new Form_Input(
src/usr/local/www/firewall_shaper.php
407 407
				'add',
408 408
				'Add new Queue',
409 409
				$url,
410
				'fa-plus'
410
				'fa-solid fa-plus'
411 411
			))->addClass('btn-success');
412 412

  
413 413
		}
......
422 422
			'delete',
423 423
			$queue ? 'Delete this queue':'Disable shaper on interface',
424 424
			$url,
425
			'fa-trash'
425
			'fa-solid fa-trash-can'
426 426
		))->addClass('btn-danger nowarn');
427 427

  
428 428
	}
src/usr/local/www/firewall_shaper_vinterface.php
388 388
				'add',
389 389
				'Add new Queue',
390 390
				$url,
391
				'fa-plus'
391
				'fa-solid fa-plus'
392 392
			))->addClass('btn-success');
393 393
		}
394 394

  
......
404 404
					'delete',
405 405
					($queue && ($qname != $pipe)) ? 'Delete this queue':'Delete Limiter',
406 406
					$url,
407
					'fa-trash'
407
					'fa-solid fa-trash-can'
408 408
				))->addClass('btn-danger nowarn');
409 409
			}
410 410
		}
src/usr/local/www/interfaces.php
2138 2138
	'addgw4',
2139 2139
	'Add a new gateway',
2140 2140
	null,
2141
	'fa-plus'
2141
	'fa-solid fa-plus'
2142 2142
))->setAttribute('type','button')->addClass('btn-success')->setAttribute('data-target', '#newgateway4')->setAttribute('data-toggle', 'modal');
2143 2143

  
2144 2144
$group->setHelp('If this interface is an Internet connection, select an existing Gateway from the list or add a new one using the "Add" button.%1$s' .
......
2192 2192
	'addgw6',
2193 2193
	'Add a new gateway',
2194 2194
	null,
2195
	'fa-plus'
2195
	'fa-solid fa-plus'
2196 2196
))->setAttribute('type','button')->addClass('btn-success')->setAttribute('data-target', '#newgateway6')->setAttribute('data-toggle', 'modal');
2197 2197

  
2198 2198
$group->setHelp('If this interface is an Internet connection, select an existing Gateway from the list or add a new one using the "Add" button.%s' .
......
2236 2236
	'add6',
2237 2237
	'Add',
2238 2238
	null,
2239
	'fa-plus'
2239
	'fa-solid fa-plus'
2240 2240
);
2241 2241

  
2242 2242
$btnaddgw6->setAttribute('type','button')->addClass('btn-success');
......
2245 2245
	'cnx6',
2246 2246
	'Cancel',
2247 2247
	null,
2248
	'fa-undo'
2248
	'fa-solid fa-undo'
2249 2249
);
2250 2250

  
2251 2251
$btncnxgw6->setAttribute('type','button')->addClass('btn-warning');
......
2957 2957
	'btnadvppp',
2958 2958
	'Advanced PPP',
2959 2959
	array_path_enabled($pconfig, '', 'pppid') ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars(array_get_path($pconfig, 'pppid')) : 'interfaces_ppps_edit.php',
2960
	'fa-cog'
2960
	'fa-solid fa-cog'
2961 2961
))->setAttribute('type','button')->addClass('btn-info')->setAttribute('id')->setHelp('Create a new PPP configuration.');
2962 2962

  
2963 2963
$form->add($section);
......
3090 3090
	'btnadvppp',
3091 3091
	'Advanced and MLPPP',
3092 3092
	array_path_enabled($pconfig, '', 'pppid') ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars(array_get_path($pconfig, 'pppid')) : 'interfaces_ppps_edit.php',
3093
	'fa-cog'
3093
	'fa-solid fa-cog'
3094 3094
))->setAttribute('type','button')->addClass('btn-info')->setAttribute('id')->setHelp('Click for additional PPPoE configuration options. Save first if changes have been made.');
3095 3095

  
3096 3096
$form->add($section);
......
3171 3171
	'btnadvppp',
3172 3172
	'Advanced and MLPPP',
3173 3173
	array_path_enabled($pconfig, '', 'pppid') ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars(array_get_path($pconfig, 'pppid')) : 'interfaces_ppps_edit.php',
3174
	'fa-cog'
3174
	'fa-solid fa-cog'
3175 3175
))->setAttribute('type','button')->addClass('btn-info')->setAttribute('id')->setHelp('%sClick for additional PPTP and L2TP configuration options. Save first if changes have been made.', $mlppp_text);
3176 3176

  
3177 3177
$form->add($section);
......
3680 3680
	'add4',
3681 3681
	'Add',
3682 3682
	null,
3683
	'fa-plus'
3683
	'fa-solid fa-plus'
3684 3684
);
3685 3685

  
3686 3686
$btnaddgw4->setAttribute('type','button')->addClass('btn-success');
......
3689 3689
	'cnx4',
3690 3690
	'Cancel',
3691 3691
	null,
3692
	'fa-undo'
3692
	'fa-solid fa-undo'
3693 3693
);
3694 3694

  
3695 3695
$btncnxgw4->setAttribute('type','button')->addClass('btn-warning');
src/usr/local/www/interfaces_bridge_edit.php
445 445
	'btnadvopts',
446 446
	'Display Advanced',
447 447
	null,
448
	'fa-cog'
448
	'fa-solid fa-cog'
449 449
);
450 450

  
451 451
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
src/usr/local/www/interfaces_ppps_edit.php
790 790
		'btnadvopts',
791 791
		'Display Advanced',
792 792
		null,
793
		'fa-cog'
793
		'fa-solid fa-cog'
794 794
);
795 795

  
796 796
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
src/usr/local/www/interfaces_qinq_edit.php
333 333
		'deleterow' . $counter,
334 334
		'Delete',
335 335
		null,
336
		'fa-trash'
336
		'fa-solid fa-trash-can'
337 337
	))->addClass('btn-warning');
338 338

  
339 339
	$counter++;
......
345 345
	'addrow',
346 346
	'Add Tag',
347 347
	null,
348
	'fa-plus'
348
	'fa-solid fa-plus'
349 349
))->addClass('btn-success addbtn');
350 350

  
351 351
$form->add($section);
src/usr/local/www/js/pfSenseHelpers.js
602 602
			uniqueid = '';
603 603
		}
604 604
		// Prompt to confirm only on disconnect
605
		if (($(this).hasClass('fa-trash')) || ($(this).children('i').hasClass('fa-trash'))) {
605
		if (($(this).hasClass('fa-trash-can')) || ($(this).children('i').hasClass('fa-trash-can'))) {
606 606
			var msg = $.trim(this.title) + ' ' + $.trim(conid);
607 607
			if (!msg) {
608 608
				msg = 'Confirm?';
......
803 803
		if (typeof attr !== typeof undefined && attr !== false) {
804 804
			// Automatically apply a confirmation dialog to "Delete" icons
805 805
			if (!($(this).hasClass('no-confirm')) && !($(this).hasClass('icon-embed-btn')) &&
806
			   (($(this).hasClass('do-confirm')) || ($(this).hasClass('fa-trash')))) {
806
			   (($(this).hasClass('do-confirm')) || ($(this).hasClass('fa-trash-can')))) {
807 807
				var msg = $.trim(this.textContent).toLowerCase();
808 808

  
809 809
				if (!msg)
src/usr/local/www/pkg_edit.php
624 624
	$savehelp = $pkg['savehelp'];
625 625
}
626 626

  
627
$saveicon = "fa-save";
627
$saveicon = "fa-solid fa-save";
628 628
if ($pkg['saveicon'] != "") {
629 629
	$saveicon = $pkg['saveicon'];
630 630
}
......
1315 1315

  
1316 1316
		// Create form button
1317 1317
		case "button":
1318
			$newbtnicon = "fa-save";
1318
			$newbtnicon = "fa-solid fa-save";
1319 1319
			if ($pkga['buttonicon'] != "") {
1320 1320
				$newbtnicon = $pkga['buttonicon'];
1321 1321
			}
......
1468 1468
						'deleterow' . $rowcounter,
1469 1469
						'Delete',
1470 1470
						null,
1471
						'fa-trash'
1471
						'fa-solid fa-trash-can'
1472 1472
					))->removeClass('btn-primary')->addClass('btn-warning btn-sm');
1473 1473

  
1474 1474
					$rowcounter++;
......
1480 1480
				'addrow',
1481 1481
				'Add',
1482 1482
				null,
1483
				'fa-plus'
1483
				'fa-solid fa-plus'
1484 1484
			))->addClass('btn-success');
1485 1485

  
1486 1486
			break;
......
1523 1523
		'showadv',
1524 1524
		'Show Advanced Options',
1525 1525
		null,
1526
		'fa-cog'
1526
		'fa-solid fa-cog'
1527 1527
	))->setAttribute('type','button')->addClass('btn-info');
1528 1528

  
1529 1529
	$form->add($advanced);
src/usr/local/www/services_acb.php
375 375
	'upduserkey',
376 376
	'Submit',
377 377
	null,
378
	'fa-save'
378
	'fa-solid fa-save'
379 379
))->addClass('btn-success btn-xs');
380 380

  
381 381
$group->add(new Form_Button(
382 382
	'restore',
383 383
	'Reset',
384 384
	null,
385
	'fa-refresh'
385
	'fa-solid fa-arrows-rotate'
386 386
))->addClass('btn-info btn-xs');
387 387

  
388 388
$section2->add($group);
src/usr/local/www/services_captiveportal.php
782 782
		'btnliveview',
783 783
		'Live View',
784 784
		$href,
785
		'fa-file-text-o'
785
		'fa-regular fa-file-lines'
786 786
	))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank");
787 787

  
788 788
	$group->add(new Form_Button(
789 789
		'btnview',
790 790
		'View Page Contents',
791 791
		'?zone=' . $cpzone . '&act=viewhtmlhtml',
792
		'fa-file-text-o'
792
		'fa-regular fa-file-lines'
793 793
	))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank");
794 794

  
795 795
	$group->add(new Form_Button(
796 796
		'btndownload',
797 797
		'Download',
798 798
		'?zone=' . $cpzone . '&act=gethtmlhtml',
799
		'fa-download'
799
		'fa-solid fa-download'
800 800
	))->addClass('btn btn-primary btn-xs')->setAttribute("target", "_blank");
801 801

  
802 802
	$group->add(new Form_Button(
803 803
		'btndownload',
804 804
		'Restore Default Page',
805 805
		'?zone=' . $cpzone . '&act=delhtmlhtml',
806
		'fa-undo'
806
		'fa-solid fa-undo'
807 807
	))->addClass('btn btn-danger btn-xs')->setAttribute("target", "_blank");
808 808
	$section->add($group);
809 809
}
......
823 823
		'btnview',
824 824
		'View Page Contents',
825 825
		'?zone=' . $cpzone . '&act=viewerrhtml',
826
		'fa-file-text-o'
826
		'fa-regular fa-file-lines'
827 827
	))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank");
828 828

  
829 829
	$group->add(new Form_Button(
830 830
		'btndownload',
831 831
		'Download',
832 832
		'?zone=' . $cpzone . '&act=geterrhtml',
833
		'fa-download'
833
		'fa-solid fa-download'
834 834
	))->addClass('btn btn-primary btn-xs')->setAttribute("target", "_blank");
835 835

  
836 836
	$group->add(new Form_Button(
837 837
		'btndownload',
838 838
		'Restore Default Page',
839 839
		'?zone=' . $cpzone . '&act=delerrhtml',
840
		'fa-undo'
840
		'fa-solid fa-undo'
841 841
	))->addClass('btn btn-danger btn-xs')->setAttribute("target", "_blank");
842 842
	$section->add($group);
843 843
}
......
855 855
		'btnview',
856 856
		'View Page Contents',
857 857
		'?zone=' . $cpzone . '&act=viewlogouthtml',
858
		'fa-file-text-o'
858
		'fa-regular fa-file-lines'
859 859
	))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank");
860 860

  
861 861
	$group->add(new Form_Button(
862 862
		'btndownload',
863 863
		'Download',
864 864
		'?zone=' . $cpzone . '&act=getlogouthtml',
865
		'fa-download'
865
		'fa-solid fa-download'
866 866
	))->addClass('btn btn-primary btn-xs')->setAttribute("target", "_blank");
867 867

  
868 868
	$group->add(new Form_Button(
869 869
		'btndownload',
870 870
		'Restore Default Page',
871 871
		'?zone=' . $cpzone . '&act=dellogouthtml',
872
		'fa-undo'
872
		'fa-solid fa-undo'
873 873
	))->addClass('btn btn-danger btn-xs')->setAttribute("target", "_blank");
874 874
	$section->add($group);
875 875
}
src/usr/local/www/services_captiveportal_filemanager.php
178 178
		'Submit',
179 179
		'Upload',
180 180
		null,
181
		'fa-upload'
181
		'fa-solid fa-upload'
182 182
	))->addClass('btn-primary');
183 183

  
184 184
	print($form);
src/usr/local/www/services_captiveportal_mac_edit.php
216 216
	'btnmymac',
217 217
	'Copy My MAC',
218 218
	null,
219
	'fa-clone'
219
	'fa-regular fa-clone'
220 220
	);
221 221

  
222 222
$btnmymac->setAttribute('type','button')->removeClass('btn-primary')->addClass('btn-success btn-sm');
src/usr/local/www/services_captiveportal_zones_edit.php
106 106
	'Submit',
107 107
	'Save & Continue',
108 108
	null,
109
	'fa-save'
109
	'fa-solid fa-save'
110 110
))->addClass('btn-primary');
111 111

  
112 112
print($form);
src/usr/local/www/services_dhcp.php
1199 1199
		'btnaddpool',
1200 1200
		gettext('Add Address Pool'),
1201 1201
		'services_dhcp.php?if=' . htmlspecialchars($if) . '&act=newpool',
1202
		'fa-plus'
1202
		'fa-solid fa-plus'
1203 1203
	);
1204 1204
	$btnaddpool->addClass('btn-success');
1205 1205

  
......
1438 1438
	'btnadvdns',
1439 1439
	gettext('Display Advanced'),
1440 1440
	null,
1441
	'fa-cog'
1441
	'fa-solid fa-cog'
1442 1442
);
1443 1443

  
1444 1444
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1552 1552
	'btnadvmac',
1553 1553
	gettext('Display Advanced'),
1554 1554
	null,
1555
	'fa-cog'
1555
	'fa-solid fa-cog'
1556 1556
);
1557 1557

  
1558 1558
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1586 1586
	'btnadvntp',
1587 1587
	gettext('Display Advanced'),
1588 1588
	null,
1589
	'fa-cog'
1589
	'fa-solid fa-cog'
1590 1590
);
1591 1591

  
1592 1592
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1641 1641
	'btnadvtftp',
1642 1642
	gettext('Display Advanced'),
1643 1643
	null,
1644
	'fa-cog'
1644
	'fa-solid fa-cog'
1645 1645
);
1646 1646

  
1647 1647
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1665 1665
	'btnadvldap',
1666 1666
	gettext('Display Advanced'),
1667 1667
	null,
1668
	'fa-cog'
1668
	'fa-solid fa-cog'
1669 1669
);
1670 1670

  
1671 1671
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1689 1689
	'btnadvnwkboot',
1690 1690
	'Display Advanced',
1691 1691
	null,
1692
	'fa-cog'
1692
	'fa-solid fa-cog'
1693 1693
);
1694 1694

  
1695 1695
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1772 1772
	'btnadvopts',
1773 1773
	'Display Advanced',
1774 1774
	null,
1775
	'fa-cog'
1775
	'fa-solid fa-cog'
1776 1776
);
1777 1777

  
1778 1778
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1839 1839
		'deleterow' . $counter,
1840 1840
		'Delete',
1841 1841
		null,
1842
		'fa-trash'
1842
		'fa-solid fa-trash-can'
1843 1843
	))->addClass('btn-sm btn-warning');
1844 1844

  
1845 1845
	$section->add($group);
......
1853 1853
	'addrow',
1854 1854
	gettext('Add Custom Option'),
1855 1855
	null,
1856
	'fa-plus'
1856
	'fa-solid fa-plus'
1857 1857
))->addClass('btn-success')
1858 1858
  ->setHelp(gettext('Enter the DHCP option number, type and the value for each item to include in the DHCP lease information.'));
1859 1859
$section->add($group);
src/usr/local/www/services_dhcp_edit.php
520 520
	'btnmymac',
521 521
	gettext('Copy My MAC'),
522 522
	null,
523
	'fa-clone'
523
	'fa-regular fa-clone'
524 524
	);
525 525

  
526 526
$btnmymac->setAttribute('type','button')->removeClass('btn-primary')->addClass('btn-success btn-sm');
......
704 704
	'btnadvdns',
705 705
	gettext('Display Advanced'),
706 706
	null,
707
	'fa-cog'
707
	'fa-solid fa-cog'
708 708
);
709 709

  
710 710
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
778 778
	'btnadvntp',
779 779
	gettext('Display Advanced'),
780 780
	null,
781
	'fa-cog'
781
	'fa-solid fa-cog'
782 782
);
783 783

  
784 784
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
803 803
	'btnadvtftp',
804 804
	gettext('Display Advanced'),
805 805
	null,
806
	'fa-cog'
806
	'fa-solid fa-cog'
807 807
);
808 808

  
809 809
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
827 827
	'btnadvldap',
828 828
	gettext('Display Advanced'),
829 829
	null,
830
	'fa-cog'
830
	'fa-solid fa-cog'
831 831
);
832 832

  
833 833
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
851 851
	'btnadvnwkboot',
852 852
	'Display Advanced',
853 853
	null,
854
	'fa-cog'
854
	'fa-solid fa-cog'
855 855
);
856 856

  
857 857
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
934 934
	'btnadvopts',
935 935
	gettext('Display Advanced'),
936 936
	null,
937
	'fa-cog'
937
	'fa-solid fa-cog'
938 938
);
939 939

  
940 940
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1000 1000
		'deleterow' . $counter,
1001 1001
		gettext('Delete'),
1002 1002
		null,
1003
		'fa-trash'
1003
		'fa-solid fa-trash-can'
1004 1004
	))->addClass('btn-sm btn-warning');
1005 1005

  
1006 1006
	$section->add($group);
......
1013 1013
	'addrow',
1014 1014
	gettext('Add Custom Option'),
1015 1015
	null,
1016
	'fa-plus'
1016
	'fa-solid fa-plus'
1017 1017
))->addClass('btn-success')
1018 1018
  ->setHelp(gettext('Enter the DHCP option number, type and the value for each item to include in the DHCP lease information.'));
1019 1019
$section->add($group);
src/usr/local/www/services_dhcp_relay.php
222 222
		'deleterow' . $counter,
223 223
		gettext('Delete'),
224 224
		null,
225
		'fa-trash'
225
		'fa-solid fa-trash-can'
226 226
	))->addClass('btn-sm btn-warning');
227 227

  
228 228
	$section->add($group);
......
234 234
	'addrow',
235 235
	gettext('Add Upstream Server'),
236 236
	null,
237
	'fa-plus'
237
	'fa-solid fa-plus'
238 238
))->addClass('btn-success addbtn')
239 239
  ->setHelp(gettext('The IPv4 addresses of the servers to which DHCP requests are relayed.'));
240 240
$section->add($group);
src/usr/local/www/services_dhcpv6.php
925 925
		'btnaddpool',
926 926
		gettext('Add Address Pool'),
927 927
		'services_dhcpv6.php?if=' . htmlspecialchars($if) . '&act=newpool',
928
		'fa-plus'
928
		'fa-solid fa-plus'
929 929
	);
930 930
	$btnaddpool->addClass('btn-success');
931 931

  
......
1094 1094
	'btnadvdns',
1095 1095
	gettext('Display Advanced'),
1096 1096
	null,
1097
	'fa-cog'
1097
	'fa-solid fa-cog'
1098 1098
);
1099 1099

  
1100 1100
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1193 1193
	'btnadvntp',
1194 1194
	gettext('Display Advanced'),
1195 1195
	null,
1196
	'fa-cog'
1196
	'fa-solid fa-cog'
1197 1197
);
1198 1198

  
1199 1199
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1248 1248
	'btnadvldap',
1249 1249
	gettext('Display Advanced'),
1250 1250
	null,
1251
	'fa-cog'
1251
	'fa-solid fa-cog'
1252 1252
);
1253 1253

  
1254 1254
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1273 1273
	'btnadvnetboot',
1274 1274
	gettext('Display Advanced'),
1275 1275
	null,
1276
	'fa-cog'
1276
	'fa-solid fa-cog'
1277 1277
);
1278 1278

  
1279 1279
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1302 1302
	'btnadvopts',
1303 1303
	'Display Advanced',
1304 1304
	null,
1305
	'fa-cog'
1305
	'fa-solid fa-cog'
1306 1306
);
1307 1307

  
1308 1308
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
1356 1356
		'deleterow' . $counter,
1357 1357
		'Delete',
1358 1358
		null,
1359
		'fa-trash'
1359
		'fa-solid fa-trash-can'
1360 1360
	);
1361 1361

  
1362 1362
	$btn->addClass('btn-warning');
......
1370 1370
	'addrow',
1371 1371
	'Add Option',
1372 1372
	null,
1373
	'fa-plus'
1373
	'fa-solid fa-plus'
1374 1374
);
1375 1375

  
1376 1376
$btnaddopt->removeClass('btn-primary')->addClass('btn-success btn-sm');
src/usr/local/www/services_dhcpv6_relay.php
216 216
		'deleterow' . $counter,
217 217
		gettext('Delete'),
218 218
		null,
219
		'fa-trash'
219
		'fa-solid fa-trash-can'
220 220
	))->addClass('btn-sm btn-warning');
221 221

  
222 222
	$section->add($group);
......
228 228
	'addrow',
229 229
	gettext('Add Upstream Server'),
230 230
	null,
231
	'fa-plus',
231
	'fa-solid fa-plus',
232 232
))->addClass('btn-success addbtn')
233 233
  ->setHelp(gettext('The IPv6 addresses of the servers to which DHCPv6 requests are relayed.'));
234 234
$section->add($group);
src/usr/local/www/services_dnsmasq_edit.php
149 149
		'deleterow' . $counter,
150 150
		'Delete',
151 151
		null,
152
		'fa-trash'
152
		'fa-solid fa-trash-can'
153 153
	))->addClass('btn-warning')->addClass('nowarn');
154 154

  
155 155
	$section->add($group);
......
160 160
	'addrow',
161 161
	'Add Host Name',
162 162
	null,
163
	'fa-plus'
163
	'fa-solid fa-plus'
164 164
))->addClass('btn-success addbtn');
165 165

  
166 166
$form->add($section);
src/usr/local/www/services_dyndns_edit.php
531 531
		'force',
532 532
		'Save & Force Update',
533 533
		null,
534
		'fa-refresh'
534
		'fa-solid fa-arrows-rotate'
535 535
	))->removeClass('btn-primary')->addClass('btn-info');
536 536
}
537 537

  
src/usr/local/www/services_igmpproxy_edit.php
240 240
		'deleterow' . $counter,
241 241
		'Delete',
242 242
		null,
243
		'fa-trash'
243
		'fa-solid fa-trash-can'
244 244
	))->removeClass('btn-primary')->addClass('btn-warning');
245 245

  
246 246
	$counter++;
......
251 251
	'addrow',
252 252
	'Add network',
253 253
	null,
254
	'fa-plus'
254
	'fa-solid fa-plus'
255 255
))->removeClass('btn-primary')->addClass('btn-success addbtn');
256 256

  
257 257
$form->add($section);
src/usr/local/www/services_ntpd.php
352 352
		'deleterow' . $counter,
353 353
		'Delete',
354 354
		null,
355
		'fa-trash'
355
		'fa-solid fa-trash-can'
356 356
	))->addClass('btn-warning');
357 357

  
358 358
	 $section->add($group);
......
362 362
	'addrow',
363 363
	'Add',
364 364
	null,
365
	'fa-plus'
365
	'fa-solid fa-plus'
366 366
))->addClass('btn-success');
367 367

  
368 368
$section->addInput(new Form_StaticText(
......
445 445
	'btnadvstats',
446 446
	'Display Advanced',
447 447
	null,
448
	'fa-cog'
448
	'fa-solid fa-cog'
449 449
);
450 450

  
451 451
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
481 481
	'btnadvleap',
482 482
	'Display Advanced',
483 483
	null,
484
	'fa-cog'
484
	'fa-solid fa-cog'
485 485
);
486 486

  
487 487
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
src/usr/local/www/services_ntpd_acls.php
306 306
		'deleterow' . $counter,
307 307
		'Delete',
308 308
		null,
309
		'fa-trash'
309
		'fa-solid fa-trash-can'
310 310
	))->addClass('btn-warning btn-xs')->addClass("nowarn");
311 311

  
312 312
	$group->addClass('repeatable');
......
320 320
	'addrow',
321 321
	'Add',
322 322
	null,
323
	'fa-plus'
323
	'fa-solid fa-plus'
324 324
))->addClass('btn-success');
325 325

  
326 326
$form->add($section);
src/usr/local/www/services_ntpd_gps.php
557 557
	'btnadvgps',
558 558
	'Display Advanced',
559 559
	null,
560
	'fa-cog'
560
	'fa-solid fa-cog'
561 561
);
562 562

  
563 563
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
......
591 591
	'btncalc',
592 592
	'Calculate',
593 593
	null,
594
	'fa-calculator'
594
	'fa-solid fa-calculator'
595 595
);
596 596

  
597 597
$btncalc->setAttribute('type','button')->removeClass('btn-primary')->addClass('btn-success btn-sm');
src/usr/local/www/services_pppoe_edit.php
564 564
			'deleterow' . $counter,
565 565
			'Delete',
566 566
			null,
567
			'fa-trash'
567
			'fa-solid fa-trash-can'
568 568
		))->addClass('btn-warning');
569 569

  
570 570
		$section->add($group);
......
577 577
	'addrow',
578 578
	'Add user',
579 579
	null,
580
	'fa-plus'
580
	'fa-solid fa-plus'
581 581
);
582 582

  
583 583
$btnaddrow->addClass('btn-success');
src/usr/local/www/services_radvd.php
427 427
		'deleterow' . $counter,
428 428
		gettext('Delete'),
429 429
		null,
430
		'fa-trash'
430
		'fa-solid fa-trash-can'
431 431
	))->addClass('btn-sm btn-warning');
432 432

  
433 433
	$section->add($group);
......
439 439
	'addrow',
440 440
	gettext('Add RA Subnet'),
441 441
	null,
442
	'fa-plus'
442
	'fa-solid fa-plus'
443 443
);
444 444
$input->addClass('btn-success');
445 445
$group->add($input);
src/usr/local/www/services_rfc2136_edit.php
332 332
		'force',
333 333
		'Save & Force Update',
334 334
		null,
335
		'fa-refresh'
335
		'fa-solid fa-arrows-rotate'
336 336
	))->addClass('btn-info');
337 337
}
338 338

  
src/usr/local/www/services_unbound.php
443 443
	'btnadvcustom',
444 444
	'Custom options',
445 445
	null,
446
	'fa-cog'
446
	'fa-solid fa-cog'
447 447
);
448 448

  
449 449
$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
src/usr/local/www/services_unbound_acls.php
250 250
			'deleterow' . $counter,
251 251
			'Delete',
252 252
			null,
253
			'fa-trash'
253
			'fa-solid fa-trash-can'
254 254
		))->addClass('btn-warning');
255 255

  
256 256
		$group->addClass('repeatable');
......
263 263
		'addrow',
264 264
		'Add Network',
265 265
		null,
266
		'fa-plus'
266
		'fa-solid fa-plus'
267 267
	))->addClass('btn-success');
268 268

  
269 269
	$form->add($section);
src/usr/local/www/services_unbound_host_edit.php
286 286
		'deleterow' . $counter,
287 287
		'Delete',
288 288
		null,
289
		'fa-trash'
289
		'fa-solid fa-trash-can'
290 290
	))->addClass('btn-warning')->addClass('nowarn');
291 291

  
292 292
	$section->add($group);
......
297 297
	'addrow',
298 298
	'Add Host Name',
299 299
	null,
300
	'fa-plus'
300
	'fa-solid fa-plus'
301 301
))->removeClass('btn-primary')->addClass('btn-success addbtn');
302 302

  
303 303
$section->addInput(new Form_StaticText(
src/usr/local/www/services_wol.php
149 149
	'Submit',
150 150
	'Send',
151 151
	null,
152
	'fa-power-off'
152
	'fa-solid fa-power-off'
153 153
))->addClass('btn-primary');
154 154

  
155 155
print $form;
src/usr/local/www/status_captiveportal_expire.php
99 99
	'Submit',
100 100
	'Expire',
101 101
	null,
102
	'fa-trash'
102
	'fa-solid fa-trash-can'
103 103
))->addClass('btn-warning');
104 104

  
105 105
print($form);
src/usr/local/www/status_captiveportal_test.php
103 103
	'Submit',
104 104
	'Test',
105 105
	null,
106
	'fa-wrench'
106
	'fa-solid fa-wrench'
107 107
))->addClass('btn-primary');
108 108

  
109 109
print($form);
src/usr/local/www/status_logs_common.inc
315 315
			'filterlogentries_submit',
316 316
			gettext('Apply Filter'),
317 317
			null,
318
			'fa-filter'
318
			'fa-solid fa-filter'
319 319
		);
320 320
	} else { // Simple log filter form
321 321
		$form = new Form(false);
......
344 344
			'filtersubmit',
345 345
			gettext('Apply Filter'),
346 346
			null,
347
			'fa-filter'
347
			'fa-solid fa-filter'
348 348
		);
349 349
	}
350 350

  
......
535 535
			'filterlogentries_submit',
536 536
			gettext('Apply Filter'),
537 537
			null,
538
			'fa-filter'
538
			'fa-solid fa-filter'
539 539
		);
540 540
	} else { // Simple log filter form
541 541
		$form = new Form(false);
......
575 575
			'filtersubmit',
576 576
			gettext('Apply Filter'),
577 577
			null,
578
			'fa-filter'
578
			'fa-solid fa-filter'
579 579
		);
580 580
	}
581 581

  
......
1023 1023
		'save_settings',
1024 1024
		gettext('Save'),
1025 1025
		null,
1026
		'fa-save'
1026
		'fa-solid fa-save'
1027 1027
	);
1028 1028

  
1029 1029
	$btnsavesettings->addClass('btn-sm btn-primary');
......
1038 1038
		'clear',
1039 1039
		gettext('Clear log'),
1040 1040
		null,
1041
		'fa-trash'
1041
		'fa-solid fa-trash-can'
1042 1042
	);
1043 1043

  
1044 1044
	$btnclear->removeClass('btn-primary')->addClass('btn-sm btn-danger');
src/usr/local/www/status_logs_settings.php
375 375
	'resetlogs',
376 376
	'Reset Log Files',
377 377
	null,
378
	'fa-trash'
378
	'fa-solid fa-trash-can'
379 379
))->addClass('btn-danger btn-sm')->setHelp('Clears all local log files and reinitializes them as empty logs. This also restarts the DHCP daemon. Use the Save button first if any setting changes have been made.');
380 380

  
381 381
$form->add($section);
src/usr/local/www/status_logs_vpn.php
403 403
			'filterlogentries_submit',
404 404
			gettext('Apply Filter'),
405 405
			null,
406
			'fa-filter'
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff