Dotclear


Ignore:
Timestamp:
12/23/13 21:16:48 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

New default tpl (aka Currywurst). Post formats (short, full, title).

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

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/currywurst/README.md

    r2622 r2623  
    4141(aka contexte du billet seul entier avec commentaires etc.) 
    4242 
     43Formulaire de dépôt de commentaire : 
     44- remplacement des inputs par des buttons 
     45- typage des champs 
     46- ajout des attributs required quand nécessaire 
     47 
    4348Découpage en deux grandes div : post et post-feedback. 
    4449- post 
  • inc/public/default-templates/currywurst/_entry-full.html

    r2619 r2623  
    1010 
    1111     <tpl:EntryIf extended="1"> 
    12           <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 
     12     <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 
    1313     </tpl:EntryIf> 
     14 
    1415     <div class="post-content">{{tpl:EntryContent}}</div> 
    1516 
     
    2021          <p class="post-info"> 
    2122               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span> 
    22                <span class="post-date">{{tpl:EntryDate}}. 
    23           </p> 
    24           <tpl:EntryIf has_category="1"> 
    25                <p class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 
     23               <span class="post-date">{{tpl:EntryDate}}.</span> 
     24               <tpl:EntryIf has_category="1"> 
     25               <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 
    2626                    href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 
    2727                    href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a> 
    28                </p> 
    29           </tpl:EntryIf> 
     28               </span> 
     29               </tpl:EntryIf> 
     30          </p> 
    3031 
    3132          <tpl:EntryTags> 
    3233               <tpl:TagsHeader> 
    33                     <ul class="post-tags-list"> 
     34               <ul class="post-tags-list"> 
    3435               </tpl:TagsHeader> 
    35                          <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
     36                    <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li> 
    3637               <tpl:TagsFooter> 
    37                     </ul> 
     38               </ul> 
    3839               </tpl:TagsFooter> 
    3940          </tpl:EntryTags> 
     
    4344               <p class="post-info-co"> 
    4445               <tpl:EntryIf show_comments="1"> 
    45                     <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a> 
     46               <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a> 
    4647               </tpl:EntryIf> 
    4748               <tpl:EntryIf show_pings="1"> 
    48                     <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf> 
     49               <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf> 
    4950               <tpl:EntryIf has_attachment="1"> 
    50                     <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf> 
     51               <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf> 
    5152               </p> 
    5253          </tpl:EntryIf> 
  • inc/public/default-templates/currywurst/_entry-short.html

    r2619 r2623  
    3737          <p class="post-info"> 
    3838               <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> 
     39               <span class="post-date">{{tpl:EntryDate}}.</span> 
     40               <tpl:EntryIf has_category="1"> 
     41               <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a 
     42                    href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a 
     43                    href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span> 
     44               </tpl:EntryIf> 
     45          </p> 
    4446 
    4547          <tpl:EntryTags> 
  • inc/public/default-templates/currywurst/_simple-entry.html

    r2622 r2623  
    139139 
    140140               <p class="field mail-field"><label for="c_mail">{{tpl:lang Email address}}<abbr title="{{tpl:lang Required field}}">*</abbr>&nbsp;:</label> 
    141                     <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 
     141                    <input name="c_mail" id="c_mail" type="email" size="30" maxlength="255" 
    142142                     value="{{tpl:CommentPreviewEmail encode_html="1"}}" required /> 
    143143               </p> 
    144144 
    145145               <p class="field site-field"><label for="c_site">{{tpl:lang Website}}&nbsp;:</label> 
    146                     <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 
     146                    <input name="c_site" id="c_site" type="url" size="30" maxlength="255" 
    147147                     value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 
    148148               </p> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map