Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
dba94b75
Commit
dba94b75
authored
Jul 15, 2009
by
Richard Mansfield
Browse files
Theming on group about page
parent
c2050f47
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/static/style/style.css
View file @
dba94b75
...
...
@@ -279,14 +279,13 @@ ul.in-page-tabs li a.current-tab {
ul
.in-page-tabs
li
a
{
padding
:
.4em
1em
.3em
1em
;
}
/*#grouppage-tabs li a:hover,
ul.profile-tabs li a:hover {
}*/
.in-page-page
{
margin
:
0
0
1em
0
;
border
:
1px
solid
#ddd
;
padding
:
1em
;
border
:
1px
solid
#d1d1d1
;
padding
:
1.5em
;
}
.in-page-page
p
:first-child
{
margin
:
0
;
}
...
...
@@ -698,6 +697,25 @@ p.progress-text {
margin-top
:
1em
;
}
/* Group - about */
.group-info
{
list-style
:
none
;
background-color
:
#eee
;
padding
:
1em
;
border
:
10px
solid
#ddd
;
margin
:
0
0
1em
0
;
}
.group-info
li
{
margin
:
0
;
}
.group-info
li
span
{
margin
:
0
2em
0
0
;
}
.group-controls
li
{
font-size
:
.9em
;
font-weight
:
bold
;
}
/*
#staffusers table,
...
...
@@ -1176,36 +1194,6 @@ html>/**//*body #overlay {
/**************** IN PAGE TAB NAVIGATION ****************/
/*
#grouppage-tabs ul,
ul.profile-tabs {
font-size: .9em;
font-weight: bold;
list-style: none;
margin: 0;
}
#grouppage-tabs ul li,
ul.profile-tabs li {
display: inline;
margin: 0 0 0 .5em;
}
#grouppage-tabs ul li.selected a,
#grouppage-tabs ul li.selected a:hover,
ul.profile-tabs li a.current-tab {
color: #333;
cursor: default;
text-decoration: none;
background: #ddd;
}
#grouppage-tabs li a,
ul.profile-tabs li a {
padding: .4em 1em .3em 1em;
}
#grouppage-tabs li a:hover,
ul.profile-tabs li a:hover {
}
/**************** RIGHT SIDEBAR START *********/
/*
div.sidebar ul {
...
...
@@ -1624,50 +1612,12 @@ ul.groupuserstatus li.last {
/* GROUPS > VIEWING A GROUP */
/*
#grouppage-tabs {
font-weight: bold;
}
#grouppage-container {
padding: 1.5em;
border: 1px solid #d1d1d1;
margin: 0 0 1em 0;
}
#grouppage-container span.addicon {
margin: 0;
}
#grouppage-container .searchform {
margin: 0 0 1em 0;
}
#group-description {
margin: 0;
}
#group-info {
list-style: none;
background-color: #eee;
padding: 1em;
border: 10px solid #ddd;
margin: 0 0 1em 0;
}
#group-info li {
margin: 0;
}
#group-info li span {
margin: 0 2em 0 0;
}
#group-controls {
list-style: none;
float: right;
margin: 2.5em 1em 0 0;
}
#group-controls li {
font-size: .9em;
}
.gotoforum {
font-weight: bold;
margin: 0 .5em;
text-align: right;
}
...
...
htdocs/theme/raw/templates/group/info.tpl
View file @
dba94b75
<ul
id
=
"group-info"
>
<ul
class
=
"group-info"
>
<li><label>
{
str
tag
=
groupadmins
section
=
group
}
:
</label>
{
foreach
name
=
admins
from
=
$group
->
admins
item
=
id
}
<img
src=
"
{
$WWWROOT
}
thumb.php?type=profileicon&maxsize=20&id=
{
$id
|
escape
}
"
alt=
""
>
<a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$id
|
escape
}
"
>
{
$id
|
display_name
|
escape
}
</a>
{
if
!
$smarty.foreach.admins.last
}
,
{/
if
}
...
...
htdocs/theme/raw/templates/group/view.tpl
View file @
dba94b75
{
include
file
=
"header.tpl"
}
{
if
$GROUP
->
description
}
<
div
id=
"group-description"
>
{
$GROUP
->
description
}
</
div
>
<
p
>
{
$GROUP
->
description
}
</
p
>
{/
if
}
<ul
id=
"group-controls"
>
{
include
file
=
"group/groupuserstatus.tpl"
group
=
$group
returnto
=
'view'
}
</ul><br
class=
"cl"
/>
{
include
file
=
"group/info.tpl"
}
<p>
<div
class=
"rel"
>
{
include
file
=
"group/info.tpl"
}
<div
class=
"rbuttons pagetabs"
>
<ul
class=
"group-controls"
>
{
include
file
=
"group/groupuserstatus.tpl"
group
=
$group
returnto
=
'view'
}
</ul><br
class=
"cl"
/>
</div>
</div>
</p>
{
if
$group
->
public
||
$role
}
<div
class=
"group-info-para"
>
<h3>
{
str
tag
=
latestforumposts
section
=
interaction
.
forum
}
</h3>
{
if
$foruminfo
}
<table
id=
"latestforumpost"
class=
"fullwidth s"
>
{
foreach
from
=
$foruminfo
item
=
postinfo
}
<tr
class=
"r
{
cycle
values
=
0
,
1
}
"
>
<td><strong><a
href=
"
{
$WWWROOT
}
interaction/forum/topic.php?id=
{
$postinfo
->
topic
|
escape
}
#post
{
$postinfo
->
id
|
escape
}
"
>
{
$postinfo
->
topicname
|
escape
}
</a></strong></td>
<td>
{
$postinfo
->
body
|
str_shorten_html
:
100
:
true
}
</td>
<td><img
src=
"
{
$WWWROOT
}
thumb.php?type=profileicon&maxsize=20&id=
{
$postinfo
->
poster
|
escape
}
"
alt=
""
>
<a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$postinfo
->
poster
|
escape
}
"
>
{
$postinfo
->
poster
|
display_name
|
escape
}
</a></td>
</tr>
{/
foreach
}
</table>
{
else
}
<div
class=
"message"
>
{
str
tag
=
noforumpostsyet
section
=
interaction
.
forum
}
</div>
{/
if
}
<p
class=
"gotoforum"
><a
href=
"
{
$WWWROOT
}
interaction/forum/?group=
{
$group
->
id
|
escape
}
"
>
{
str
tag
=
gotoforums
section
=
interaction
.
forum
}
»
</a></p>
</div>
<h3>
{
str
tag
=
latestforumposts
section
=
interaction
.
forum
}
</h3>
{
if
$foruminfo
}
<table
id=
"latestforumpost"
class=
"fullwidth s"
>
{
foreach
from
=
$foruminfo
item
=
postinfo
}
<tr
class=
"r
{
cycle
values
=
0
,
1
}
"
>
<td><strong><a
href=
"
{
$WWWROOT
}
interaction/forum/topic.php?id=
{
$postinfo
->
topic
|
escape
}
#post
{
$postinfo
->
id
|
escape
}
"
>
{
$postinfo
->
topicname
|
escape
}
</a></strong></td>
<td>
{
$postinfo
->
body
|
str_shorten_html
:
100
:
true
}
</td>
<td><img
src=
"
{
$WWWROOT
}
thumb.php?type=profileicon&maxsize=20&id=
{
$postinfo
->
poster
|
escape
}
"
alt=
""
>
<a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$postinfo
->
poster
|
escape
}
"
>
{
$postinfo
->
poster
|
display_name
|
escape
}
</a>
</td>
</tr>
{/
foreach
}
</table>
{
else
}
<p>
{
str
tag
=
noforumpostsyet
section
=
interaction
.
forum
}
</p>
{/
if
}
<div
class=
"right"
><a
href=
"
{
$WWWROOT
}
interaction/forum/?group=
{
$group
->
id
|
escape
}
"
><strong>
{
str
tag
=
gotoforums
section
=
interaction
.
forum
}
»
</strong></a></div>
{/
if
}
{
if
$sharedviews
}
<div
class=
"group-info-para"
>
<h3>
{
str
tag
=
"viewssharedtogroupbyothers"
section
=
"view"
}
</h3>
<p>
<table
class=
"groupviews"
>
{
foreach
from
=
$sharedviews
item
=
view
}
<tr
class=
"r
{
cycle
values
=
0
,
1
}
"
>
...
...
@@ -57,12 +62,12 @@
{/
foreach
}
</table>
{
$pagination
}
</
div
>
</
p
>
{/
if
}
{
if
$submittedviews
}
<div
class=
"group-info-para"
>
<h3>
{
str
tag
=
"viewssubmittedtogroup"
section
=
"view"
}
</h3>
<p>
<table
class=
"groupviews"
>
{
foreach
from
=
$submittedviews
item
=
view
}
<tr
class=
"r
{
cycle
values
=
0
,
1
}
"
>
...
...
@@ -84,7 +89,7 @@
{/
foreach
}
</table>
{
$pagination
}
</
div
>
</
p
>
{/
if
}
{
include
file
=
"footer.tpl"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment