Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Shemona Singh authored and Shemona Singh committed Dec 3, 2017
2 parents 6fa68d4 + 8d045ad commit 54bade5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion www/application/config/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
|
| $autoload['libraries'] = array('user_agent' => 'ua');
*/
$autoload['libraries'] = array('database');
$autoload['libraries'] = array();

/*
| -------------------------------------------------------------------
Expand Down
27 changes: 17 additions & 10 deletions www/application/views/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,22 @@
echo validation_errors();
echo form_open('login'); ?>

<h5>Username</h5>
<input type="text" name="username" value="<?php echo set_value('username'); ?>" size="50" />
<?php echo form_error('username'); ?>
<div class="container">
<div class="row">
<div class="col-md-2 col-md-offset-5">
<h1>Twitter</h1>
<img src="../img/twitter.png" alt="Twitter icon.">
<h5>Username</h5>
<input type="text" name="username" value="<?php echo set_value('username'); ?>" size="50" />
<?php echo form_error('username'); ?>

<h5>Password</h5>
<input type="password" name="password" value="<?php echo set_value('password'); ?>" size="50" />
<?php echo form_error('password'); ?>
<h5>Password</h5>
<input type="password" name="password" value="<?php echo set_value('password'); ?>" size="50" />
<?php echo form_error('password'); ?>

<br><br>
<div><input type="submit" value="Submit"/></div>

</form>
<br><br>
<div><input class="btn" type="submit" value="Submit"/></div>
</form>
</div>
</div>
</div>
4 changes: 2 additions & 2 deletions www/application/views/templates/footer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<em>&copy; 2017</em>
<script type="text/javascript" src="assets/js/bootstrap.js"></script>
<script type="text/javascript" src="assets/js/jQuery-1.10.2.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion www/application/views/templates/header.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<title>Twitter</title>
<link rel="stylesheet" href="assets/css/bootstrap.css"/>
<link type="text/css" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>

Expand Down
Binary file added www/img/twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 54bade5

Please sign in to comment.