[Awards] PR #633 This makes Awards into a dropdown with options

Split award menu into dropdown and removed navbar form each award.
pull/636/head
Peter Goodhall 2020-09-30 17:08:23 +01:00 zatwierdzone przez GitHub
commit 01e9c366ac
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
10 zmienionych plików z 20 dodań i 32 usunięć

Wyświetl plik

@ -2,8 +2,6 @@
<h2><?php echo $page_title?></h2>
<?php $this->load->view("awards/nav_bar")?>
<h3>CQ Zones worked:</h3>
<ul class="nav nav-tabs" id="myTab" role="tablist">

Wyświetl plik

@ -2,10 +2,6 @@
<div class="container">
<h2><?php echo $page_title; ?></h2>
<!-- Sub Nav for Awards -->
<?php $this->load->view("awards/nav_bar")?>
<table class="table table-sm table-striped table-hover">
<thead>
<tr>

Wyświetl plik

@ -2,9 +2,6 @@
<div class="container">
<h2><?php echo $page_title; ?></h2>
<!-- Sub Nav for Awards -->
<?php $this->load->view("awards/nav_bar")?>
<form class="form" action="<?php echo site_url('awards/dxcc'); ?>" method="post" enctype="multipart/form-data">
<fieldset>

Wyświetl plik

@ -2,9 +2,6 @@
<div class="container">
<h2><?php echo $page_title; ?></h2>
<!-- Sub Nav for Awards -->
<?php $this->load->view("awards/nav_bar")?>
<form class="form" action="<?php echo site_url('awards/iota'); ?>" method="post" enctype="multipart/form-data">
<fieldset>

Wyświetl plik

@ -2,10 +2,6 @@
<h2><?php echo $page_title; ?></h2>
<!-- Sub Nav for Awards -->
<?php $this->load->view("awards/nav_bar")?>
<table class="table table-sm table-striped table-hover">
<tr>

Wyświetl plik

@ -1,9 +1,6 @@
<div class="container">
<h2><?php echo $page_title; ?></h2>
<!-- Sub Nav for Awards -->
<?php $this->load->view("awards/nav_bar")?>
<table class="table table-sm table-bordered table-hover table-striped table-condensed text-center">
<thead>
<tr>

Wyświetl plik

@ -2,10 +2,6 @@
<h2><?php echo $page_title; ?></h2>
<!-- Sub Nav for Awards -->
<?php $this->load->view("awards/nav_bar")?>
<table class="table table-sm table-striped table-hover">
<tr>

Wyświetl plik

@ -1,10 +1,6 @@
<div id="container">
<h1><?php echo $page_title; ?></h1>
<!-- Sub Nav for Awards -->
<?php $this->load->view("awards/nav_bar")?>
<?php if ($wacral_all->num_rows() > 0) { ?>
<table width="100%" class="zebra-striped">

Wyświetl plik

@ -2,9 +2,6 @@
<div class="container">
<h2><?php echo $page_title; ?></h2>
<!-- Sub Nav for Awards -->
<?php $this->load->view("awards/nav_bar")?>
<form class="form" action="<?php echo site_url('awards/was'); ?>" method="post" enctype="multipart/form-data">
<fieldset>

Wyświetl plik

@ -89,8 +89,26 @@
</div>
</li>
<a class="nav-link" href="<?php echo site_url('awards/dxcc');?>">Awards</a>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Awards</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="<?php echo site_url('awards/dxcc');?>">DXCC</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('awards/vucc');?>">VUCC</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('awards/was');?>">WAS</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('awards/cq');?>">CQ</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('awards/iota');?>">IOTA</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('awards/wab');?>">WAB</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('awards/sota');?>">SOTA</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('awards/dok');?>">DOK</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Admin</a>