Added lnApp files
This commit is contained in:
93
application/views/lnapp/default.php
Normal file
93
application/views/lnapp/default.php
Normal file
@@ -0,0 +1,93 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<!-- Default Template Layout for lnApp -->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto" lang="auto">
|
||||
<head>
|
||||
<title><?php echo $meta->title; ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $meta->shortcut_icon ? $meta->shortcut_icon : '#'; ?>" type="image/vnd.microsoft.icon" />
|
||||
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Language" content="<?php echo $meta->language; ?>" />
|
||||
<meta name="keywords" content="<?php echo $meta->keywords; ?>" />
|
||||
<meta name="description" content="<?php echo $meta->description; ?>" />
|
||||
<meta name="copyright" content="<?php echo $meta->copywrite; ?>" />
|
||||
<?php echo $meta->styles; ?>
|
||||
<?php echo $meta->scripts; ?>
|
||||
</head>
|
||||
<body>
|
||||
<table class="page">
|
||||
<tr class="pagehead">
|
||||
<td colspan="3">
|
||||
<div id="ajHEAD">
|
||||
<table class="pagehead">
|
||||
<tr>
|
||||
<td class="headlogo">
|
||||
<a href="<?php echo URL::site(); ?>" class="headlogo"><?php echo $logo;?></a>
|
||||
</td>
|
||||
<td class="headtitle"><?php echo $title; ?></td>
|
||||
<td class="headimages"><?php echo $headimages; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="pagecontrol">
|
||||
<td colspan="3">
|
||||
<div id="ajCONTROL">
|
||||
<table class="pagecontrol">
|
||||
<tr>
|
||||
<td class="none"><?php echo $control; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="pagemain">
|
||||
<!-- Left Pane -->
|
||||
<td class="pageleft" <?php echo $left ? '' : 'style="display: none;"'?>>
|
||||
<div id="ajLEFT">
|
||||
<table class="pageleft" width="100%">
|
||||
<tr>
|
||||
<td><?php echo $left; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
<!-- Main Body Pane -->
|
||||
<td class="pagebody">
|
||||
<div id="ajBODY">
|
||||
<?php if ((string)$sysmsg) {?>
|
||||
<table class="sysmsg">
|
||||
<tr>
|
||||
<td><?php echo $sysmsg; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php }?>
|
||||
<table class="content">
|
||||
<tr>
|
||||
<td><?php echo $content; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
<!-- Right Pane -->
|
||||
<td class="pageright" <?php echo trim($right) ? '' : 'style="display: none;"'?>>
|
||||
<div id="ajRIGHT">
|
||||
<table class="pageright" width="100%">
|
||||
<tr>
|
||||
<td><?php echo $right; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="pagefoot">
|
||||
<td colspan="3">
|
||||
<div id="ajFOOT"><?php echo $footer; ?></div>
|
||||
<?php if (Config::sitemode() == Kohana::DEVELOPMENT) { ?>
|
||||
<div id="kohana-profiler" style="display: none;"><?php echo View::factory('profiler/stats'); ?></div>
|
||||
<script type="text/javascript">$("#ajFOOT").click(function() {$('#kohana-profiler').toggle();});</script>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
14
application/views/login.php
Normal file
14
application/views/login.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<br/>
|
||||
<?php echo Form::open(); ?>
|
||||
<table class="login">
|
||||
<tr><td><b>User Name:</b></td></tr>
|
||||
<tr><td><?php echo Form::input('admin_name',null,array('id'=>'login-uid','size'=>40));?></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td><b>Password:</b></td></tr>
|
||||
<tr><td><?php echo Form::password('password',null,array('id'=>'login-pwd','size'=>40));?></td></tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
<tr><td colspan="2" style="text-align: center;"><?php echo Form::submit('submit',_('Authenticate'));?></td></tr>
|
||||
</table>
|
||||
<?php echo Form::close(); ?>
|
||||
<!-- @todo The following focus() is not ajax/jscript friendly -->
|
||||
<script type="text/javascript">document.getElementById('login-uid').focus();</script>
|
Reference in New Issue
Block a user