Generic wrapper classes makes themeing loads easier

This commit is contained in:
Thomas Willingham 2013-08-24 17:01:39 +01:00
parent 608e04c65e
commit 6999fb586b
6 changed files with 20 additions and 14 deletions

View File

@ -1,13 +1,16 @@
<div class="directory-item lframe" id="directory-item-{{$entry.id}}" >
<div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$entry.id}}" >
<div class="contact-photo" id="directory-photo-{{$entry.id}}" >
<a href="{{$entry.profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$entry.id}}" ><img class="directory-photo-img" src="{{$entry.photo}}" alt="{{$entry.alttext}}" title="{{$entry.alttext}}" /></a>
</div>
</div>
<div class="generic-content-wrapper">
<div class="contact-name" id="directory-name-{{$entry.id}}">{{$entry.name}}</div>
{{if $entry.connect}}
<div class="directory-connect"><a href="{{$entry.connect}}">{{$entry.conn_label}}</a></div>
{{/if}}
<div class="contact-details">{{$entry.details}}</div>
<div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$entry.id}}" >
<div class="contact-photo" id="directory-photo-{{$entry.id}}" >
<a href="{{$entry.profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$entry.id}}" ><img class="directory-photo-img" src="{{$entry.photo}}" alt="{{$entry.alttext}}" title="{{$entry.alttext}}" /></a>
</div>
</div>
<div class="contact-name" id="directory-name-{{$entry.id}}">{{$entry.name}}</div>
{{if $entry.connect}}
<div class="directory-connect"><a href="{{$entry.connect}}">{{$entry.conn_label}}</a></div>
{{/if}}
<div class="contact-details">{{$entry.details}}</div>
</div>
</div>

View File

@ -1,3 +1,4 @@
<div class="generic-content-wrapper">
{{foreach $mails as $mail}}
{{include file="mail_conv.tpl"}}
{{/foreach}}
@ -7,3 +8,4 @@
{{else}}
{{$unknown_text}}
{{/if}}
</div>

View File

@ -1,4 +1,4 @@
<div class="mail-list-wrapper">
<div class="generic-list-wrapper id="mail-list-wrapper">
<span class="mail-delete"><a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></span>
<a href="{{$from_url}}" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="{{$from_photo}}" alt="{{$from_name}}" /></a>
<span class="mail-from">{{$from_name}}</span>

View File

@ -1,6 +1,6 @@
<div class="page">
<div class="page-content-wrapper" id="page-content-wrapper" >
<div class="generic-content-wrapper" id="page-content-wrapper" >
<h3 class="page-title">{{$title}}</h3>
<div class="page-author"><a class=="page-author-link" href="{{$auth_url}}">{{$author}}</a></div>
<div class="page-date">{{$date}}</div>

View File

@ -1,3 +1,4 @@
<div id="profile-content-wrapper" class="generic-content-wrapper">
<h2>{{$title}}</h2>
<dl id="aprofile-fullname" class="aprofile">
@ -179,4 +180,4 @@
{{/foreach}}
{{/if}}
</div>

View File

@ -2,7 +2,7 @@
{{if $pages}}
<div id="pagelist-content-wrapper">
<div id="pagelist-content-wrapper" class="generic-content-wrapper">
{{foreach $pages as $key => $items}}
{{foreach $items as $item}}
<div class="page-list-item">