Dotclear


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map