Changeset 120867 in spip-zone


Ignore:
Timestamp:
Jan 29, 2020, 9:57:44 AM (13 months ago)
Author:
Cerdic
Message:

ajustements page traduction module de langue

Location:
_plugins_/trad-lang/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/trad-lang/trunk

    • Property subgit:lock:98e66067f91aae5572338d602027a9135d6591a4 deleted
    • Property subgit:lock:7ab23d17129d9562f8caf1467ead5adf41b12347 set to 2020-01-29T11:20:19.699
  • _plugins_/trad-lang/trunk/controleurs/str_statut.html

    r120029 r120867  
    1313        [(#SET{lines,#STR*|strlen|div{40}|intval|plus{1}})]
    1414        <div class="editer editer_str_orig">
    15                 <label for="str_orig_#_a:ID_TRADLANG"><:tradlang:label_version_originale{lang=#LANG}:></label>
     15                <label for="str_orig_#_a:ID_TRADLANG">[(#VAL{tradlang:label_version_originale}|_T{#ARRAY{lang,#LANG}}|replace{\\(#LANG\\),[<b class="badge badge-secondary">(#LANG)</b>]})]</label>
    1616                <textarea readonly="readonly" title="<:tradlang:info_textarea_readonly|attribut_html:>" rows="#GET{lines}" id="str_orig_#_a:ID_TRADLANG" rows="4" class="crayon-active readonly" style="text-align:#LANG_LEFT;" dir="#LANG_DIR">[(#STR**|tradlang_utf8|entites_html)]</textarea>
    1717        </div>
    1818        </BOUCLE_orig>
    1919        <div class="editer editer_str">
    20                 <label for="str_#ID_TRADLANG"><:tradlang:label_tradlang_str{lang=#LANG}:></label>
     20                <label for="str_#ID_TRADLANG">[(#VAL{tradlang:label_tradlang_str}|_T{#ARRAY{lang,#LANG}}|replace{\\(#LANG\\),[<b class="badge badge-primary">(#LANG)</b>]})]</label>
    2121                <textarea class="crayon-active" name="#ENV{name_str}" id="str_#ID_TRADLANG"
    2222                 style="text-align:#LANG_LEFT;" rows="#GET{lines}" dir="#LANG_DIR">[(#STR**|tradlang_utf8|entites_html)]</textarea>
  • _plugins_/trad-lang/trunk/controleurs/tradlang_tous.html

    r75884 r120867  
    2525        <p><:tradlang:notice_affichage_limite{nb=30}:></p>
    2626#BOITE_FERMER]
    27 <div class="formulaire_spip">
     27<div class="formulaire_spip formulaire_tradlang_tous">
    2828        <form action="spip.php" method="post" enctype="multipart/form-data" class="formulaire_crayon" id="formulaire_tradlang_tous_#ENV{id_tradlang_module}">
    2929                <input type="hidden" name="action" value="crayons" />
     
    6666                </ul>
    6767                <p class="boutons">
    68                         <input type='submit' class="submit" />
     68                        <input type='submit' class="btn btn-primary" value="<:bouton_enregistrer:>"/>
    6969                </p>
    7070        </form>
     
    8989                        if(!boutons.hasClass('boutons_float'))
    9090                                boutons.addClass('boutons_float')
    91                         boutons.css({'position': 'fixed', 'bottom': 0, 'width': boutons_width+'px'});
     91                        boutons.css({'position': 'sticky', 'bottom': 0});
    9292                }
    9393                if(($(window).scrollTop() < limite_haut)||(($(window).scrollTop()+$(window).height()) > limite_bas) )
    94                         boutons.removeClass('boutons_float').css({'position': 'static', 'width': 'auto'});     
     94                        boutons.removeClass('boutons_float').css({'position': 'static'});
    9595        });
    9696        /**
Note: See TracChangeset for help on using the changeset viewer.