mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-30 04:01:05 -05:00
Enable debug=true cookie for full source inclusion in header.php Add template in header.php to inject generated javascript files
59 lines
1.6 KiB
PHP
59 lines
1.6 KiB
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<link rel="stylesheet" rev="stylesheet" href="<?php echo base_url();?>css/login.css" />
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<title>Open Source Point Of Sale <?php echo $this->lang->line('login_login'); ?></title>
|
|
<script src="<?php echo base_url();?>js/jquery-1.8.3.js" type="text/javascript" language="javascript" charset="UTF-8"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function()
|
|
{
|
|
$("#login_form input:first").focus();
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<div align="center" style="margin-top:10px"><img src=<?php echo base_url();?>/images/logo.gif>
|
|
|
|
</div>
|
|
|
|
<div id="login">
|
|
|
|
|
|
|
|
<?php echo form_open('login') ?>
|
|
<div id="container">
|
|
<?php echo validation_errors(); ?>
|
|
|
|
<div id="login_form">
|
|
|
|
|
|
<div class="form_field_label"><?php echo $this->lang->line('login_username'); ?>: </div>
|
|
<div class="form_field">
|
|
<?php echo form_input(array(
|
|
'name'=>'username',
|
|
'size'=>'20')); ?>
|
|
</div>
|
|
|
|
<div class="form_field_label"><?php echo $this->lang->line('login_password'); ?>: </div>
|
|
<div class="form_field">
|
|
<?php echo form_password(array(
|
|
'name'=>'password',
|
|
'size'=>'20')); ?>
|
|
|
|
</div>
|
|
|
|
<div id="submit_button">
|
|
<?php echo form_submit('loginButton','Go'); ?>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<?php echo form_close(); ?><h1>Open Source Point Of Sale <?php echo $this->config->item('application_version'); ?></h1>
|
|
</body>
|
|
</html>
|