[vhffs-dev] [PATCH] Issues

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


This patch fixes issues 0000145 & 0000173 (partially)
meta tags are now correct
textareas have the same width as input text, this can be considered as a
fix for #145
also, alignment should be improved in various forms thanks to a
"largeLabel" css class for forms.
Beuss (no french version this time, it's Thursday)
Index: vhffs-panel/themes/default/main.css
===================================================================
--- vhffs-panel/themes/default/main.css	(révision 229)
+++ vhffs-panel/themes/default/main.css	(copie de travail)
@@ -487,10 +487,9 @@
 	margin-bottom:5px;
 }
 
-form input, form select
+form input, form select, form textarea
 {
 	width:200px;
-
 }
 form input[type="checkbox"], form input[type="radio"]
 {
@@ -521,6 +520,11 @@
 	min-width:200px;
 }
 
+form.largeLabel label {
+	width:auto;
+	min-width:275px;
+}
+
 fieldset
 {
 	border-color:transparent;
Index: vhffs-panel/templates/mail/create.tmpl
===================================================================
--- vhffs-panel/templates/mail/create.tmpl	(révision 229)
+++ vhffs-panel/templates/mail/create.tmpl	(copie de travail)
@@ -1,5 +1,5 @@
 <h1><TMPL_VAR NAME="TITLE"></h1>
-<form method="post" action="submit.pl">
+<form method="post" action="submit.pl" class="largeLabel">
 	<p>
 		<label>		
 			<TMPL_VAR NAME="GROUP_NAME">: 
@@ -16,7 +16,7 @@
 		<label for="USAGE">
 			<TMPL_VAR NAME="MOTIVATION">:
 		</label>	
-		<textarea name="USAGE" id="USAGE"></textarea>
+		<textarea name="USAGE" id="USAGE" cols="45" rows="7"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/dns/create.tmpl
===================================================================
--- vhffs-panel/templates/dns/create.tmpl	(révision 229)
+++ vhffs-panel/templates/dns/create.tmpl	(copie de travail)
@@ -26,7 +26,7 @@
 		<label for="PROJECT_USAGE">		
 			<TMPL_VAR NAME="DESCRIPTION">:
 		</label>
-		<textarea name="DESCRIPTION" id="DESCRIPTION"/></textarea>
+		<textarea name="DESCRIPTION" id="DESCRIPTION" cols="45" rows="7"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/main/panel.tmpl
===================================================================
--- vhffs-panel/templates/main/panel.tmpl	(révision 229)
+++ vhffs-panel/templates/main/panel.tmpl	(copie de travail)
@@ -5,7 +5,7 @@
 		<title><tmpl_var name="PANEL_TITLE"></title>
 		<link rel="stylesheet" type="text/css" href="/themes/<tmpl_var name="THEME">/main.css"/>
 		<meta http-equiv="Pragma" content="no-cache"/>
-		<meta http-equiv="Content-type" content="text/html"; charset="utf-8"/>
+		<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
 		<script language="javascript" type="text/javascript" charset="utf-8" src="/functions.js"/>
 
 	</head>
Index: vhffs-panel/templates/pgsql/create.tmpl
===================================================================
--- vhffs-panel/templates/pgsql/create.tmpl	(révision 229)
+++ vhffs-panel/templates/pgsql/create.tmpl	(copie de travail)
@@ -1,6 +1,6 @@
 <h1><TMPL_VAR NAME="TITLE"></h1>
 
-<form method="post" action="pgsql_submit.pl">
+<form method="post" action="pgsql_submit.pl" class="largeLabel">
 	<p>
 		<TMPL_VAR NAME="INFOS">
 	</p>
@@ -26,7 +26,7 @@
 		<label for="DESCRIPTION">
 			<TMPL_VAR NAME="DESCRIPTION">:
 		</label>
-		<textarea name="DESCRIPTION" id="DESCRIPTION"/></textarea>
+		<textarea name="DESCRIPTION" id="DESCRIPTION" cols="45" rows="7"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/admin/misc/moderation_part.tmpl
===================================================================
--- vhffs-panel/templates/admin/misc/moderation_part.tmpl	(révision 229)
+++ vhffs-panel/templates/admin/misc/moderation_part.tmpl	(copie de travail)
@@ -29,7 +29,7 @@
 	<td>
 
 		<form method="post" action="moderation_submit.pl">
-			<textarea name="reason" cols=30 rows=4></textarea>
+			<textarea name="reason" cols="30" rows="4"></textarea>
 			<input type="hidden" name="OID" value="<TMPL_VAR NAME="OID">" />
 			<input type="hidden" name="OID_ASKER" value="<TMPL_VAR NAME="OID_ASKER">" />
 			<input type="hidden" name="ACCEPT" value="0" />
Index: vhffs-panel/templates/admin/misc/mailings_part.tmpl
===================================================================
--- vhffs-panel/templates/admin/misc/mailings_part.tmpl	(révision 229)
+++ vhffs-panel/templates/admin/misc/mailings_part.tmpl	(copie de travail)
@@ -22,7 +22,7 @@
 	<td>
 
 		<form method="post" action="moderation_submit.pl">
-			<textarea name="reason" cols=30 rows=4></textarea>
+			<textarea name="reason" cols="30" rows="4"></textarea>
 			<input type="hidden" name="OID" value="<TMPL_VAR NAME="OID">" />
 			<input type="hidden" name="OID_ASKER" value="<TMPL_VAR NAME="OID_ASKER">" />
 			<input type="hidden" name="ACCEPT" value="0" />
Index: vhffs-panel/templates/admin/misc/broadcast.tmpl
===================================================================
--- vhffs-panel/templates/admin/misc/broadcast.tmpl	(révision 229)
+++ vhffs-panel/templates/admin/misc/broadcast.tmpl	(copie de travail)
@@ -11,7 +11,7 @@
 		<label for="BODY">
 			<TMPL_VAR NAME="TEXT_BODY">: 
 		</label>
-		<textarea name="BODY" id="BODY" cols=60 rows=30></textarea>
+		<textarea name="BODY" id="BODY" cols="60" rows="30"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="TEXT_SUBMIT">" />
Index: vhffs-panel/templates/largefile/create.tmpl
===================================================================
--- vhffs-panel/templates/largefile/create.tmpl	(révision 229)
+++ vhffs-panel/templates/largefile/create.tmpl	(copie de travail)
@@ -32,7 +32,7 @@
 		<label for="LICENCE">
 			<TMPL_VAR NAME="LICENCE">:
 		</label>
-		<textarea name="licence" id="licence"/></textarea>
+		<textarea name="licence" id="licence" cols="45" rows="7"></textarea>
 	</p>
 	<p>
 		<label for="hash">
@@ -44,7 +44,7 @@
 		<label for="PROJECT_USAGE">
 			<TMPL_VAR NAME="DESCRIPTION">:
 		</label>
-		<textarea name="description" id="description"/></textarea>
+		<textarea name="description" id="description" cols="45" rows="7"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/cvs/create.tmpl
===================================================================
--- vhffs-panel/templates/cvs/create.tmpl	(révision 229)
+++ vhffs-panel/templates/cvs/create.tmpl	(copie de travail)
@@ -17,7 +17,7 @@
 		<label for="PROJECT_USAGE">		
 			<TMPL_VAR NAME="DESCRIPTION">:
 		</label>	
-		<textarea name="DESCRIPTION"/></textarea>
+		<textarea name="DESCRIPTION" cols="45" rows="7"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/misc/alert.tmpl
===================================================================
--- vhffs-panel/templates/misc/alert.tmpl	(révision 229)
+++ vhffs-panel/templates/misc/alert.tmpl	(copie de travail)
@@ -7,7 +7,7 @@
 		<label for="MESSAGE">
 			<TMPL_VAR NAME="YOUR_MESSAGE_TEXT">:
 		</label>
-		<textarea name="MESSAGE" id="MESSAGE" cols="50 "rows="10"/></textarea>
+		<textarea name="MESSAGE" id="MESSAGE" cols="50 "rows="10"></textarea>
 	</p>
 	<p class="button" id="sendButton">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/group/create.tmpl
===================================================================
--- vhffs-panel/templates/group/create.tmpl	(révision 229)
+++ vhffs-panel/templates/group/create.tmpl	(copie de travail)
@@ -19,7 +19,7 @@
 		<label for="PROJECT_USAGE">
 			<TMPL_VAR NAME="DESCRIPTION">:
 		</label>
-		<textarea name="PROJECT_USAGE" id="PROJECT_USAGE" cols="45" rows="7"/></textarea>
+		<textarea name="PROJECT_USAGE" id="PROJECT_USAGE" cols="45" rows="7"></textarea>
 	</p>
 	<p class="button"  id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/mysql/create.tmpl
===================================================================
--- vhffs-panel/templates/mysql/create.tmpl	(révision 229)
+++ vhffs-panel/templates/mysql/create.tmpl	(copie de travail)
@@ -1,6 +1,6 @@
 <h1><TMPL_VAR NAME="TITLE"></h1>
 
-<form method="post" action="submit.pl">
+<form method="post" action="submit.pl" class="largeLabel">
 	<p>		
 		<TMPL_VAR NAME="INFOS">
 	</p>
@@ -26,7 +26,7 @@
 		<label for="PROJECT_USAGE">
 			<TMPL_VAR NAME="DESCRIPTION">:
 		</label>
-		<textarea name="DESCRIPTION" id="PROJECT_USAGE"/></textarea>
+		<textarea name="DESCRIPTION" id="PROJECT_USAGE" cols="45" rows="7"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/svn/create.tmpl
===================================================================
--- vhffs-panel/templates/svn/create.tmpl	(révision 229)
+++ vhffs-panel/templates/svn/create.tmpl	(copie de travail)
@@ -17,7 +17,7 @@
 		<label for="PROJECT_USAGE">		
 			<TMPL_VAR NAME="DESCRIPTION">:
 		</label>	
-		<textarea name="DESCRIPTION" id="PROJECT_USAGE"/></textarea>
+		<textarea name="DESCRIPTION" id="PROJECT_USAGE"  cols="45" rows="7"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/mailinglist/create.tmpl
===================================================================
--- vhffs-panel/templates/mailinglist/create.tmpl	(révision 229)
+++ vhffs-panel/templates/mailinglist/create.tmpl	(copie de travail)
@@ -1,6 +1,6 @@
 <h1><TMPL_VAR NAME="TITLE"></h1>
 
-<form method="post" action="submit.pl">
+<form method="post" action="submit.pl" class="largeLabel">
 	<p>
 		<label>		
 			<TMPL_VAR NAME="GROUP_NAME">: 
@@ -17,7 +17,7 @@
 		<label for="USAGE">
 			<TMPL_VAR NAME="MOTIVATION">:
 		</label>
-		<textarea name="USAGE" id="USAGE"/></textarea>
+		<textarea name="USAGE" id="USAGE" cols="45" rows="7"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />
Index: vhffs-panel/templates/web/create.tmpl
===================================================================
--- vhffs-panel/templates/web/create.tmpl	(révision 229)
+++ vhffs-panel/templates/web/create.tmpl	(copie de travail)
@@ -1,6 +1,6 @@
 <h1><TMPL_VAR NAME="TITLE"></h1>
 
-<form method="post" action="web_submit.pl">
+<form method="post" action="web_submit.pl" class="largeLabel">
 	<p>
 		<label>		
 			<TMPL_VAR NAME="GROUP_NAME">: 
@@ -20,7 +20,7 @@
 		<label for="USAGE">		
 			<TMPL_VAR NAME="MOTIVATION">:
 		</label>
-		<textarea name="USAGE" id="USAGE"/></textarea>
+		<textarea name="USAGE" id="USAGE" cols="45" rows="7"></textarea>
 	</p>
 	<p class="button" id="buttonSend">
 		<input type="submit" value="<TMPL_VAR NAME="SEND">" />


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/