placeholder and regexp
This commit is contained in:
parent
3c268d40ae
commit
2ff5681988
@ -45,10 +45,10 @@
|
|||||||
<br></span> </p>
|
<br></span> </p>
|
||||||
<p>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</p>
|
<p>For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).</p>
|
||||||
<span class=label>
|
<span class=label>
|
||||||
%=l('NFS Client(s) allowed.')
|
%=l('NFS Client(s) allowed')
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
% param 'NFSClientsAllowed' => $nfs_data->{NFSClientsAllowed} unless param 'NFSClientsAllowed';
|
% param 'NFSClientsAllowed' => $nfs_data->{NFSClientsAllowed} unless param 'NFSClientsAllowed';
|
||||||
%= text_area 'NFSClientsAllowed', cols=>50, rows=>15
|
%= text_area 'NFSClientsAllowed', cols=>40, rows=>5
|
||||||
</span><br>
|
</span><br>
|
||||||
|
|
||||||
<p><span class=label>
|
<p><span class=label>
|
||||||
@ -103,14 +103,14 @@
|
|||||||
%=l('Set the UID.')
|
%=l('Set the UID.')
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
% param 'SetUID' => $nfs_data->{SetUID} unless param 'SetUID';
|
% param 'SetUID' => $nfs_data->{SetUID} unless param 'SetUID';
|
||||||
%= text_field 'SetUID', size => '60', class => 'input'
|
%= text_field 'SetUID', size => '50', class => 'input' , pattern=>'.*' , placeholder=>'SetUID'
|
||||||
<br></span></p>
|
<br></span></p>
|
||||||
|
|
||||||
<p><span class=label>
|
<p><span class=label>
|
||||||
%=l('Set the GID.')
|
%=l('Set the GID.')
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
% param 'SetGID' => $nfs_data->{SetGID} unless param 'SetGID';
|
% param 'SetGID' => $nfs_data->{SetGID} unless param 'SetGID';
|
||||||
%= text_field 'SetGID', size => '60', class => 'input'
|
%= text_field 'SetGID', size => '50', class => 'input' , pattern=>'.*' , placeholder=>'SetGID'
|
||||||
<br></span></p>
|
<br></span></p>
|
||||||
|
|
||||||
<span class='data'>
|
<span class='data'>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
%=l('${Label}')
|
%=l('${Label}')
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||||
%= text_area '${Name}', cols=>50, rows=>15
|
%= text_area '${Name}', cols=>${cols | 40}, rows=>${rows | 10}
|
||||||
</span><br>
|
</span><br>
|
||||||
]]></Textarea>
|
]]></Textarea>
|
||||||
|
|
||||||
@ -30,7 +30,7 @@
|
|||||||
<span class=label>
|
<span class=label>
|
||||||
%=$%=l('${Label}')
|
%=$%=l('${Label}')
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
%=date_field '${Name}' =>$$${Name}
|
%=date_field '${Name}' =>$$${Name}, pattern=>${regexp | .*}
|
||||||
</span><br>
|
</span><br>
|
||||||
]]></Date>
|
]]></Date>
|
||||||
|
|
||||||
@ -39,7 +39,7 @@
|
|||||||
%=l('${Label}')
|
%=l('${Label}')
|
||||||
</span><span class=data>
|
</span><span class=data>
|
||||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||||
%= text_field '${Name}', size => '60', class => 'input'
|
%= text_field '${Name}', size => '${size | 50}', class => 'input' , pattern=>'${regexp | ".*"}' , placeholder=>'${placeholder | Name}'
|
||||||
<br></span></p>
|
<br></span></p>
|
||||||
]]></Textinput>
|
]]></Textinput>
|
||||||
|
|
||||||
@ -51,4 +51,49 @@
|
|||||||
%= submit_button l('${value}'), class => 'action'
|
%= submit_button l('${value}'), class => 'action'
|
||||||
</span>]]>
|
</span>]]>
|
||||||
</Submit>
|
</Submit>
|
||||||
|
|
||||||
|
<search><![CDATA[
|
||||||
|
<p><span class=label>
|
||||||
|
%=l('${Label}')
|
||||||
|
</span><span class=data>
|
||||||
|
</span>span></p>
|
||||||
|
]]>
|
||||||
|
</search>
|
||||||
|
|
||||||
|
<url><![CDATA[
|
||||||
|
<p><span class=label>
|
||||||
|
%=l('${Label}')
|
||||||
|
</span><span class=data>
|
||||||
|
</span>span></p>
|
||||||
|
]]>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<tel><![CDATA[
|
||||||
|
<p><span class=label>
|
||||||
|
%=l('${Label}')
|
||||||
|
</span><span class=data>
|
||||||
|
</span>span></p>
|
||||||
|
]]>
|
||||||
|
</tel>
|
||||||
|
|
||||||
|
<email><![CDATA[
|
||||||
|
<p><span class=label>
|
||||||
|
%=l('${Label}')
|
||||||
|
</span><span class=data>
|
||||||
|
</span>span></p>
|
||||||
|
]]>
|
||||||
|
</email>
|
||||||
|
|
||||||
|
<password><![CDATA[
|
||||||
|
<p><span class=label>
|
||||||
|
%=l('${Label}')
|
||||||
|
</span><span class=data>
|
||||||
|
</span>span></p>
|
||||||
|
]]>
|
||||||
|
</password>
|
||||||
|
|
||||||
|
<Extra6><![CDATA[
|
||||||
|
]]>
|
||||||
|
</Extra6>
|
||||||
|
|
||||||
</root>
|
</root>
|
||||||
|
@ -53,7 +53,8 @@
|
|||||||
Input5: {
|
Input5: {
|
||||||
Name: 'NFSClientsAllowed',
|
Name: 'NFSClientsAllowed',
|
||||||
Type: 'Textarea',
|
Type: 'Textarea',
|
||||||
Label: 'NFS Client(s) allowed.'
|
Label: 'NFS Client(s) allowed',
|
||||||
|
rows : 5
|
||||||
},
|
},
|
||||||
Input6: {
|
Input6: {
|
||||||
Name: 'FileSystemPermissions',
|
Name: 'FileSystemPermissions',
|
||||||
|
Loading…
Reference in New Issue
Block a user