Fixed login form on the header

pull/106/merge
Peter Goodhall 2011-11-06 23:18:58 +00:00
rodzic 01163e95e8
commit e88c0c7d88
2 zmienionych plików z 12 dodań i 41 usunięć

Wyświetl plik

@ -83,7 +83,7 @@
<?php if(($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?>
<p class="pull-right">Logged in as <a href="#"><?php echo $this->session->userdata('user_callsign'); ?></a></p>
<?php } else { ?>
<form action="<?php echo site_url('user/login'); ?>" class="pull-right">
<form method="post" action="<?php echo site_url('user/login'); ?>" class="pull-right">
<input class="input-small" type="text" name="user_name" placeholder="Username">
<input class="input-small" type="password" name="user_password" placeholder="Password">
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />

Wyświetl plik

@ -1,45 +1,16 @@
#container {
padding-top: 50px;
width: 940px;
margin: 0 auto;
}
#container { padding-top: 50px; width: 940px; margin: 0 auto; }
#footer { width: 940px; margin: 0 auto; text-align: right; }
table .titles {
font-weight: bold;
color: #439BF6;
}
table .titles { font-weight: bold; color: #439BF6; }
.markItUp {
width: 580px !important;
.markItUp { width: 580px !important; }
.markItUpEditor { width: 520px !important; }
}
.markItUpEditor {
width: 520px !important;
}
.rst {
width: 50px !important;
}
.input_date {
width: 70px !important;
}
.input_time {
width: 55px !important;
}
.band {
width: 60px;
}
.mode {
width: 60px;
}
#callsign {
text-transform: uppercase;
}
/* Add QSO CSS */
.rst { width: 50px !important; }
.input_date { width: 70px !important; }
.input_time { width: 55px !important; }
.band { width: 60px; }
.mode { width: 60px; }
#callsign { text-transform: uppercase; }