Code format and some fixes in header
This commit is contained in:
@@ -18,8 +18,8 @@
|
|||||||
<?=asset('js', 'jtip.js');?>
|
<?=asset('js', 'jtip.js');?>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var SITE_URL = '<?=site_url()?>';
|
var SITE_URL = '<?=site_url();?>';
|
||||||
var BASE_URL = '<?=base_url()?>';
|
var BASE_URL = '<?=base_url();?>';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h1><?=anchor('', asset('image', 'logo.png'))?></h1>
|
<h1><?=anchor('', asset('image', 'logo.png'));?></h1>
|
||||||
<div class="status">
|
<div class="status">
|
||||||
<select name="activeProject">
|
<select name="activeProject">
|
||||||
<?php
|
<?php
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu"><?= _('Hello,') ?> <a href="<?=site_url('');?>"><?=$this->user->profile()->firstname;?> <?=$this->user->profile()->lastname;?></a>! | <?=lang_select('assets/images');?> | <a href="#"><?=_('Help')?></a> | <?=anchor('auth/settings', _('Settings'));?> | <?=anchor('auth/logout', _('Logout'));?></div>
|
<div class="menu"><?= _('Hello,') ?> <a href="<?=base_url();?>"><?=$this->user->profile()->firstname;?> <?=$this->user->profile()->lastname;?></a>! | <?=lang_select('assets/images');?> | <a href="#"><?=_('Help');?></a> | <?=anchor('auth/settings', _('Settings'));?> | <?=anchor('auth/logout', _('Logout'));?></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
<ul>
|
<ul>
|
||||||
<?
|
<?php
|
||||||
if ($this->input->get('active_project')):
|
if ($this->input->get('active_project')):
|
||||||
$active_project = $this->project->getById($this->input->get('active_project'));
|
$active_project = $this->project->getById($this->input->get('active_project'));
|
||||||
?>
|
?>
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
<li><a href="<?=site_url('results/project/' . $active_project['id']);?>" title="<?=sprintf(_('Show results for the project "%s"'), $active_project['name']);?>"><?=_('Show results');?></a></li>
|
<li><a href="<?=site_url('results/project/' . $active_project['id']);?>" title="<?=sprintf(_('Show results for the project "%s"'), $active_project['name']);?>"><?=_('Show results');?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<?
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
<li class="toggleable" id="nav_projects">
|
<li class="toggleable" id="nav_projects">
|
||||||
@@ -87,31 +87,31 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h2><a href="<?=site_url('projects')?>" title="<?=_('Show all projects')?>"><?=_('Projects')?></a></h2>
|
<h2><a href="<?=site_url('projects');?>" title="<?=_('Show all projects');?>"><?=_('Projects');?></a></h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="toggleable" id="nav_own_projects">
|
<li class="toggleable" id="nav_own_projects">
|
||||||
<a href="javascript:void(0);"><?=_('Own projects')?></a>
|
<a href="javascript:void(0);"><?=_('Own projects');?></a>
|
||||||
<ul>
|
<ul>
|
||||||
<?
|
<?php
|
||||||
$projects = $this->project->getOwn();
|
$projects = $this->project->getOwn();
|
||||||
foreach($projects as $project):
|
foreach($projects as $project):
|
||||||
?>
|
?>
|
||||||
<li><a href="<?=site_url('projects/detail/'.$project['id'])?>"><?=$project['name']?></a></li>
|
<li><a href="<?=site_url('projects/detail/'.$project['id']);?>"><?=$project['name'];?></a></li>
|
||||||
<?
|
<?php
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="toggleable" id="nav_shared_projects">
|
<li class="toggleable" id="nav_shared_projects">
|
||||||
<a href="javascript:void(0);"><?=_('Projects shared with me')?></a>
|
<a href="javascript:void(0);"><?=_('Projects shared with me');?></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#">Prisma</a></li>
|
<li><a href="#">Prisma</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="toggleable" id="nav_public_projects">
|
<li class="toggleable" id="nav_public_projects">
|
||||||
<a href="javascript:void(0);"><?=_('Public projects')?></a>
|
<a href="javascript:void(0);"><?=_('Public projects');?></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#">Beispielprojekt</a></li>
|
<li><a href="#">Beispielprojekt</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -120,25 +120,25 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h2><?=_('Search')?></h2>
|
<h2><?=_('Search');?></h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<form id="search-form" method="get" action="#">
|
<form id="search-form" method="get" action="#">
|
||||||
<input type="text" name="search" id="search-input" class="search-input">
|
<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">
|
<input type="image" src="<?=asset_url('image', 'button-search.gif');?>" id="search-submit" class="search-submit" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h2><?=_('Recent events')?></h2>
|
<h2><?=_('Recent events');?></h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul id="blog">
|
<ul id="blog">
|
||||||
<li><h4><a href="#" title="<?=_('Calculation done')?>"><?=_('Calculation done')?></a> <abbr title="22.07.2011">22.07.2011</abbr></h4><p><?=sprintf(_('Calculation successfully finished for project "%s"'), 'Gerstenkorn')?></i></p></li>
|
<li><h4><a href="#" title="<?=_('Calculation done');?>"><?=_('Calculation done');?></a> <abbr title="22.07.2011">22.07.2011</abbr></h4><p><?=sprintf(_('Calculation successfully finished for project "%s"'), 'Gerstenkorn');?></i></p></li>
|
||||||
<li><h4><a href="#" title="<?=_('Calculation done')?>"><?=_('Calculation done')?></a> <abbr title="22.07.2011">22.07.2011</abbr></h4><p><?=sprintf(_('Calculation successfully finished for project "%s"'), 'Gerstenkorn')?></i></p></li>
|
<li><h4><a href="#" title="<?=_('Calculation done');?>"><?=_('Calculation done');?></a> <abbr title="22.07.2011">22.07.2011</abbr></h4><p><?=sprintf(_('Calculation successfully finished for project "%s"'), 'Gerstenkorn');?></i></p></li>
|
||||||
<li><h4><a href="#" title="<?=_('Calculation done')?>"><?=_('Calculation done')?></a> <abbr title="22.07.2011">22.07.2011</abbr></h4><p><?=sprintf(_('Calculation successfully finished for project "%s"'), 'Gerstenkorn')?></i></p></li>
|
<li><h4><a href="#" title="<?=_('Calculation done');?>"><?=_('Calculation done');?></a> <abbr title="22.07.2011">22.07.2011</abbr></h4><p><?=sprintf(_('Calculation successfully finished for project "%s"'), 'Gerstenkorn');?></i></p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user