Added new tools menu item, which currently has Awards listed

This commit is contained in:
Peter Goodhall 2012-11-20 17:24:50 +00:00
parent 8c6815b29c
commit 9f269522bd
6 changed files with 52 additions and 1 deletions

View File

@ -10,7 +10,11 @@ class Awards extends CI_Controller {
public function index()
{
echo "This is the index page";
// Render Page
$data['page_title'] = "Awards";
$this->load->view('layout/header', $data);
$this->load->view('awards/index');
$this->load->view('layout/footer');
}
/*

View File

@ -0,0 +1,12 @@
<div id="container">
<h2><?php echo $page_title; ?></h2>
<ul class="tabs">
<li class="active"><a href="<?php echo site_url('awards'); ?>">Home</a></li>
<li><a href="<?php echo site_url('awards/dxcc'); ?>">DXCC</a></li>
<li><a href="<?php echo site_url('awards/wab'); ?>">WAB</a></li>
<li><a href="<?php echo site_url('awards/sota'); ?>">SOTA</a></li>
<li><a href="<?php echo site_url('awards/wacral'); ?>">WACRAL</a></li>
</ul>
</div>

View File

@ -1,6 +1,15 @@
<div id="container">
<h1><?php echo $page_title; ?></h1>
<!-- Sub Nav for Awards -->
<ul class="tabs">
<li><a href="<?php echo site_url('awards/dxcc'); ?>">DXCC</a></li>
<li><a href="<?php echo site_url('awards/wab'); ?>">WAB</a></li>
<li class="active"><a href="<?php echo site_url('awards/sota'); ?>">SOTA</a></li>
<li><a href="<?php echo site_url('awards/wacral'); ?>">WACRAL</a></li>
</ul>
<table width="100%" class="zebra-striped">
<tr>

View File

@ -1,6 +1,15 @@
<div id="container">
<h1><?php echo $page_title; ?></h1>
<!-- Sub Nav for Awards -->
<ul class="tabs">
<li><a href="<?php echo site_url('awards/dxcc'); ?>">DXCC</a></li>
<li class="active"><a href="<?php echo site_url('awards/wab'); ?>">WAB</a></li>
<li><a href="<?php echo site_url('awards/sota'); ?>">SOTA</a></li>
<li><a href="<?php echo site_url('awards/wacral'); ?>">WACRAL</a></li>
</ul>
<table width="100%" class="zebra-striped">
<tr>

View File

@ -1,6 +1,15 @@
<div id="container">
<h1><?php echo $page_title; ?></h1>
<!-- Sub Nav for Awards -->
<ul class="tabs">
<li><a href="<?php echo site_url('awards/dxcc'); ?>">DXCC</a></li>
<li><a href="<?php echo site_url('awards/wab'); ?>">WAB</a></li>
<li><a href="<?php echo site_url('awards/sota'); ?>">SOTA</a></li>
<li class="active"><a href="<?php echo site_url('awards/wacral'); ?>">WACRAL</a></li>
</ul>
<?php if ($wacral_all->num_rows() > 0) { ?>
<table width="100%" class="zebra-striped">

View File

@ -57,6 +57,14 @@
<li><a href="<?php echo site_url('dxcluster');?>" title="DX Cluster">Cluster</a></li>
<?php if(($this->config->item('use_auth') && $this->session->userdata('user_type') >= 99) || $this->config->item('use_auth') === FALSE) { ?>
<li class="dropdown" data-dropdown="dropdown" >
<a href="#" class="dropdown-toggle">Tools</a>
<ul class="dropdown-menu">
<li><a href="<?php echo site_url('awards');?>" title="">Awards</a></li>
</ul>
</li>
<li class="dropdown" data-dropdown="dropdown" >
<a href="#" class="dropdown-toggle">Admin</a>
<ul class="dropdown-menu">