Changeset 104064 in spip-zone for _plugins_/pgn4spip


Ignore:
Timestamp:
Apr 23, 2017, 11:59:22 AM (4 years ago)
Author:
jack@…
Message:

Simplification du formulaire. Les options qui n'en sont pas vraiment supprimées (en fonction de la taille une police différente est sélectionnée...)
Pour l'instant il reste possible de sélectionner toutes les tailles de font.

File:
1 edited

Legend:

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

    r100585 r104064  
    1414.formulaire_spip label, .formulaire_spip .gauche label
    1515{
    16         margin:0 10px 0 0;
     16        margin:0 10px 0 10px;
    1717        line-height:25px;
    1818}
     19
     20.formulaire_spip select
     21{       max-width:15%;
     22}
     23
    1924
    2025</style>
     
    2934
    3035<div class="fieldset">
     36                        [(#REM) paramétrage général du module ]
    3137<fieldset ><legend><:pgn4spip:module:></legend>
    3238
    33         <select name="cfg_l" style="max-width:15%;">
     39        <select name="cfg_l"  >
    3440                <option value="h" [(#CONFIG{pgn4spip/cfg_l, "h"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:horizontal:></option>
    3541                <option value="v" [(#CONFIG{pgn4spip/cfg_l, "h"}|=={"v"}|?{selected="selected",''})]><:pgn4spip:vertical:></option>
     
    4349</div>
    4450<div class="fieldset">
     51                        [(#REM) paramétrage de l'échiquier ]
    4552<fieldset><legend><:pgn4spip:chessboard:></legend>
    4653        <div class="editer-groupe">
    47 <p>                     
    48                        
     54<p>
     55
    4956        <label for="cfg_ss"><:pgn4spip:square:></label><input type="text" name="cfg_ss" value="[(#CONFIG{pgn4spip/cfg_ss, 26})]" size="1"><:pgn4spip:pixels:>
    5057        <label for="cfg_lch"><:pgn4spip:white:></label><input type="text" name="cfg_lch" value="[(#CONFIG{pgn4spip/cfg_lch, "F0F0F0"})]" size="5"/>
     
    5865</p>
    5966
    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>
     67        </div >
    6468
    65         <select name="cfg_pf"  style="max-width:30%;">
    66                 <option value="d" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"d"}|?{selected="selected",''})]><:pgn4spip:default:></option>
    67                 <option value="a" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"a"}|?{selected="selected",''})]><:pgn4spip:alpha:></option>
    68                 <option value="m" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"m"}|?{selected="selected",''})]><:pgn4spip:merida:></option>
    69                 <option value="u" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"u"}|?{selected="selected",''})]><:pgn4spip:ucsf:></option>
    70                 <option value="s" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:svgchess:></option>
    71         </select >
    72 </p>                   
    73         </div >
    74                        
    7569<p><:pgn4spip:squareclick:></p>
    7670
     
    7973
    8074<div class="fieldset">
     75                        [(#REM) paramétrage des textes et commentaires ]
    8176<fieldset ><legend><:pgn4spip:pgn:></legend>
    8277                        <div class="editer-groupe">
    83 <label for="cfg_md"><:pgn4spip:showmoves:></label>      <select name="cfg_md" style="max-width:20%;"> <br />
     78<p>
     79<label for="cfg_md"><:pgn4spip:showmoves:></label>      <select name="cfg_md" > <br />
    8480        <option value="f" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"f"}|?{selected="selected",''})]><:pgn4spip:figurine:></option><
    8581        <option value="t" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"t"}|?{selected="selected",''})]><:pgn4spip:text:></option><br />
     
    8884        <option value="l" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"l"}|?{selected="selected",''})]><:pgn4spip:live:></option><br />
    8985        </select>
    90 
    9186<label for="cfg_fhch"><:pgn4spip:pgnheader:></label>    <input type="text" name="cfg_fhch" value="[(#CONFIG{pgn4spip/cfg_fhch, "000000"})]" size="5"/>
    9287<label for="cfg_fmch"><:pgn4spip:pgnmove:></label>      <input type="text" name="cfg_fmch" value="[(#CONFIG{pgn4spip/cfg_fmch, "000000"})]" size="5"/>
    93         <p>
     88</p>
     89
     90<p>
    9491<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%;">
     92        <select name="cfg_cd" >
    9693                <option value="n" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:newline:></option>
    9794                <option value="i" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"i"}|?{selected="selected",''})]><:pgn4spip:inline:></option>
     
    10097<label for="cfg_hmch"><:pgn4spip:pgnfocus:></label><input type="text" name="cfg_hmch" value="[(#CONFIG{pgn4spip/cfg_hmch, "E0E0E0"})]" size="5"/>
    10198<label for="cfg_d"><:pgn4spip:pgndelay:></label>        <input type="text" name="cfg_d" value="[(#CONFIG{pgn4spip/cfg_d, "3000"})]" size="5"/>
    102        
    103         </p>
     99</p>
    104100
    105                        
     101<p>
    106102
    107103<label for="cfg_bd"><:pgn4spip:ctrlbrowse:></label>
    108         <select name="cfg_bd" style="max-width:12%;">
     104        <select name="cfg_bd" >
    109105                <option value="c" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"c"}|?{selected="selected",''})]><:pgn4spip:custom:></option>
    110106                <option value="s" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:standard:></option>
    111107                <option value="h" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden2:></option>
    112108        </select>
    113        
    114        
    115109<label for="cfg_ctch"><:pgn4spip:ctrlarrow:></label><input type="text" name="cfg_ctch" value="[(#CONFIG{pgn4spip/cfg_ctch, "696969"})]" size="5"/>     
    116110<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%;">
     111        <select name="cfg_hm" >
    119112                <option value="b" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"b"}|?{selected="selected",''})]><:pgn4spip:focusborder:></option>
    120113                <option value="s" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:focussquare:></option>
    121114                <option value="n" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:none:></option>
    122115        </select>
    123         <:pgn4spip:liverate:>
     116</p>
    124117
    125 <label for="cfg_am"><:pgn4spip:autoplay:></label>
    126 
    127         <select name="cfg_am"style="max-width:20%;">
     118<p>
     119        <label for="cfg_am"><:pgn4spip:autoplay:></label>
     120        <select name="cfg_am">
    128121                <option value="n" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:none:></option>
    129122                <option value="g" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"g"}|?{selected="selected",''})]><:pgn4spip:game:></option>
    130123                <option value="l" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"l"}|?{selected="selected",''})]><:pgn4spip:loop:></option>
    131124        </select>
    132 
     125        <label for="cfg_rm"><:pgn4spip:liverate:></label>
    133126        <input type="text" name="cfg_rm" value="[(#CONFIG{pgn4spip/cfg_rm, "1.0"})]" size="5"/>
     127</p>
    134128
    135129</fieldset>
     
    167161<tr><td colspan="2"><b>m</b>oves<b>D</b>isplay=[<b>f</b>]igurine | (<b>t</b>)ext | (<b>p</b>)uzzle | (<b>h</b>)idden | (<b>l</b>)ive<br />
    168162                                        <b>i</b>nitial<b>H</b>alfmove=[<b>s</b>]tart | (<b>e</b>)nd | (<b>r</b>)andom | (<b>c</b>)omment | <i><:pgn4spip:nombre:></i><br />
    169                                         <b>p</b>iece<b>F</b>ont=[<b>d</b>]efault | (<b>a</b>)lpha | (<b>m</b>)erida | (<b>u</b>)scf | (<b>s</b>)vgchess
    170163        </td>
    171164</tr>
Note: See TracChangeset for help on using the changeset viewer.