Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / team.tpl
index 7c33e88f5d96f886c1612f855f5af173ebc3fcff..c90e74caa25616a8701ae937d708cd216061b170 100644 (file)
@@ -1,83 +1,48 @@
-{include file='documentHeader'}
-
-<head>
-       <title>{lang}wcf.user.team{/lang} - {PAGE_TITLE|language}</title>
-       
-       {include file='headInclude'}
-       
+{capture assign='headContent'}
        <link rel="canonical" href="{link controller='Team'}{/link}" />
-       
-       <script data-relocate="true">
-               //<![CDATA[
-                       $(function() {
-                               WCF.Language.addObject({
-                                       'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
-                                       'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
-                                       'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
-                                       'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
-                               });
-                               
-                               new WCF.User.Action.Follow($('.userList > li'));
-                               new WCF.User.Action.Ignore($('.userList > li'));
-                       });
-               //]]>
-       </script>
-</head>
-
-<body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
-
-{capture assign='sidebar'}
-       {@$__boxSidebar}
 {/capture}
 
-{include file='header' sidebarOrientation='right'}
-
-<header class="boxHeadline">
-       <h1>{lang}wcf.user.team{/lang}</h1>
-</header>
-
-{include file='userNotice'}
-
-<div class="contentNavigation">
-       {hascontent}
-               <nav>
-                       <ul>
-                               {content}
-                                       {event name='contentNavigationButtonsTop'}
-                               {/content}
-                       </ul>
-               </nav>
-       {/hascontent}
-</div>
+{include file='header'}
 
 {foreach from=$objects->getTeams() item=team}
-       <header class="boxHeadline boxSubHeadline">
-               <h2 id="group{@$team->groupID}">{$team->groupName|language} <span class="badge">{#$team->getMembers()|count}</span></h2>
-               <p>{$team->groupDescription|language}</p>
-       </header>
-               
-       <div class="container marginTop">
+       <section class="section sectionContainerList">
+               <header class="sectionHeader">
+                       <h2 class="sectionTitle" id="group{@$team->groupID}">{$team->groupName|language} <span class="badge">{#$team->getMembers()|count}</span></h2>
+                       <small class="sectionDescription">{$team->groupDescription|language}</small>
+               </header>
+                       
                <ol class="containerList userList">
                        {foreach from=$team->getMembers() item=user}
                                {include file='userListItem'}
                        {/foreach}
                </ol>
-       </div>
+       </section>
 {/foreach}
 
-<div class="contentNavigation">
+<footer class="contentFooter">
        {hascontent}
-               <nav>
+               <nav class="contentFooterNavigation">
                        <ul>
-                               {content}
-                                       {event name='contentNavigationButtonsBottom'}
-                               {/content}
+                               {content}{event name='contentFooterNavigation'}{/content}
                        </ul>
                </nav>
        {/hascontent}
-</div>
+</footer>
+
+<script data-relocate="true">
+       //<![CDATA[
+       $(function() {
+               WCF.Language.addObject({
+                       'wcf.user.button.follow': '{lang}wcf.user.button.follow{/lang}',
+                       'wcf.user.button.ignore': '{lang}wcf.user.button.ignore{/lang}',
+                       'wcf.user.button.unfollow': '{lang}wcf.user.button.unfollow{/lang}',
+                       'wcf.user.button.unignore': '{lang}wcf.user.button.unignore{/lang}'
+               });
+               
+               new WCF.User.Action.Follow($('.userList > li'));
+               new WCF.User.Action.Ignore($('.userList > li'));
+       });
+       //]]>
+</script>
 
 {include file='footer'}
-
-</body>
-</html>