Dotclear

Changeset 2619:6afc60e72a68


Ignore:
Timestamp:
12/18/13 16:00:29 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Nouveaux templates par défaut : billet (court, long, titre, entier…) ; améliorations top, rooter

Location:
inc/public/default-templates/currywurst
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/currywurst/_entry-full.html

    r2604 r2619  
    22 
    33     <!-- # New day date --> 
    4      <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 
     4     <tpl:DateHeader><p class="post-day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 
    55 
    66     <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 
    7  
    8      <div class="post-attr"> 
    9           <p class="post-info"> 
    10                <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
    11                <span class="post-date">{{tpl:EntryDate}}. </span> 
    12                <tpl:EntryIf has_category="1"> 
    13                     <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 
    14                     href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 
    15                     href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> 
    16                </tpl:EntryIf> 
    17           </p> 
    18  
    19           <tpl:EntryTags> 
    20                <tpl:TagsHeader> 
    21                     <ul class="post-tags"> 
    22                </tpl:TagsHeader> 
    23                     <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
    24                <tpl:TagsFooter> 
    25                     </ul> 
    26                </tpl:TagsFooter> 
    27           </tpl:EntryTags> 
    28      </div> 
    297 
    308     <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
     
    3917     {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    4018 
    41      <!-- # Number of comments, trackbacks and attachments --> 
    42      <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
    43           <p class="post-info-co"> 
    44      </tpl:EntryIf> 
    45      <tpl:EntryIf show_comments="1"> 
    46                <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a> 
    47      </tpl:EntryIf> 
    48      <tpl:EntryIf show_pings="1"> 
    49                <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf> 
    50      <tpl:EntryIf has_attachment="1"> 
    51                <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf> 
    52      <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
     19     <div class="post-meta"> 
     20          <p class="post-info"> 
     21               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
     22               <span class="post-date">{{tpl:EntryDate}}. 
    5323          </p> 
    54      </tpl:EntryIf> 
     24          <tpl:EntryIf has_category="1"> 
     25               <p class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 
     26                    href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 
     27                    href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a> 
     28               </p> 
     29          </tpl:EntryIf> 
     30 
     31          <tpl:EntryTags> 
     32               <tpl:TagsHeader> 
     33                    <ul class="post-tags-list"> 
     34               </tpl:TagsHeader> 
     35                         <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
     36               <tpl:TagsFooter> 
     37                    </ul> 
     38               </tpl:TagsFooter> 
     39          </tpl:EntryTags> 
     40 
     41          <!-- # Number of comments, trackbacks and attachments --> 
     42          <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
     43               <p class="post-info-co"> 
     44               <tpl:EntryIf show_comments="1"> 
     45                    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a> 
     46               </tpl:EntryIf> 
     47               <tpl:EntryIf show_pings="1"> 
     48                    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf> 
     49               <tpl:EntryIf has_attachment="1"> 
     50                    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf> 
     51               </p> 
     52          </tpl:EntryIf> 
     53     </div> 
    5554</div> 
  • inc/public/default-templates/currywurst/_entry-short.html

    r2604 r2619  
    22 
    33     <!-- # New day date --> 
    4      <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 
     4     <tpl:DateHeader><p class="post-day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 
    55 
    66     <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 
    7  
    8      <div class="post-attr"> 
    9           <p class="post-info"> 
    10                <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
    11                <span class="post-date">{{tpl:EntryDate}}. </span> 
    12                <tpl:EntryIf has_category="1"> 
    13                     <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 
    14                     href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 
    15                     href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> 
    16                </tpl:EntryIf> 
    17           </p> 
    18  
    19           <tpl:EntryTags> 
    20                <tpl:TagsHeader> 
    21                     <ul class="post-tags"> 
    22                </tpl:TagsHeader> 
    23                     <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
    24                <tpl:TagsFooter> 
    25                     </ul> 
    26                </tpl:TagsFooter> 
    27           </tpl:EntryTags> 
    28      </div> 
    297 
    308     <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
     
    4927               </p> 
    5028          </div> 
    51           <p class="read-it"><a href="{{tpl:EntryURL}}" 
     29          <p class="post-read-it"><a href="{{tpl:EntryURL}}" 
    5230           title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue reading}}</a></p> 
    5331     </tpl:EntryIf> 
     
    5634     {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    5735 
    58      <!-- # Number of comments, trackbacks and attachments --> 
    59      <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
    60           <p class="post-info-co"> 
    61      </tpl:EntryIf> 
    62      <tpl:EntryIf show_comments="1"> 
    63                <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a> 
    64      </tpl:EntryIf> 
    65      <tpl:EntryIf show_pings="1"> 
    66                <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf> 
    67      <tpl:EntryIf has_attachment="1"> 
    68                <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf> 
    69      <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
    70           </p> 
    71      </tpl:EntryIf> 
     36     <div class="post-meta"> 
     37          <p class="post-info"> 
     38               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
     39               <span class="post-date">{{tpl:EntryDate}}.</p> 
     40          <tpl:EntryIf has_category="1"><p class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 
     41               href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 
     42               href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></p> 
     43          </tpl:EntryIf> 
     44 
     45          <tpl:EntryTags> 
     46               <tpl:TagsHeader> 
     47                    <ul class="post-tags-list"> 
     48               </tpl:TagsHeader> 
     49                    <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
     50               <tpl:TagsFooter> 
     51                    </ul> 
     52               </tpl:TagsFooter> 
     53          </tpl:EntryTags> 
     54 
     55          <!-- # Number of comments, trackbacks and attachments --> 
     56          <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
     57               <p class="post-info-co"> 
     58          </tpl:EntryIf> 
     59               <tpl:EntryIf show_comments="1"> 
     60                    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a> 
     61               </tpl:EntryIf> 
     62               <tpl:EntryIf show_pings="1"> 
     63                    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf> 
     64               <tpl:EntryIf has_attachment="1"> 
     65                    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf> 
     66          <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
     67               </p> 
     68          </tpl:EntryIf> 
     69     </div> 
    7270</div> 
  • inc/public/default-templates/currywurst/_entry-title.html

    r2604 r2619  
    66     <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 
    77 
    8      <div class="post-attr"> 
     8     <div class="post-meta"> 
    99          <p class="post-info"> 
    1010               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
  • inc/public/default-templates/currywurst/_footer.html

    r2603 r2619  
    1 <ul id="gotop" class="supranav nobig"><li><a href="#top">Haut de page</a></li></ul> 
     1<ul id="gotop" class="supranav"><li><a href="#top">Haut de page</a></li></ul> 
    22 
    3 {{tpl:SimpleMenu id="sn-bottom" class="supranav nobig"}} 
    43<div id="footer" role="contentinfo"> 
    54     <div id="blogcustom"> 
     
    1211</div> 
    1312{{tpl:SysBehavior behavior="publicFooterContent"}} 
     13 
     14{{tpl:include src="user_footer.html"}} 
  • inc/public/default-templates/currywurst/_simple-entry.html

    r2603 r2619  
    1 <div id="p{{tpl:EntryID}}" class="post simple" role="article"> 
     1<div class="post simple" id="p{{tpl:EntryID}}" role="article"> 
    22     <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> 
    33 
    4      <div class="post-attr"> 
     4     <div class="post-meta"> 
    55          <p class="post-info"> 
    66               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
    77               <span class="post-date">{{tpl:EntryDate}}. </span> 
    8                <span class="permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span> 
     8               <span class="post-permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span> 
    99               <tpl:EntryIf has_category="1"> 
    1010                    <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 
     
    1616          <tpl:EntryTags> 
    1717               <tpl:TagsHeader> 
    18                     <ul class="post-tags"> 
     18                    <ul class="post-tags-list"> 
    1919               </tpl:TagsHeader> 
    20                     <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
     20                    <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
    2121               <tpl:TagsFooter> 
    2222                    </ul> 
     
    3737     <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
    3838     {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    39 </div> 
    4039 
    4140<!-- # Attachments --> 
    4241<tpl:Attachments> 
    4342     <tpl:AttachmentsHeader> 
    44           <div id="attachments"> 
    45                <h3>{{tpl:lang Attachments}}</h3> 
    46                <ul> 
     43     <div class="post-attachments" id="attachments"> 
     44          <h3 class="post-attachments-title">{{tpl:lang Attachments}}</h3> 
     45          <ul class="post-attachments-list"> 
    4746     </tpl:AttachmentsHeader> 
    48                     <li class="{{tpl:AttachmentType}}"> 
     47                    <li class="post-attachments-list__item {{tpl:AttachmentType}}"> 
    4948                         <tpl:AttachmentIf is_mp3="1"> 
    5049                              {{tpl:include src="_mp3_player.html"/}} - 
     
    6362     </tpl:AttachmentsFooter> 
    6463</tpl:Attachments> 
     64</div> 
     65 
     66<tpl:EntryIf operator="or" show_comments="1" show_pings="1"> 
     67     <div class="post-feedback"> 
     68</tpl:EntryIf> 
    6569 
    6670<!-- # Comments --> 
     
    6872     <tpl:Comments with_pings="1"> 
    6973          <tpl:CommentsHeader> 
    70                <div id="comments"> 
     74               <div class="feedback__comments" id="comments"> 
    7175                    <h3>{{tpl:EntryCommentCount count_all="1" none="no reactions" one="one reaction" more="%s reactions"}}</h3> 
    72                     <ul> 
     76                    <tpl:EntryIf operator="or" comments_active="1" pings_active="1"> 
     77                         <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" 
     78                              title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p> 
     79                    </tpl:EntryIf> 
     80                    <ul class="comments-list"> 
    7381          </tpl:CommentsHeader> 
    7482                         <tpl:CommentIf is_ping="0"> 
     
    98106</tpl:EntryIf> 
    99107 
    100 <tpl:EntryIf operator="or" comments_active="1" pings_active="1"> 
    101      <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" 
    102            title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p> 
    103 </tpl:EntryIf> 
    104  
    105108<tpl:EntryIf comments_active="1"> 
    106109     <tpl:SysIfFormError> 
     
    117120 
    118121     <!-- # Comment form --> 
    119      <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form"> 
     122     <form class="send-comment" action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form"> 
    120123          <tpl:IfCommentPreview> 
    121124               <div id="pr"> 
     
    127130 
    128131          <h3>{{tpl:lang Add a comment}}</h3> 
    129           <fieldset> 
    130132               <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 
    131133               {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} 
    132134 
    133                <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label> 
     135               <p class="field name-field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label> 
    134136                    <input name="c_name" id="c_name" type="text" size="30" maxlength="255" 
    135137                     value="{{tpl:CommentPreviewName encode_html="1"}}" /> 
    136138               </p> 
    137139 
    138                <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label> 
     140               <p class="field mail-field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label> 
    139141                    <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 
    140142                     value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> 
    141143               </p> 
    142144 
    143                <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label> 
     145               <p class="field site-field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label> 
    144146                    <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 
    145147                     value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 
     
    150152               </p> 
    151153 
    152                <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label> 
     154               <p class="field field-content"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label> 
    153155                    <textarea name="c_content" id="c_content" cols="35" 
    154156                     rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea> 
     
    159161               <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> 
    160162               {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} 
    161           </fieldset> 
    162163 
    163           <fieldset> 
    164164               <p class="buttons"> 
    165165                    <input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> 
     
    173173 
    174174<tpl:EntryIf pings_active="1"> 
    175      <div id="ping-url"> 
     175     <div class="send-ping"> 
    176176          <h3>{{tpl:lang Add ping}}</h3> 
    177           <p>{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p> 
     177          <p id="ping-url">{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p> 
    178178     </div> 
    179179</tpl:EntryIf> 
     180 
     181<tpl:EntryIf operator="or" show_comments="1" show_pings="1"> 
     182     </div> 
     183</tpl:EntryIf> 
  • inc/public/default-templates/currywurst/_top.html

    r2608 r2619  
    77 
    88     <div class="header__banner" role="banner"> 
    9           <h1 class="site-title"><a href="{{tpl:BlogURL}}"><span class="site-title__text">{{tpl:BlogName encode_html="1"}}</span></a></h1> 
     9          <h1 class="site-title"><a class="site-title__link" 
     10               href="{{tpl:BlogURL}}"><span class="site-title__text">{{tpl:BlogName encode_html="1"}}</span></a></h1> 
    1011          <p class="site-baseline">{{tpl:BlogDescription}}</p> 
    1112     </div> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map