Loading

Alternative theme for task detail

General Discussion around Collabtive

Alternative theme for task detail

Postby milos.kroulik » 19.02.2008, 01:35

I created alternative theme for task detail. I hope it's more simple than the original. It is not totally consistent with other UI. Let me know, what you think. I can post the code, if someone would like to use it.

Have fun,

Milhaus
collabtive_tasks.png
collabtive_tasks.png (14.6 KiB) Viewed 7966 times
milos.kroulik
 
Posts: 5
Joined: 05.01.2008, 23:13

Re: Alternative theme for task detail

Postby Philipp » 19.02.2008, 01:45

You should post the code anyway :) I'm interested ;)
User avatar
Philipp
Site Admin
 
Posts: 1118
Joined: 14.12.2007, 03:06
Location: Saarbrücken, germany

Re: Alternative theme for task detail

Postby milos.kroulik » 19.02.2008, 02:35

OK, here's the code. Post it to task.tpl file in templates folder. It's probably far from perfect. Please test it and let me know, what you think (or make it better and post it here).

Milhaus

Code: Select all
{include file="header.tpl" jsload = "ajax"}<h1>{$projectname}   
  <span>/ {#task#}{if $task.title != ""}&nbsp;({$task.title}){/if}   
  </span></h1>
<div class ="content_left"> 
  <input type = "hidden" name = "selectedid" id  = "selectedid"/> {*required object for focus cells*}{include file="top-project.tpl" }          
  <div class="block_a">              
    <div class="in">                   
      <div class="headline">            <h2>         
          <a href="javascript:void(0);" id="task_toggle" class="win_block" onclick = "toggleBlock('task');">           
            <img src="./templates/standard/img/symbols/task.png" alt="" />                             
            <span>            {if $task.title != ""}                {$task.title}                {else}                {$task.text}                {/if}                             
            </span></a></h2>                   
      </div>                   
      <div id = "task" style = "">                 
        <div class="table_body">                          
          <div id="task_focus" class="focus_off">                                  
            <table cellpadding="0" cellspacing="0">                                    
              <tr>                                      
                <td class="a">                 
                  <a class="butn_check" href="managetask.php?action=close&amp;tid={$task.ID}&amp;id={$project.ID}" title="{#close#}"></a></td>                                      
                <td colspan="2" style="width:85%;">{$task.text}</td>               
                <td class="tools">                 
                  <a class="tool_edit" href="managetask.php?action=editform&amp;tid={$task.ID}&amp;id={$project.ID}" title="{#edit#}"></a>                 
                  <a class="tool_del" href="managetask.php?action=del&amp;tid={$task.ID}&amp;id={$project.ID}" title="{#delete#}"></a></td>               
              </tr>               
              <tr>
                <td class="a"></td>                 
                <td style="width:10%"><strong>{#user#}:</strong></td><td>{$task.user}</td><td></td>               
              </tr>               
              <tr>
                <td class="a"></td>                 
                <td style="width:10%"><strong>{#end#}:</strong></td><td>{$task.endstring}</td><td></td>               
              </tr>                                  
            </table>                          
          </div> {*Focus End*}                      
        </div> {*Table_Body End*}                 
      </div>{*Task end*}                 
      <div class="clear_both">     
      </div> {*required ... do not delete this row*}               
    </div> {*IN end*}          
  </div> {*Block C end*}
</div> {*Content_left end*}{include file="footer.tpl"}
milos.kroulik
 
Posts: 5
Joined: 05.01.2008, 23:13

Re: Alternative theme for task detail

Postby Philipp » 19.02.2008, 10:10

I will show it to our graphics / GUI guy and see what he thinks of it.
User avatar
Philipp
Site Admin
 
Posts: 1118
Joined: 14.12.2007, 03:06
Location: Saarbrücken, germany


Return to General

Who is online

Users browsing this forum: No registered users

cron