Project

General

Profile

« Previous | Next » 

Revision c4a7740d

Added by Sander van Leeuwen over 10 years ago

Finish preliminary restyle of L2TP configuration

vpn_l2tp.php - Use pill style for navigation
vpn_l2tp_users.php - Cleaned and formatted according to bootstrap styles
vpn_l2tp_users_edit.php - Cleaned and formatted according to bootstrap styles
pfSense.css - Styles for form validation and pill navigation
guiconfig.inc - display_top_tabs accepts different styles; print_input_errors prints proper bootstrap alert box

View differences:

usr/local/www/vpn_l2tp.php
280 280
$tab_array = array();
281 281
$tab_array[0] = array(gettext("Configuration"), true, "vpn_l2tp.php");
282 282
$tab_array[1] = array(gettext("Users"), false, "vpn_l2tp_users.php");
283
display_top_tabs($tab_array);
283
display_top_tabs($tab_array, false, 'pills');
284 284
?>
285 285

  
286 286
	<div class="panel panel-default">
......
495 495
		</div>
496 496
	</div>
497 497

  
498
<?php
499
	// TODO: Is it possible to detect available rules and only show warning if there are no (relevant) rules set?
500
?>
498 501
	<div class="alert alert-danger">
499 502
		<strong><?=gettext("Note:")?></strong> <?=gettext("Don't forget to add a firewall rule to permit traffic from L2TP clients!")?>
500 503
	</div>

Also available in: Unified diff