Project

General

Profile

« Previous | Next » 

Revision edf1c0d9

Added by Warren Baker almost 14 years ago

Give the Layer7 patterns page some much needed love.

View differences:

usr/local/www/diag_patterns.php
59 59
include("head.inc");
60 60
?>
61 61

  
62
<style>
63
<!--
64

  
65
input {
66
   font-family: courier new, courier;
67
   font-weight: normal;
68
   font-size: 9pt;
69
}
70

  
71
pre {
72
   border: 2px solid #435370;
73
   background: #F0F0F0;
74
   padding: 1em;
75
   font-family: courier new, courier;
76
   white-space: pre;
77
   line-height: 10pt;
78
   font-size: 10pt;
79
}
80

  
81
.label {
82
   font-family: tahoma, verdana, arial, helvetica;
83
   font-size: 11px;
84
   font-weight: bold;
85
}
86

  
87
.button {
88
   font-family: tahoma, verdana, arial, helvetica;
89
   font-weight: bold;
90
   font-size: 11px;
91
}
92

  
93
-->
94
</style>
95
</head>
96 62
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
97 63
<?php include("fbegin.inc"); ?>
98
<p><strong><?=gettext("You can upload new layer7 patterns to your system!");?></strong></p>
99 64
<?php if ($ulmsg) echo "<p class=\"red\"><strong>" . $ulmsg . "</strong></p>\n"; ?>
100
<div id="niftyOutter">
65
<div id="mainarea">
101 66
<form action="diag_patterns.php" method="POST" enctype="multipart/form-data" name="frmPattern">
102
  <table>
103
	
104
  <tr>
105
    <td colspan="2" valign="top" class="vnsepcell"><?=gettext("Upload");?></td>
106
  </tr>    
107
    <tr>
108
      <td align="right"><?=gettext("File to upload:");?></td>
109
      <td valign="top" class="label">
110
	<input name="ulfile" type="file" class="formfld file" id="ulfile">
111
	</td></tr>
112
    <tr>
113
      <td valign="top">&nbsp;&nbsp;&nbsp;</td>
114
      <td valign="top" class="label">	
115
	<input name="submit" type="submit"  class="button" id="upload" value="<?=gettext("Upload");?>"></td>
116
    </tr>
67
  <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">	
68
  	<tr>
69
    	<td colspan="4" valign="top" class="listtopic"><?=gettext("Upload layer7 pattern file");?></td>
70
  	</tr>
117 71
	<tr>
118
	  <td colspan="2" valign="top" height="16"></td>
72
		<td align="right"><strong><?=gettext("File to upload:");?></strong></td>
73
		<td valign="top" class="label">
74
			<input name="ulfile" type="file" class="formfld file" id="ulfile">
75
		</td>
119 76
	</tr>
120
	    
77
	<tr>
78
		<td valign="top">&nbsp;&nbsp;&nbsp;</td>
79
		<td valign="top" class="label">	
80
			<input name="submit" type="submit"  class="button" id="upload" value="<?=gettext("Upload Pattern file");?>">
81
		</td>
82
	</tr>
83
	<tr>
84
		<td colspan="2" valign="top" height="16"></td>
85
	</tr>    
121 86
  </table>
122 87
</div>
123 88
<?php include("fend.inc"); ?>
usr/local/www/themes/pfsense_ng/all.css
681 681
}
682 682
.file {
683 683
  background: url('/themes/nervecenter/images/icons/icon_frmfld_file.png') no-repeat 0 1px #FFFFFF;
684
  background-color: transparent;
684 685
}
685 686
.mail {
686 687
  background: url('/themes/nervecenter/images/icons/icon_frmfld_mail.png') no-repeat 0 1px #FFFFFF;

Also available in: Unified diff