Changeset 100585 in spip-zone for _plugins_/pgn4spip


Ignore:
Timestamp:
Nov 20, 2016, 8:57:44 PM (4 years ago)
Author:
jack@…
Message:

Début de nettoyage du formulaire de config (suppression des tableaux)
Le "texte d'aide" passe en dessous des boutons de validation
pétouille sur fichier de langue

Location:
_plugins_/pgn4spip/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/pgn4spip/trunk/formulaires/configurer_pgn4spip.html

    r100554 r100585  
    1 <!--
    2 /**********************************************************************************
    3  * @Subject configurer_pgn4spip.html describes the HTML file of the configuration for SPIP
    4  * @package pgn4spip: Embed pgn4web Chessboard plugin for SPIP
    5  * @copyright copyright (c) 2012 Matt Chesstale
    6  * @license GNU General Public License version 3
    7  **********************************************************************************/
    8 -->
    91<style type="text/css">
    10 table.spip td, td, .formulaire_spip ul
    11 {
    12         padding-top:0px;
    13         padding-bottom:0px;
    14 }
    15 .formulaire_spip ul
    16 {
    17         margin-left: 0px;
    18         margin-right: 0px;
    19 }
    20 .formulaire_spip li
    21 {
    22         margin-top: 1px;
    23         margin-bottom: 1px;
    24 }
     2
    253.formulaire_spip fieldset, .formulaire_spip legend
    264{
     
    3311        -moz-border-radius: 8px;
    3412}
    35 hr
     13
     14.formulaire_spip label, .formulaire_spip .gauche label
    3615{
    37         margin-top:0px;
    38         margin-bottom:0px;
     16        margin:0 10px 0 0;
     17        line-height:25px;
    3918}
    40 .formulaire_spip li label, .formulaire_spip li.gauche label
    41 {
    42         width: auto;
    43         margin-left:0px;
    44 }
    45 .formulaire_spip textarea
    46 {
    47         font-family:Verdana,Geneva,helvetica,sans;
    48         font-size:11px;
    49         line-height:normal;
    50 }
     19
    5120</style>
     21
    5222<div class="formulaire_spip formulaire_configurer formulaire_#FORM">
    5323[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
     
    5727<div style="font-size:11px;">
    5828#ACTION_FORMULAIRE{#ENV{action}}
    59 <ul>
    60 <li class="fieldset">
    61 <fieldset style="height: 56px;"><legend><:pgn4spip:module:></legend>
    62 <table cellpadding="0" cellspacing="5">
    63 <tr><td>
    64         <select name="cfg_l">
     29
     30<div class="fieldset">
     31<fieldset ><legend><:pgn4spip:module:></legend>
     32
     33        <select name="cfg_l" style="max-width:15%;">
    6534                <option value="h" [(#CONFIG{pgn4spip/cfg_l, "h"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:horizontal:></option>
    6635                <option value="v" [(#CONFIG{pgn4spip/cfg_l, "h"}|=={"v"}|?{selected="selected",''})]><:pgn4spip:vertical:></option>
    6736        </select>
    68         </td>
    69         <td>
    70         <input type="radio" name="cfg_isManual" value="" [checked="(#CONFIG{pgn4spip/cfg_isManual}|=={''}|?{'checked'})"] class="fondl" />
    71         <:pgn4spip:auto:>
    72         <input type="radio" name="cfg_isManual" value="manual" [checked="(#CONFIG{pgn4spip/cfg_isManual}|!={''}|?{'checked'})"] class="fondl" />
    73         <:pgn4spip:manual:><input type="text" name="cfg_height_site" value="[(#CONFIG{pgn4spip/cfg_height_site, 268})]" size="2"><:pgn4spip:pixels:>
    74         </td>
    75 </tr>
    76 </table>
     37                <input type="radio" name="cfg_isManual" value="" [checked="(#CONFIG{pgn4spip/cfg_isManual}|=={''}|?{'checked'})"] class="fondl" />
     38                <:pgn4spip:auto:>
     39                <input type="radio" name="cfg_isManual" value="manual" [checked="(#CONFIG{pgn4spip/cfg_isManual}|!={''}|?{'checked'})"] class="fondl" />
     40                <:pgn4spip:manual:><input type="text" name="cfg_height_site" value="[(#CONFIG{pgn4spip/cfg_height_site, 268})]" size="2"><:pgn4spip:pixels:>
     41
    7742</fieldset>
    78 </li>
    79 <li class="fieldset">
    80 <fieldset style="height: 130px;"><legend><:pgn4spip:chessboard:></legend>
    81 <table cellpadding="0" cellspacing="5">
    82 <tr><td><:pgn4spip:square:></td>
    83         <td><:pgn4spip:white:></td>
    84         <td><:pgn4spip:black:></td>
    85         <td><div align="center"><:pgn4spip:focus:></div></td>
    86         <td><div align="center"><:pgn4spip:border:></div></td>
    87         <td><div align="center"><:pgn4spip:background:></div></td>
    88 </tr>
    89 <tr><td nowrap="nowrap"><input type="text" name="cfg_ss" value="[(#CONFIG{pgn4spip/cfg_ss, 26})]" size="1"><:pgn4spip:pixels:></td>
    90         <td><input type="text" name="cfg_lch" value="[(#CONFIG{pgn4spip/cfg_lch, "F0F0F0"})]" size="5"/></td>
    91         <td><input type="text" name="cfg_dch" value="[(#CONFIG{pgn4spip/cfg_dch, "ABABAB"})]" size="5"/><br /></td>
    92         <td><input type="text" name="cfg_hch" value="[(#CONFIG{pgn4spip/cfg_hch, "ABABAB"})]" size="5"/></td>
    93         <td><input type="text" name="cfg_bbch" value="[(#CONFIG{pgn4spip/cfg_bbch, "E0E0E0"})]" size="5"/></td>
    94         <td><input type="text" name="cfg_bch" value="[(#CONFIG{pgn4spip/cfg_bch, "F6F6F6"})]" size="5"/></td>
    95 </tr>
    96 <tr><td nowrap="nowrap" style="vertical-align:middle;"><label><:pgn4spip:piece:></label></td>
    97         <td><input type="text" name="cfg_ps" value="[(#CONFIG{pgn4spip/cfg_ps, <:pgn4spip:default:>})]" size="5"></td>
    98         <td style="vertical-align:middle;"><label><:pgn4spip:font:></label></td>
    99         <td>
    100         <select name="cfg_pf">
     43</div>
     44<div class="fieldset">
     45<fieldset><legend><:pgn4spip:chessboard:></legend>
     46        <div class="editer-groupe">
     47<p>                     
     48                       
     49        <label for="cfg_ss"><:pgn4spip:square:></label><input type="text" name="cfg_ss" value="[(#CONFIG{pgn4spip/cfg_ss, 26})]" size="1"><:pgn4spip:pixels:>
     50        <label for="cfg_lch"><:pgn4spip:white:></label><input type="text" name="cfg_lch" value="[(#CONFIG{pgn4spip/cfg_lch, "F0F0F0"})]" size="5"/>
     51        <label for="cfg_dch"><:pgn4spip:black:></label><input type="text" name="cfg_dch" value="[(#CONFIG{pgn4spip/cfg_dch, "ABABAB"})]" size="5"/>
     52</p>
     53
     54<p>
     55        <label for="cfg_hch"><:pgn4spip:focus:></label><input type="text" name="cfg_hch" value="[(#CONFIG{pgn4spip/cfg_hch, "ABABAB"})]" size="5"/>
     56        <label for="cfg_bbch"><:pgn4spip:border:></label><input type="text" name="cfg_bbch" value="[(#CONFIG{pgn4spip/cfg_bbch, "E0E0E0"})]" size="5"/>
     57        <label for="cfg_bch"><:pgn4spip:background:></label><input type="text" name="cfg_bch" value="[(#CONFIG{pgn4spip/cfg_bch, "F6F6F6"})]" size="5"/>
     58</p>
     59
     60<p>
     61        <label for="cfg_ps"><:pgn4spip:piece:></label>
     62<input type="text" name="cfg_ps" value="[(#CONFIG{pgn4spip/cfg_ps, <:pgn4spip:default:>})]" size="5">
     63<label for="cfg_pf"><:pgn4spip:font:></label>
     64
     65        <select name="cfg_pf"  style="max-width:30%;">
    10166                <option value="d" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"d"}|?{selected="selected",''})]><:pgn4spip:default:></option>
    10267                <option value="a" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"a"}|?{selected="selected",''})]><:pgn4spip:alpha:></option>
     
    10469                <option value="u" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"u"}|?{selected="selected",''})]><:pgn4spip:ucsf:></option>
    10570                <option value="s" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:svgchess:></option>
     71        </select >
     72</p>                   
     73        </div >
     74                       
     75<p><:pgn4spip:squareclick:></p>
     76
     77</fieldset>
     78</div>
     79
     80<div class="fieldset">
     81<fieldset ><legend><:pgn4spip:pgn:></legend>
     82                        <div class="editer-groupe">
     83<label for="cfg_md"><:pgn4spip:showmoves:></label>      <select name="cfg_md" style="max-width:20%;"> <br />
     84        <option value="f" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"f"}|?{selected="selected",''})]><:pgn4spip:figurine:></option><
     85        <option value="t" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"t"}|?{selected="selected",''})]><:pgn4spip:text:></option><br />
     86        <option value="p" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"p"}|?{selected="selected",''})]><:pgn4spip:puzzle:></option><br />
     87        <option value="h" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden:></option><br />
     88        <option value="l" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"l"}|?{selected="selected",''})]><:pgn4spip:live:></option><br />
    10689        </select>
    107         </td>
    108 </tr>
    109 <tr><td colspan="6"><:pgn4spip:squareclick:></td></tr>
    110 </table>
    111 </fieldset>
    112 </li>
    113 <li class="fieldset">
    114 <fieldset style="height: 124px;"><legend><:pgn4spip:pgn:></legend>
    115 <table cellpadding="0" cellspacing="5">
    116 <tr><td><:pgn4spip:showmoves:></td>
    117         <td><div align="center"><:pgn4spip:pgnheader:></div></td>
    118         <td><div align="center"><:pgn4spip:pgnmove:></div></td>
    119         <td><:pgn4spip:pgncomment:></td>
    120         <td><div align="center"><:pgn4spip:pgnfocus:></div></td>
    121         <td><div align="center"><:pgn4spip:pgndelay:></div></td>
    122 </tr>
    123 <tr><td>
    124         <select name="cfg_md">
    125                 <option value="f" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"f"}|?{selected="selected",''})]><:pgn4spip:figurine:></option>
    126                 <option value="t" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"t"}|?{selected="selected",''})]><:pgn4spip:text:></option>
    127                 <option value="p" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"p"}|?{selected="selected",''})]><:pgn4spip:puzzle:></option>
    128                 <option value="h" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden:></option>
    129                 <option value="l" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"l"}|?{selected="selected",''})]><:pgn4spip:live:></option>
    130         </select>
    131         </td>
    132         <td><input type="text" name="cfg_fhch" value="[(#CONFIG{pgn4spip/cfg_fhch, "000000"})]" size="5"/></td>
    133         <td><input type="text" name="cfg_fmch" value="[(#CONFIG{pgn4spip/cfg_fmch, "000000"})]" size="5"/></td>
    134         <td><input type="text" name="cfg_fcch" value="[(#CONFIG{pgn4spip/cfg_fcch, "000080"})]" size="5"/><br /></td>
    135         <td><input type="text" name="cfg_hmch" value="[(#CONFIG{pgn4spip/cfg_hmch, "E0E0E0"})]" size="5"/></td>
    136         <td><input type="text" name="cfg_d" value="[(#CONFIG{pgn4spip/cfg_d, "3000"})]" size="5"/></td>
    137 </tr>
    138 <tr><td><:pgn4spip:ctrlbrowse:></td>
    139         <td><div align="center"><:pgn4spip:ctrlarrow:></div></td>
    140         <td><div align="center"><:pgn4spip:ctrlbckgrnd:></div></td>
    141         <td>
    142         <select name="cfg_cd">
     90
     91<label for="cfg_fhch"><:pgn4spip:pgnheader:></label>    <input type="text" name="cfg_fhch" value="[(#CONFIG{pgn4spip/cfg_fhch, "000000"})]" size="5"/>
     92<label for="cfg_fmch"><:pgn4spip:pgnmove:></label>      <input type="text" name="cfg_fmch" value="[(#CONFIG{pgn4spip/cfg_fmch, "000000"})]" size="5"/>
     93        <p>
     94<label for="cfg_fcch"><:pgn4spip:pgncomment:></label>           <input type="text" name="cfg_fcch" value="[(#CONFIG{pgn4spip/cfg_fcch, "000080"})]" size="5"/>
     95        <select name="cfg_cd" style="max-width:20%;">
    14396                <option value="n" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:newline:></option>
    14497                <option value="i" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"i"}|?{selected="selected",''})]><:pgn4spip:inline:></option>
    14598                <option value="h" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden2:></option>
    14699        </select>
    147         </td>
    148         <td>
    149         <select name="cfg_hm">
     100<label for="cfg_hmch"><:pgn4spip:pgnfocus:></label><input type="text" name="cfg_hmch" value="[(#CONFIG{pgn4spip/cfg_hmch, "E0E0E0"})]" size="5"/>
     101<label for="cfg_d"><:pgn4spip:pgndelay:></label>        <input type="text" name="cfg_d" value="[(#CONFIG{pgn4spip/cfg_d, "3000"})]" size="5"/>
     102       
     103        </p>
     104
     105                       
     106
     107<label for="cfg_bd"><:pgn4spip:ctrlbrowse:></label>
     108        <select name="cfg_bd" style="max-width:12%;">
     109                <option value="c" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"c"}|?{selected="selected",''})]><:pgn4spip:custom:></option>
     110                <option value="s" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:standard:></option>
     111                <option value="h" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden2:></option>
     112        </select>
     113       
     114       
     115<label for="cfg_ctch"><:pgn4spip:ctrlarrow:></label><input type="text" name="cfg_ctch" value="[(#CONFIG{pgn4spip/cfg_ctch, "696969"})]" size="5"/>     
     116<label for="cfg_cbch"><:pgn4spip:ctrlbckgrnd:><input type="text" name="cfg_cbch" value="[(#CONFIG{pgn4spip/cfg_cbch, "E1E1E1"})]" size="5"/></td>
     117
     118        <select name="cfg_hm" style="max-width:20%;">
    150119                <option value="b" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"b"}|?{selected="selected",''})]><:pgn4spip:focusborder:></option>
    151120                <option value="s" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:focussquare:></option>
    152121                <option value="n" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:none:></option>
    153122        </select>
    154         </td>
    155         <td><:pgn4spip:liverate:></td>
    156 </tr>
    157 <tr><td>
    158         <select name="cfg_bd">
    159                 <option value="c" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"c"}|?{selected="selected",''})]><:pgn4spip:custom:></option>
    160                 <option value="s" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:standard:></option>
    161                 <option value="h" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden2:></option>
    162         </select>
    163         </td>
    164         <td><input type="text" name="cfg_ctch" value="[(#CONFIG{pgn4spip/cfg_ctch, "696969"})]" size="5"/></td>
    165         <td><input type="text" name="cfg_cbch" value="[(#CONFIG{pgn4spip/cfg_cbch, "E1E1E1"})]" size="5"/></td>
    166         <td><:pgn4spip:autoplay:></td>
    167         <td>
    168         <select name="cfg_am">
     123        <:pgn4spip:liverate:>
     124
     125<label for="cfg_am"><:pgn4spip:autoplay:></label>
     126
     127        <select name="cfg_am"style="max-width:20%;">
    169128                <option value="n" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:none:></option>
    170129                <option value="g" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"g"}|?{selected="selected",''})]><:pgn4spip:game:></option>
    171130                <option value="l" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"l"}|?{selected="selected",''})]><:pgn4spip:loop:></option>
    172131        </select>
    173         </td>
    174         <td><input type="text" name="cfg_rm" value="[(#CONFIG{pgn4spip/cfg_rm, "1.0"})]" size="5"/></td>
    175 </tr>
    176 </table>
     132
     133        <input type="text" name="cfg_rm" value="[(#CONFIG{pgn4spip/cfg_rm, "1.0"})]" size="5"/>
     134
    177135</fieldset>
    178 </li>
    179 <hr />
    180 <li class="fieldset">
     136</div>
     137
     138<p class="boutons">
     139        <input type="submit" name="enregistrer" class="submit" value="<:pgn4spip:ok:>" />
     140        <input type="submit" name="reinit" class="submit" value="<:pgn4spip:reinit:>" />
     141</p>
     142</div>
     143</form>
     144</div>
     145
     146<div class="fieldset">
    181147<fieldset>
    182148
     
    215181</textarea>
    216182
    217 
    218183</fieldset>
    219 </li>
    220 </ul>
    221 <p class="boutons">
    222         <input type="submit" name="enregistrer" class="submit" value="<:pgn4spip:ok:>" />
    223         <input type="submit" name="reinit" class="submit" value="<:pgn4spip:reinit:>" />
    224 </p>
    225184</div>
    226185</form>
  • _plugins_/pgn4spip/trunk/lang/pgn4spip_fr.php

    r100554 r100585  
    5858'newline'                       =>      'bloc',
    5959'inline'                        =>      'suite',
    60 'hidden2'                       =>      'caché;',
     60'hidden2'                       =>      'caché',
    6161'focusborder'           =>      'bord',
    6262'focussquare'           =>      'case',
  • _plugins_/pgn4spip/trunk/paquet.xml

    r100554 r100585  
    22        prefix="pgn4spip"
    33        categorie="divers"
    4         version="2.71.5"
     4        version="2.71.6"
    55        etat="test"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.