Merge branch 'master' of disposed.de:scattport
Conflicts: application/config/autoload.php application/views/header.php
This commit is contained in:
27
application/views/about.php
Normal file
27
application/views/about.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php $this->load->view('header'); ?>
|
||||
|
||||
<div id="content">
|
||||
|
||||
<div class="title">
|
||||
<h2><?=_('About');?></h2>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h3><?=_('Introduction');?></h3>
|
||||
<p>
|
||||
</p>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h3><?=_('Contributors');?></h3>
|
||||
<p>
|
||||
<h4>Programming</h4>
|
||||
<ul>
|
||||
<li>Karsten Heiken, 2011</li>
|
||||
<li>Eike Foken, 2011</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php $this->load->view('footer'); ?>
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
<title>ScattPort | <?=_('Login');?></title>
|
||||
|
||||
<?= link_tag('assets/css/login.css'); ?>
|
||||
<?= link_tag('assets/css/form.css'); ?>
|
||||
<?=asset('css', 'login.css');?>
|
||||
<?=asset('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'); ?>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" language="javascript" type="text/javascript"></script>
|
||||
<?=asset('js', 'assets/js/minmax.js');?>
|
||||
<?=asset('js', 'assets/js/scattport.js');?>
|
||||
<script type="text/javascript">
|
||||
var SITE_URL = '<?=site_url()?>';
|
||||
</script>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<?
|
||||
if ($this->access->isAdmin()):
|
||||
?>
|
||||
<span class="left"><strong><?=_('Administration')?> - </strong>
|
||||
<span class="left"><strong><?=_('Administration')?></strong> -
|
||||
<a href="<?=site_url('admin/settings')?>"><?=_('Global settings')?></a> |
|
||||
<a href="<?=site_url('admin/servers')?>"><?=_('Manage calculation servers')?></a> |
|
||||
<a href="<?=site_url('admin/users')?>"><?=_('Manage users')?></a> |
|
||||
@@ -11,11 +11,19 @@
|
||||
<?
|
||||
endif;
|
||||
?>
|
||||
<span class="right">© 2011 Karsten Heiken.</span>
|
||||
|
||||
<span class="right">
|
||||
<?=anchor('about', _('About'));?> |
|
||||
<?=anchor('license', _('License'));?>
|
||||
</span>
|
||||
<span class="right">
|
||||
<?=asset('image', 'iwt.gif', array('width' => 36));?>
|
||||
<?=asset('image', 'dfg.gif', array('width' => 36));?>
|
||||
<?=asset('image', 'uni.png', array('width' => 36));?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -7,26 +7,28 @@
|
||||
|
||||
<title>ScattPort</title>
|
||||
|
||||
<?=link_tag('assets/css/style.css');?>
|
||||
<?=link_tag('assets/css/table.css');?>
|
||||
<?=link_tag('assets/css/form.css');?>
|
||||
<?=css_asset('style.css');?>
|
||||
<?=css_asset('table.css');?>
|
||||
<?=css_asset('form.css');?>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" language="javascript" type="text/javascript"></script>
|
||||
|
||||
<?=js_asset('tablednd.jquery.js');?>
|
||||
<?=js_asset('jsc3d.min.js');?>
|
||||
<?=js_asset('scattport.js');?>
|
||||
<?=js_asset('jtip.js');?>
|
||||
|
||||
<?=script_tag('assets/js/minmax.js');?>
|
||||
<?=script_tag('assets/js/jsc3d.min.js');?>
|
||||
<?=script_tag('https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js');?>
|
||||
<?=script_tag('assets/js/scattport.js');?>
|
||||
<?=script_tag('assets/js/tablednd.jquery.js');?>
|
||||
<?=script_tag('assets/js/jtip.js');?>
|
||||
<script type="text/javascript">
|
||||
var SITE_URL = '<?=site_url()?>';
|
||||
var BASE_URL = '<?=base_url()?>';
|
||||
var SITE_URL = '<?=site_url("/");?>';
|
||||
var BASE_URL = '<?=base_url("/");?>';
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="header">
|
||||
<h1><?=anchor('', img('assets/images/logo.png'))?></h1>
|
||||
<h1><?=anchor('', image_asset('logo.png'));?></h1>
|
||||
<div class="status">
|
||||
<select name="activeProject">
|
||||
<?php
|
||||
@@ -39,7 +41,7 @@
|
||||
?>
|
||||
</select>
|
||||
</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 id="wrapper">
|
||||
@@ -52,58 +54,65 @@
|
||||
</div>
|
||||
<div class="navigation">
|
||||
<ul>
|
||||
<?
|
||||
<?php
|
||||
if ($this->input->get('active_project')):
|
||||
$active_project = $this->project->getById($this->input->get('active_project'));
|
||||
?>
|
||||
<li>
|
||||
<a href="javascript:void(0);" onclick="$(this).parent().toggleClass('active').find('ul').slideToggle();"><?=_('Project');?> <?=$active_project['shortname'];?></a>
|
||||
<a href="javascript:void(0);" onclick="$(this).parent().toggleClass('active').find('ul').toggle();"><?=_('Project');?> <?=$active_project['shortname'];?></a>
|
||||
<ul>
|
||||
<li><a href="<?=site_url('projects/detail/' . $active_project['id']);?>" title="<?=_('Show overview');?>"><?=_('Overview');?></a></li>
|
||||
<li><a href="<?=site_url('trials/create/' . $active_project['id']);?>" title="<?=sprintf(_('Create a new trial for the project "%s"'), $active_project['name']);?>"><?=_('New trial');?></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>
|
||||
</li>
|
||||
<?
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<li>
|
||||
<a href="javascript:void(0);" onclick="$(this).parent().toggleClass('active').find('ul').slideToggle();"><?=_('Projects');?></a>
|
||||
<li class="togglable" id="nav_projects">
|
||||
<a href="javascript:void(0);"><?=_('Projects');?></a>
|
||||
<ul>
|
||||
<li><a href="<?=site_url('projects/create');?>" title="<?=_('Create a new project');?>"><?=_('New project');?></a></li>
|
||||
<li><a href="<?=site_url('projects');?>" title="<?=_('Shows a list of all projects');?>"><?=_('Show projects');?></a></li>
|
||||
<li><a href="<?=site_url('projects/search');?>" title="<?=_('Search for a project');?>"><?=_('Search');?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="togglable" id="nav_calculations">
|
||||
<a href="javascript:void(0);"><?=_('Calculations');?></a>
|
||||
<ul>
|
||||
<li><a href="<?=site_url('jobs/results');?>" title="<?=_('Show the newest results');?>"><?=_('Newest results');?></a></li>
|
||||
<li><a href="<?=site_url('jobs/running');?>" title="<?=_('Shows a list of running calculations');?>"><?=_('Running calculations');?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<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 class="navigation">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="javascript:void(0);" onclick="$(this).parent().toggleClass('active').find('ul').slideToggle();"><?=_('My projects')?></a>
|
||||
<li class="togglable" id="nav_own_projects">
|
||||
<a href="javascript:void(0);"><?=_('My projects');?></a>
|
||||
<ul>
|
||||
<?
|
||||
<?php
|
||||
$projects = $this->project->getOwn();
|
||||
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;
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:void(0);" onclick="$(this).parent().toggleClass('active').find('ul').slideToggle();"><?=_('Projects shared with me')?></a>
|
||||
<li class="togglable" id="nav_shared_projects">
|
||||
<a href="javascript:void(0);"><?=_('Projects shared with me');?></a>
|
||||
<ul>
|
||||
<li><a href="#">Prisma</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:void(0);" onclick="$(this).parent().toggleClass('active').find('ul').slideToggle();"><?=_('Public projects')?></a>
|
||||
<li class="togglable" id="nav_public_projects">
|
||||
<a href="javascript:void(0);"><?=_('Public projects');?></a>
|
||||
<ul>
|
||||
<li><a href="#">Beispielprojekt</a></li>
|
||||
</ul>
|
||||
@@ -112,25 +121,25 @@
|
||||
</div>
|
||||
|
||||
<div class="title">
|
||||
<h2><?=_('Search')?></h2>
|
||||
<h2><?=_('Search');?></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">
|
||||
<input type="text" name="search" id="search-input" class="search-input" />
|
||||
<input type="image" src="<?=asset_url('images', 'button-search.gif');?>" id="search-submit" class="search-submit" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="title">
|
||||
<h2><?=_('Recent events')?></h2>
|
||||
<h2><?=_('Recent events');?></h2>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
||||
40
application/views/license.php
Normal file
40
application/views/license.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php $this->load->view('header'); ?>
|
||||
|
||||
<div id="content">
|
||||
|
||||
<div class="title">
|
||||
<h2><?=_('License');?></h2>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h3>This application is licensed under the MIT License for Open Source Software</h3>
|
||||
<p>Copyright (c) 2011 Karsten Heiken, Eike Foken</p>
|
||||
|
||||
<p>
|
||||
Permission is hereby granted, free of charge, to any person obtaining<br />
|
||||
a copy of this software and associated documentation files (the "Software"),<br />
|
||||
to deal in the Software without restriction, including without limitation<br />
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,<br />
|
||||
and/or sell copies of the Software, and to permit persons to whom the Software<br />
|
||||
is furnished to do so, subject to the following conditions:
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The above copyright notice and this permission notice shall be included in all<br />
|
||||
copies or substantial portions of the Software.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,<br />
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES<br />
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND<br />
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT<br />
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,<br />
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING<br />
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR <br />
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $this->load->view('footer'); ?>
|
||||
Reference in New Issue
Block a user