Commit b3e97a9b authored by Evonne Cheung's avatar Evonne Cheung Committed by Richard Mansfield
Browse files

Update themes

parent 8582cf9a
{include file="header.tpl"}
<div class="rbuttons">
<a class="btn btn-add" href="{$WWWROOT}artefact/blog/new/">{str section="artefact.blog" tag="addblog"}</a>
<a class="btn" href="{$WWWROOT}artefact/blog/new/">{str section="artefact.blog" tag="addblog"}</a>
</div>
<div id="myblogs rel">
{if !$blogs->data}
......
......@@ -43,6 +43,7 @@
border: 0;
cursor: pointer;
font-size: 1%;
color: #b8b8c1;
}
#postlist th.controls .btn-del {
background: transparent url(../images/delete.gif) no-repeat left;
......@@ -53,6 +54,7 @@
font-size: 1%;
margin-left: .5em;
padding-left: 0;
color: #fff;
}
#postlist th form,
#postlist th form div {
......
......@@ -3,9 +3,9 @@
<div class="rbuttons">
{if !$blog->get('locked')}
<a class="btn btn-settings" href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a>
<a class="btn" href="{$WWWROOT}artefact/blog/settings/?id={$blog->get('id')}">{str section="artefact.blog" tag="settings"}</a>
{/if}
<a class="btn btn-add" href="{$WWWROOT}artefact/blog/post.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a>
<a class="btn" href="{$WWWROOT}artefact/blog/post.php?blog={$blog->get('id')}">{str section="artefact.blog" tag="addpost"}</a>
</div>
<p>{clean_html($blog->get('description'))|safe}</p>
......
{foreach from=$data item=item}
<tr class="{cycle name=rows values='r0,r1'}{if $item->highlight} highlight{/if}">
<td>
{if $item->deleteform}{$item->deleteform|safe}{/if}
{if $item->deletedmessage}
<span class="details">{str tag=commentremoved section=artefact.comment}</span>
{else}
......@@ -8,10 +9,7 @@
{if $item->attachmessage}<div class="attachmessage">{$item->attachmessage}</div>{/if}
{/if}
<div class="details">
<div class="fr">
{if $item->makepublicform}{$item->makepublicform|safe}{/if}
{if $item->deleteform}{$item->deleteform|safe}{/if}
</div>
{if $item->makepublicform}<div class="fr">{$item->makepublicform|safe}</div>{/if}
{if $item->author}
<div class="icon"><a href="{$WWWROOT}user/view.php?id={$item->author->id}">
<img src="{profile_icon_url user=$item->author maxheight=20 maxwidth=20}" valign="middle" alt="{$item->author|display_name|escape}">
......
......@@ -9,19 +9,7 @@
background-color: #ebf0f4;
border: 1px solid #95a8b7;
}
/* folder nav */
.foldernav {
}
form#files .foldernav {
}
/* File list */
.filelist th {
border-bottom: 1px solid #CCCCCC;
}
.filelist td.right input.btn-edit {
color: #6E8E00;
}
.filelist td.right input.btn-del {
color: #BC0909;
}
......@@ -40,14 +28,4 @@ tr.folder td {
/* folder row being moved */
tr.folderhover td {
background-color: #daf0ff !important;
}
/* Edit post selected file list */
.filelist .disabled {
color: #C3C3C3;
}
.filelist .tag-edit.submit {
border: 0;
background: transparent;
color: #6e8e00;
cursor: pointer;
}
}
\ No newline at end of file
......@@ -9,41 +9,14 @@
background: #1C3740;
border: 0;
}
/* folder nav */
.foldernav {
}
form#files .foldernav {
}
/* File list */
.filelist th {
border-bottom: 1px dotted #BEE3F1;
}
/* parent folder row */
tr.parentfolder td {
}
/* new row */
.filelist tr.highlight-file td {
}
/* folder row */
tr.folder td {
background-color:#10171A;
}
/* folder row being moved */
tr.folderhover td {
}
/* File list edit box */
#files_filebrowser_edit_row td {
border: 4px solid #1A292F;
}
/* Edit post File list */
#editpost_filebrowser_upload_browse,
#editpost_filebrowser_open_upload_browse_container {
}
/* Edit post selected file list */
.filelist .disabled {
}
.filelist .tag-edit.submit {
}
#editpost_filebrowser_upload_browse, #editpost_filebrowser_open_upload_browse_container {
border-color: #10171A;
}
\ No newline at end of file
......@@ -4,42 +4,7 @@
* Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
/* File upload box */
.fileupload {
}
/* folder nav */
.foldernav {
}
form#files .foldernav {
}
/* File list */
.filelist th {
}
/* parent folder row */
tr.parentfolder td {
}
/* new row */
.filelist tr.highlight-file td {
}
/* folder row */
tr.folder td {
background-color: #e99adb;
}
/* folder row being moved */
tr.folderhover td {
}
/* File list edit box */
#files_filebrowser_edit_row td {
}
/* Edit post File list */
#editpost_filebrowser_upload_browse,
#editpost_filebrowser_open_upload_browse_container {
}
/* Edit post selected file list */
.filelist .disabled {
}
.filelist .tag-edit.submit {
}
}
\ No newline at end of file
/**
* CSS rules for the blog artefact plugin
* CSS rules for the resume artefact plugin
*
* Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
/* attachment files */
#postlist .attachments th {
background: #AABC8B;
color: #FFF;
#planswrap table tr.incomplete {
background: #ffd2d8;
color: #DD0221;
border-top: 1px solid #080D0F;
}
#planswrap table tr.incomplete a.btn-edit {
color: #458400;
}
{include file="header.tpl"}
<div id="planswrap">
<div class="rbuttons">
<a class="btn btn-add" href="{$WWWROOT}artefact/plans/new.php">{str section="artefact.plans" tag="newplan"}</a>
<a class="btn" href="{$WWWROOT}artefact/plans/new.php">{str section="artefact.plans" tag="newplan"}</a>
</div>
{if !$plans.data}
<div class="message">{$strnoplansaddone|safe}</div>
......
{include file="header.tpl"}
<div id="planswrap">
<div class="rbuttons">
<a class="btn btn-add" href="{$WWWROOT}artefact/plans/new.php?id={$plan}">{str section="artefact.plans" tag="newtask"}</a>
<a class="btn" href="{$WWWROOT}artefact/plans/new.php?id={$plan}">{str section="artefact.plans" tag="newtask"}</a>
</div>
{if !$tasks.data}
<div>{str tag="planstasksdesc" section="artefact.plans"}</div>
......
......@@ -2,7 +2,7 @@
{include file="header.tpl"}
<div id="planswrap">
<div class="rbuttons">
<a class="btn btn-add" href="{$WWWROOT}artefact/plans/new/task.php">{str section="artefact.plans" tag="newtask"}</a>
<a class="btn" href="{$WWWROOT}artefact/plans/new/task.php">{str section="artefact.plans" tag="newtask"}</a>
</div>
{if !$tasks.data}
<div class="message">{$strnotasksaddone|safe}</div>
......
......@@ -16,6 +16,7 @@ th.planscontrols {
background: #f5e8e9;
color: #DD0221;
border-top: 1px solid #FFF;
border-bottom: 2px solid #FFF;
}
#planswrap table td {
......
......@@ -18,7 +18,7 @@
{/if}
{/if}
<div>{$view.shortdescription|clean_html}</div>
{if $view.tags}<div class="tags">{str tag=tags}: {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
{if $view.tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
{if $view.template}
<div><a href="">{str tag=copythisview section=view}</a></div>
{/if}
......@@ -67,7 +67,7 @@
<span> ({str tag=timeofsubmission section=view}: {$view.submittedtime|format_date})</span>
{/if}
<div>{$view.shortdescription}</div>
{if $view.tags}<div class="tags">{str tag=tags}: {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
{if $view.tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
</td>
</tr>
{/foreach}
......
......@@ -19,7 +19,7 @@ addLoadEvent(function() {literal}{{/literal}
{if $relationship == 'none' && $friendscontrol == 'auto'}
<div class="message">{$newfriendform|safe}</div>
{elseif $relationship == 'none' && $friendscontrol == 'auth'}
<div class="message"><a href="{$WWWROOT}user/requestfriendship.php?id={$USERID}&amp;returnto=view" class="btn-request">{str tag='requestfriendship' section='group'}</a></div>
<div class="message"><a href="{$WWWROOT}user/requestfriendship.php?id={$USERID}&amp;returnto=view">{str tag='requestfriendship' section='group'}</a></div>
{elseif $relationship == 'requestedfriendship'}
<div class="message">{str tag=friendshiprequested section=group}</div>
{/if}
......
......@@ -5,15 +5,16 @@
{if $wallposts}
{foreach from=$wallposts item=wallpost}
<div class="wallpost{if $wallpost->private} private{/if}">
<div class="userinfo"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxwidth=25&amp;maxheight=25&amp;id={$wallpost->from}" alt="Profile Icon"><strong><a href="{$WWWROOT}user/view.php?id={$wallpost->userid}">{$wallpost->displayname}</a></strong><span class="postedon"> - {$wallpost->postdate|format_date}</span></div>
{if $wallpost->deletable}
<a href="{$WWWROOT}blocktype/wall/deletepost.php?postid={$wallpost->postid}&return={if $wholewall}wall{else}profile{/if}" class="wallpostdelete">{str tag='delete' section='blocktype.wall'}</a>
{/if}
<div class="userinfo"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxwidth=25&amp;maxheight=25&amp;id={$wallpost->from}" alt="Profile Icon"><a href="{$WWWROOT}user/view.php?id={$wallpost->userid}">{$wallpost->displayname}</a><span class="postedon"> - {$wallpost->postdate|format_date}</span></div>
<div class="text">{$wallpost->text|parse_bbcode|safe}</div>
<div class="controls right">
<div class="controls">
{* {if $ownwall}
<a href="{$WWWROOT}blocktype/wall/wall.php?instance={$instanceid}&amp;replyto={$wallpost->id}" class="btn-reply">{str tag='reply' section='blocktype.wall'}</a>
{/if}*}
{if $wallpost->deletable}
<a href="{$WWWROOT}blocktype/wall/deletepost.php?postid={$wallpost->postid}&return={if $wholewall}wall{else}profile{/if}" class="btn-del">{str tag='delete' section='blocktype.wall'}</a>
{/if}
</div>
</div>
{/foreach}
......
{include file="header.tpl"}
<div id="wall">
<h3>{$owner->displayname}: {str tag='wall' section='blocktype.wall'}</h3>
( <a href="{$WWWROOT}/user/view.php?id={$owner->id}">{str tag='backtoprofile' section='blocktype.wall'}</a> )
<h2>{$owner->displayname}: {str tag='wall' section='blocktype.wall'}</h2>
<div class="rbuttons"><a href="{$WWWROOT}/user/view.php?id={$owner->id}" class="btn-back">{str tag='backtoprofile' section='blocktype.wall'}</a></div>
{include file="blocktype:wall:inlineposts.tpl"}
</div>
{include file="footer.tpl"}
......@@ -11,19 +11,11 @@
}
/* Forum list */
#forumslist{
}
#forumslist th{
border-bottom: 1px solid #14436F;
}
/* Topic list */
#viewforum {
}
#viewforum h3 {
}
#forumtopicstable {
}
#forumtopicstable th {
border-bottom: 1px solid #14436F;
}
......@@ -32,14 +24,6 @@
background-color: #ceeafe;
}
/* Forum Pagination */
#viewforum div.pagination {
}
#viewforum div.pagination a {
}
#viewforum div.pagination .results {
}
/* admin & moderator */
.groupadmin {
color: #3366CC;
......@@ -50,30 +34,6 @@
/* Posts */
.closed {
}
.forumpost {
background-color: #f4f7f9;
}
.forumsubject {
}
.forumsubject h6 {
}
.forumpostleft {
}
.forumpostleft .posttime {
}
.forumpostleft .author p.poster {
}
.forumpostleft .author p.postcount {
}
.postbtns {
}
.postbtns a {
padding-left: 12px;
}
.deletedpost {
}
.postreply {
}
......@@ -6,9 +6,7 @@
*/
/* Forum list */
#forumslist{
border-bottom: 1px solid #ccc;
}
#forumslist,
#forumslist th{
border-bottom: 1px solid #ccc;
}
......@@ -17,11 +15,7 @@
#viewforum {
border: 1px solid #eee;
}
#viewforum h3 {
}
#forumtopicstable {
border-bottom: 1px solid #ccc;
}
#forumtopicstable,
#forumtopicstable th {
border-bottom: 1px solid #ccc;
}
......@@ -31,15 +25,6 @@
border-bottom: 1px solid #FFFFFF;
}
/* Forum Pagination */
#viewforum div.pagination {
}
#viewforum div.pagination a {
border: 1px solid #ccc;
}
#viewforum div.pagination .results {
}
/* admin & moderator */
.groupadmin {
color: #3366CC;
......@@ -50,18 +35,19 @@
/* Posts */
.closed {
}
.forumpost {
border: 1px solid #eee;
border: 3px solid #F3F7EC;
}
.forumsubject {
border-bottom: 1px solid #eee;
border-bottom: 0;
background: #e9f1dc;
}
.forumsubject h6 {
color: #1E6297;
}
.forumpostleft {
border-right: 1px solid #eee;
border-right: 1px solid #F3F7EC;
background: #F3F7EC;
}
.forumpostleft .posttime {
color: #888;
......@@ -69,14 +55,10 @@
.forumpostleft .author p.poster {
color: #888;
}
.forumpostleft .author p.postcount {
}
.postbtns {
color: #d1d1d1;
}
.deletedpost {
color: #666666;
}
.postreply {
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment