99 lines
2.9 KiB
PHP
99 lines
2.9 KiB
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
<title>ScattPort | Dashboard</title>
|
|
|
|
<?=link_tag('assets/css/style.css');?>
|
|
<?=link_tag('assets/css/table.css');?>
|
|
<?=link_tag('assets/css/form.css');?>
|
|
|
|
<?=script_tag('assets/js/minmax.js');?>
|
|
<?=script_tag('https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js');?>
|
|
<?=script_tag('assets/js/scattport.js');?>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div id="header">
|
|
<h1><a href="<?=base_url()?>"><img src="<?=site_url('assets/images/logo.gif')?>" /></a></h1>
|
|
<div class="menu">Hallo <a href="#"><?=$this->user->profile()->firstname?> <?=$this->user->profile()->lastname?></a>! | <a href="#">Hilfe</a> | <a href="#">Einstellungen</a> | <a href="#">Logout</a></div>
|
|
|
|
</div>
|
|
|
|
<div id="wrapper">
|
|
|
|
<?
|
|
$messages = $this->messages->get();
|
|
if (is_array($messages)):
|
|
foreach ($messages as $type => $msgs):
|
|
if (count($msgs > 0)):
|
|
foreach ($msgs as $message):
|
|
echo ('<div class="' . $type .'">' . $message . '</div>');
|
|
endforeach;
|
|
endif;
|
|
endforeach;
|
|
endif;
|
|
?>
|
|
|
|
<div id="sidebar">
|
|
|
|
<div class="title">
|
|
<h2><a href="<?=site_url('projects')?>" title="Alle Projekte anzeigen">Projekte</a></h2>
|
|
</div>
|
|
<?
|
|
$this->load->model('project');
|
|
?>
|
|
<div class="navigation">
|
|
<ul>
|
|
<li><a href="#">Eigene Projekte</a>
|
|
<ul>
|
|
<?
|
|
$projects = $this->project->getOwn();
|
|
foreach($projects as $project):
|
|
?>
|
|
<li><a href="<?=site_url('projects/detail/'.$project['id'])?>"><?=$project['name']?></a></li>
|
|
<?
|
|
endforeach;
|
|
?>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#">Freigegebene Projekte</a>
|
|
<ul>
|
|
<li><a href="#">Prisma</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#">Öffentliche Projekte</a>
|
|
<ul>
|
|
<li><a href="#">Beispielprojekt</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="title">
|
|
<h2>Suche</h2>
|
|
</div>
|
|
|
|
<div class="box">
|
|
<form id="search-form" method="get" action="#">
|
|
<input type="text" name="search" id="search-input" class="search-input">
|
|
<input type="image" src="<?=site_url('assets/images/button-search.gif')?>" id="search-submit" class="search-submit">
|
|
</form>
|
|
</div>
|
|
|
|
<div class="title">
|
|
<h2>Ereignisse</h2>
|
|
</div>
|
|
|
|
<div class="box">
|
|
<ul id="blog">
|
|
<li><h4><a href="#" title="Berechnung fertig">Berechnung fertig</a> <abbr title="22.07.2011">22.07.2011</abbr></h4><p>Berechnung für "Gerstenkorn" erfolgreich beendet.</i></p></li>
|
|
<li><h4><a href="#" title="Berechnung fertig">Berechnung fertig</a> <abbr title="22.07.2011">22.07.2011</abbr></h4><p>Berechnung für "Gerstenkorn" erfolgreich beendet.</i></p></li>
|
|
<li><h4><a href="#" title="Berechnung fertig">Berechnung fertig</a> <abbr title="22.07.2011">22.07.2011</abbr></h4><p>Berechnung für "Gerstenkorn" erfolgreich beendet.</i></p></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|