Dotclear

Changeset 2390:3b3d86f3529a


Ignore:
Timestamp:
10/16/13 20:58:46 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
2.6
Message:

Ciblage plus fin des labels à mettre en majuscules grasses (label class bold)
Ajout de ce cas dans la charte
Nettoyage de classes qui avaient été mises là provisoirement pour post et page

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/_charte.php

    r2387 r2390  
    240240                                   <p><label for="ex1">Label simple + input text :</label><input id="ex1" type="text" /></p> 
    241241                                   <p class="form-note">p class="form-note".</p> 
    242                                    <p><label for="ex2" class="required"><abbr title="'.__('Required field').'">*</abbr> Label class="required" :</label> <input id="ex2" type="text" /></p> 
     242                                   <p><label for="ex4" class="classic">Label class="classic" + input text :</label> <input id="ex4" type="text" /></p> 
     243                                   <p><label for="ex2" class="required"><abbr title="'.__('Required field').'">*</abbr> Label class="required" :</label> <input id="ex2" type="text" /><span class="form-note">span class="form-note"</span></p> 
     244                                   <p><label for="ex11" class="bold">Label class="bold" :</label> <input id="ex11" type="text" /></p> 
     245                                   <p class="form-note">La class="bold" est bien sûr à écrire en minuscules.</p> 
    243246                                   <p><label for="ex3">Input class="maximal" :</label> <input id="ex3" type="text" class="maximal" /></p> 
    244                                    <p><label for="ex4" class="classic">Label class="classic" :</label> <input id="ex4" type="text" /></p> 
    245247                              </div> 
    246248                              <div class="col"> 
     
    253255                                   <p><label class="classic" for="ex8-1"><input type="radio" checked="checked" id="ex8-1" value="ex8-1" name="ex8-1" /> 
    254256                                    Bouton radio 1 (label.classic)</label></p> 
    255                                     <p><label class="classic" for="ex8-2"><input type="radio" id="ex8-2" value="ex8-2" name="ex8-2" /> 
     257                                   <p><label class="classic" for="ex8-2"><input type="radio" id="ex8-2" value="ex8-2" name="ex8-2" /> 
    256258                                    Bouton radio 2 (label.classic)</label></p> 
    257                                     <p class="form-note">Les checkboxes et les boutons radio sont dans la balise &lt;label&gt;.</p> 
     259                                   <p class="form-note">Les checkboxes et les boutons radio sont dans la balise &lt;label&gt;.</p> 
     260                                   <p><label class="classic" for="ex9"><input type="checkbox" 
     261                                   checked="checked" id="ex9" value="1" title="intitulé du champ" /></label> <label 
     262                                   for="ex10" class="classic">checkbox.classic + label class="classic" :</label> <input id="ex10" type="text" /></p> 
    258263                              </div> 
    259264                         </form> 
     
    540545                              </table> 
    541546                         </div> 
     547 
     548                    <p>Test pour Bruno et Michel</p> 
     549 
    542550               </div><!-- /content --> 
    543551          </div><!-- /main --> 
  • admin/post.php

    r2385 r2390  
    452452               'items' => array( 
    453453                    'post_status' =>  
    454                          '<p class="entry-status"><label for="post_status" class="ib">'.__('Entry status').' '.$img_status.'</label>'. 
     454                         '<p class="entry-status"><label for="post_status">'.__('Entry status').' '.$img_status.'</label>'. 
    455455                         form::combo('post_status',$status_combo,$post_status,'maximal','',!$can_publish). 
    456456                         '</p>', 
    457457                    'post_dt' =>  
    458                          '<p><label for="post_dt" class="ib">'.__('Publication date and hour').'</label>'. 
     458                         '<p><label for="post_dt">'.__('Publication date and hour').'</label>'. 
    459459                         form::field('post_dt',16,16,$post_dt,($bad_dt ? 'invalid' : '')). 
    460460                         '</p>', 
    461461                    'post_lang' => 
    462                          '<p><label for="post_lang" class="ib">'.__('Entry language').'</label>'. 
     462                         '<p><label for="post_lang">'.__('Entry language').'</label>'. 
    463463                         form::combo('post_lang',$lang_combo,$post_lang). 
    464464                         '</p>', 
    465465                    'post_format' => 
    466466                         '<div>'. 
    467                          '<h5 id="label_format"><label for="post_format" class="ib">'.__('Text formatting').'</label></h5>'. 
     467                         '<h5 id="label_format"><label for="post_format" class="classic">'.__('Text formatting').'</label></h5>'. 
    468468                         '<p>'.form::combo('post_format',$formaters_combo,$post_format,'maximal'). 
    469469                         '</p>'. 
     
    522522                         '</div>', 
    523523                    'post_password' => 
    524                          '<p><label for="post_password" class="ib">'.__('Password').'</label>'. 
     524                         '<p><label for="post_password">'.__('Password').'</label>'. 
    525525                         form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 
    526526                         '</p>', 
    527527                    'post_url' => 
    528528                         '<div class="lockable">'. 
    529                          '<p><label for="post_url" class="ib">'.__('Edit basename').'</label>'. 
     529                         '<p><label for="post_url">'.__('Edit basename').'</label>'. 
    530530                         form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 
    531531                         '</p>'. 
     
    538538          "post_title" => 
    539539               '<p class="col">'. 
    540                '<label class="required no-margin"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'. 
     540               '<label class="required no-margin bold"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'. 
    541541               form::field('post_title',20,255,html::escapeHTML($post_title),'maximal'). 
    542542               '</p>', 
    543543           
    544544          "post_excerpt" => 
    545                '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').' <span class="form-note">'. 
     545               '<p class="area" id="excerpt-area"><label for="post_excerpt" class="bold">'.__('Excerpt:').' <span class="form-note">'. 
    546546               __('Introduction to the post.').'</span></label> '. 
    547547               form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). 
     
    549549           
    550550          "post_content" => 
    551                '<p class="area" id="content-area"><label class="required" '. 
     551               '<p class="area" id="content-area"><label class="required bold" '. 
    552552               'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '. 
    553553               form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content)). 
     
    555555           
    556556          "post_notes" => 
    557                '<p class="area" id="notes-area"><label for="post_notes">'.__('Personal notes:').' <span class="form-note">'. 
     557               '<p class="area" id="notes-area"><label for="post_notes" class="bold">'.__('Personal notes:').' <span class="form-note">'. 
    558558               __('Unpublished notes.').'</span></label>'. 
    559559               form::textarea('post_notes',50,5,html::escapeHTML($post_notes)). 
  • admin/style/default.css

    r2384 r2390  
    595595     font-size: 1.3em; 
    596596     } 
     597label.bold { 
     598     text-transform: uppercase; 
     599     font-weight: bold; 
     600     margin-top: 2em; 
     601     } 
    597602label.area, p.area { 
    598603     width: inherit !important; 
     
    21002105     width: 16em; 
    21012106     float: right; 
    2102      } 
    2103 #entry-content label { 
    2104      text-transform: uppercase; 
    2105      font-weight: bold; 
    2106      margin-top: 2em; 
    2107      display: inline-block; 
    2108      } 
    2109 #entry-content label:first-child { 
    2110      margin-top: 0; 
    21112107     } 
    21122108#entry-sidebar h4 { 
  • plugins/pages/page.php

    r2314 r2390  
    390390               'items' => array( 
    391391                    'post_status' =>  
    392                          '<p><label for="post_status" class="ib">'.__('Page status').'</label> '. 
     392                         '<p><label for="post_status">'.__('Page status').'</label> '. 
    393393                         form::combo('post_status',$status_combo,$post_status,'','',!$can_publish). 
    394394                         '</p>', 
    395395                    'post_dt' =>  
    396                          '<p><label for="post_dt" class="ib">'.__('Publication date and hour').'</label>'. 
     396                         '<p><label for="post_dt">'.__('Publication date and hour').'</label>'. 
    397397                         form::field('post_dt',16,16,$post_dt,($bad_dt ? 'invalid' : '')). 
    398398                         '</p>', 
    399399                    'post_lang' => 
    400                          '<p><label for="post_lang" class="ib">'.__('Page language').'</label>'. 
     400                         '<p><label for="post_lang">'.__('Page language').'</label>'. 
    401401                         form::combo('post_lang',$lang_combo,$post_lang). 
    402402                         '</p>', 
    403403                    'post_format' => 
    404404                         '<div>'. 
    405                          '<h5 id="label_format"><label for="post_format" class="ib">'.__('Text formatting').'</label></h5>'. 
     405                         '<h5 id="label_format"><label for="post_format" class="classic">'.__('Text formatting').'</label></h5>'. 
    406406                         '<p>'.form::combo('post_format',$formaters_combo,$post_format,'maximal'). 
    407407                         '</p>'. 
     
    447447                         '</p>', 
    448448                    'post_password' => 
    449                          '<p><label for="post_password" class="ib">'.__('Password').'</label>'. 
     449                         '<p><label for="post_password">'.__('Password').'</label>'. 
    450450                         form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 
    451451                         '</p>', 
    452452                    'post_url' => 
    453453                         '<div class="lockable">'. 
    454                          '<p><label for="post_url" class="ib">'.__('Edit basename').'</label>'. 
     454                         '<p><label for="post_url">'.__('Edit basename').'</label>'. 
    455455                         form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 
    456456                         '</p>'. 
     
    462462          "post_title" => 
    463463               '<p class="col">'. 
    464                '<label class="required no-margin"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'. 
     464               '<label class="required no-margin bold"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'. 
    465465               form::field('post_title',20,255,html::escapeHTML($post_title),'maximal'). 
    466466               '</p>', 
    467467           
    468468          "post_excerpt" => 
    469                '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').' <span class="form-note">'. 
     469               '<p class="area" id="excerpt-area"><label for="post_excerpt" class="bold">'.__('Excerpt:').' <span class="form-note">'. 
    470470               __('Introduction to the page.').'</span></label> '. 
    471471               form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). 
     
    473473           
    474474          "post_content" => 
    475                '<p class="area" id="content-area"><label class="required" '. 
     475               '<p class="area" id="content-area"><label class="required bold" '. 
    476476               'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '. 
    477477               form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content)). 
     
    479479           
    480480          "post_notes" => 
    481                '<p class="area" id="notes-area"><label for="post_notes">'.__('Personal notes:').' <span class="form-note">'. 
     481               '<p class="area" id="notes-area"><label for="post_notes" class="bold">'.__('Personal notes:').' <span class="form-note">'. 
    482482               __('Unpublished notes.').'</span></label>'. 
    483483               form::textarea('post_notes',50,5,html::escapeHTML($post_notes)). 
Note: See TracChangeset for help on using the changeset viewer.

Sites map