You've already forked codeigniter_test2
first commit
This commit is contained in:
73
application/views/tess2/HalamanUtama.php
Normal file
73
application/views/tess2/HalamanUtama.php
Normal file
@ -0,0 +1,73 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title><?php echo $judul; ?></title>
|
||||
<link rel="stylesheet" type="text/css" href="../../css/css2.css">
|
||||
<script>
|
||||
function myFunction(id)
|
||||
{
|
||||
var url="<?php echo base_url();?>";
|
||||
var r=confirm("Do you want to delete this?");
|
||||
if (r==true)
|
||||
{
|
||||
window.location = url+"index.php/barang_controller/delete/"+id;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="header"><a href="v_admin.php"><img src="../../image/Untitled-3.png" /></a>
|
||||
</div>
|
||||
|
||||
<div class="header2">
|
||||
<a href="<?php echo base_url().'index.php/user_controller/logout'; ?>"><button id="bt2">Logout</button></a>
|
||||
</div>
|
||||
|
||||
<div class="sidebar1">
|
||||
<ul class="nav">
|
||||
<li><a href="">Kelola Data Barang</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<div class="barang">
|
||||
<h3>Daftar Barang</h3>
|
||||
<table border="3">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nama Barang</th>
|
||||
<th>Harga</th>
|
||||
<th>Action</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach($daftar_barang as $barang){
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $barang->nama; ?></td>
|
||||
<td><?php echo $barang->harga; ?></td>
|
||||
<td><?php echo '<a href="'.base_url().'index.php/barang_controller/edit/'.$barang->id.'"><button id="bt">Edit</button></a>' ?>
|
||||
<button id="bt" onclick="myFunction(<?php echo $barang->id;?>)">Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
53
application/views/tess2/View_login.php
Normal file
53
application/views/tess2/View_login.php
Normal file
@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Login Form</title>
|
||||
|
||||
<link href="style.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div id="wrapper">
|
||||
|
||||
|
||||
<div class="user-icon"></div>
|
||||
<div class="pass-icon"></div>
|
||||
|
||||
|
||||
|
||||
<form name="loginform" class="form" action="" method="post">
|
||||
|
||||
|
||||
<div class="header">
|
||||
<h1>Login</h1>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<p>Email</p>
|
||||
<input name="email" type="text" class="input" value="email" onfocus="[this.value='']"/> <br /><br />
|
||||
<p>Password</p>
|
||||
<input name="password" type="password" class="input" value="Password" onfocus="[this.value='']" />
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="footer">
|
||||
<input type="submit" name="submit" value="Login" class="button" />
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
237
application/views/tess2/css2.css
Normal file
237
application/views/tess2/css2.css
Normal file
@ -0,0 +1,237 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1;
|
||||
}
|
||||
|
||||
ul, ol, dl {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6, p {
|
||||
margin-top: 0;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #ededed;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
font:"Segoe UI";
|
||||
}
|
||||
|
||||
|
||||
.wrapper {
|
||||
width: 100%;
|
||||
min-height: 596px;
|
||||
background-color: #efefef;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.wrapper .header {
|
||||
background-color: #2f2f2f;
|
||||
min-height:45px;
|
||||
min-width:100%;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.wrapper .header .img{
|
||||
margin-top:12px;
|
||||
margin-left:15px;
|
||||
}
|
||||
|
||||
.wrapper .header .link {
|
||||
float:right;
|
||||
margin-right:23px;
|
||||
margin-top:14px;
|
||||
font-size:13px;
|
||||
color:#d1d1d1;
|
||||
text-decoration:none;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.wrapper .header .link:hover {
|
||||
background-color:#5f5f5f;
|
||||
}
|
||||
.wrapper .header2 {
|
||||
background-color: #dadde1;
|
||||
min-height:15px;
|
||||
min-width:100%;
|
||||
float:left;
|
||||
}
|
||||
|
||||
|
||||
.wrapper .sidebar1 {
|
||||
float: left;
|
||||
width: 200px;
|
||||
min-height:530px;
|
||||
background-color: #dadde1;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
ul.nav {
|
||||
list-style: none;
|
||||
float:left;
|
||||
font-size:12px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
/*ul.nav li {
|
||||
border-top: 1px solid #cecccc;
|
||||
border-bottom: 1px solid #cecccc;
|
||||
}*/
|
||||
ul.nav a, ul.nav a:visited {
|
||||
|
||||
font-weight:bold;
|
||||
color: #D1D1D1;
|
||||
display: block;
|
||||
text-decoration:none;
|
||||
padding:10px 10px 10px 10px;
|
||||
background-color: #eeeeee;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #cccccc));
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: linear-gradient(top, #eeeeee, #cccccc);
|
||||
border: 1px solid #ccc;
|
||||
border-bottom: 1px solid #bbb;
|
||||
border-right: 1px solid #bbb;
|
||||
color: #333;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
text-shadow: 0 1px 0 #eee;
|
||||
transition: all 0.5s;
|
||||
-moz-transition: all 0.5s;
|
||||
-webkit-transition: all 0.5s;
|
||||
-o-transition: all 0.5s;
|
||||
-ms-transition: all 0.5s;
|
||||
}
|
||||
|
||||
ul.nav a:hover, ul.nav a:active, ul.nav a:focus {
|
||||
font-weight:bold;
|
||||
width:215px;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #ffffff;
|
||||
padding: 10px 10px 10px 15px;
|
||||
background: -moz-linear-gradient(
|
||||
top,
|
||||
#439bff 0%,
|
||||
#2b7cff 50%,
|
||||
#2b7cff 50%,
|
||||
#0062ff);
|
||||
background: -webkit-gradient(
|
||||
linear, left top, left bottom,
|
||||
from(#439bff),
|
||||
color-stop(0.50, #2b7cff),
|
||||
color-stop(0.50, #2b7cff),
|
||||
to(#0062ff));
|
||||
border: 1px solid #a3a3a3;
|
||||
-moz-box-shadow:
|
||||
0px 0px 0px rgba(000,000,000,0),
|
||||
inset 0px 0px 0px rgba(255,255,255,0);
|
||||
-webkit-box-shadow:
|
||||
0px 0px 0px rgba(000,000,000,0),
|
||||
inset 0px 0px 0px rgba(255,255,255,0);
|
||||
box-shadow:
|
||||
0px 0px 0px rgba(000,000,000,0),
|
||||
inset 0px 0px 0px rgba(255,255,255,0);
|
||||
text-shadow:
|
||||
0px -1px 0px rgba(000,000,000,0),
|
||||
0px 1px 0px rgba(255,255,255,0);
|
||||
}
|
||||
|
||||
.wrapper .content {
|
||||
background:#efefef;
|
||||
min-width: 85%;
|
||||
min-height:538px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.wrapper .content .border{
|
||||
border-left: 1px solid #cccccc;
|
||||
border-right: 1px solid #cccccc;
|
||||
border-bottom: 1px solid #cccccc;
|
||||
border-radius:3px;
|
||||
width : 90%;
|
||||
min-height : 30%;
|
||||
margin-left: 50px;
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
.wrapper .content .border .bordhead{
|
||||
border: 1px solid #F00;
|
||||
width : 100%;
|
||||
min-height:35px;
|
||||
max-height: 35px;
|
||||
display: block;
|
||||
text-decoration:none;
|
||||
background-color: #eeeeee;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #cccccc));
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
|
||||
background-image: linear-gradient(top, #eeeeee, #cccccc);
|
||||
border: 1px solid #ccc;
|
||||
border-bottom: 1px solid #bbb;
|
||||
border-right: 1px solid #bbb;
|
||||
border-radius:3px;
|
||||
color: #333;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
text-shadow: 0 1px 0 #eee;
|
||||
}
|
||||
|
||||
.wrapper .content .border .bordhead p{
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
color:#333;
|
||||
padding: 9px 10px 10px 10px;
|
||||
}
|
||||
|
||||
.wrapper .content .border th{
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
color:#333;
|
||||
text-align:center;
|
||||
}
|
||||
.wrapper .content .add{
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
font-weight:Bold;
|
||||
color: #333;
|
||||
margin-left:30px;
|
||||
margin-top:20px;
|
||||
border: 1px
|
||||
}
|
||||
|
||||
|
||||
|
||||
.wrapper .content .add .input{
|
||||
width: 188px;
|
||||
padding: 5px 10px;
|
||||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
color: #9d9e9e;
|
||||
background: #ffffff;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.wrapper .footer {
|
||||
padding: 10px 0;
|
||||
background-color: #CCC49F;
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.clearfloat {
|
||||
clear:both;
|
||||
height:0;
|
||||
font-size: 1px;
|
||||
line-height: 0px;
|
||||
}
|
35
application/views/tess2/edit_barang.php
Normal file
35
application/views/tess2/edit_barang.php
Normal file
@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title><?php echo $judul; ?></title>
|
||||
<link href="../../css/edit_barang.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body style="background-color:#CF9">
|
||||
<div style="background-color:#FFF;border-radius:10px 10px 10px 10px;width:40%;height:180px;margin-top:5%;margin-left:30%;position:fixed">
|
||||
|
||||
<?php
|
||||
$att = array('id' => 'biodata-form');
|
||||
echo form_open('barang_controller/simpan_update_barang', $att);
|
||||
echo form_hidden('id',$edit->id);
|
||||
?>
|
||||
<fieldset style="margin:5% 5% 5% 5%">
|
||||
<legend>Update Data Barang</legend>
|
||||
<table>
|
||||
<tr>
|
||||
<td>Nama Barang</td>
|
||||
<td><input type="text" name="nama_barang" value="<?php echo $edit->nama; ?>"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Harga</td>
|
||||
<td><input type="text" name="harga" value="<?php echo $edit->harga; ?>"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input type="submit" value="Simpan" alert("Berhasil");/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
143
application/views/tess2/style.css
Normal file
143
application/views/tess2/style.css
Normal file
@ -0,0 +1,143 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color:#f9f9f9;
|
||||
font-weight:300;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
width: 300px;
|
||||
height: 400px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
margin-left: -150px;
|
||||
margin-top: -200px;
|
||||
}
|
||||
|
||||
.form {
|
||||
width: 300px;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
z-index: 5;
|
||||
background: #eaeaea;
|
||||
box-shadow: 0 3px 3px rgba(0,0,0,0.50);
|
||||
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
|
||||
}
|
||||
|
||||
|
||||
.form .header {
|
||||
padding: 30px 30px 15px 30px;
|
||||
background: #eaeaea;
|
||||
}
|
||||
|
||||
.form .header h1 {
|
||||
font-family: 'Sylfaen';
|
||||
font-weight: 300;
|
||||
font-size: 28px;
|
||||
line-height:34px;
|
||||
color: #7f7f7f;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.form .header span {
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
color: #678889;
|
||||
text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
|
||||
}
|
||||
|
||||
.form .content {
|
||||
padding: 20px 30px 25px 30px;
|
||||
}
|
||||
|
||||
.form .content p {
|
||||
font-size: 16px;
|
||||
font-family: 'Sylfaen';
|
||||
color: #7f7f7f;
|
||||
}
|
||||
|
||||
.form .content .input {
|
||||
width: 188px;
|
||||
padding: 15px 25px;
|
||||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #9d9e9e;
|
||||
background: #ffffff;
|
||||
box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
|
||||
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
|
||||
}
|
||||
|
||||
.form .content .input:hover {
|
||||
background: #ffffff;
|
||||
color: #414848;
|
||||
}
|
||||
|
||||
.form .content .input:focus {
|
||||
background: #fff9d9;
|
||||
color: #414848;
|
||||
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
|
||||
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
|
||||
}
|
||||
|
||||
|
||||
.input {
|
||||
transition: all 0.5s;
|
||||
-moz-transition: all 0.5s;
|
||||
-webkit-transition: all 0.5s;
|
||||
-o-transition: all 0.5s;
|
||||
-ms-transition: all 0.5s;
|
||||
}
|
||||
|
||||
|
||||
.form .footer {
|
||||
padding: 20px 30px 20px 30px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
||||
.form .footer .button {
|
||||
float:right;
|
||||
padding: 8px 15px;
|
||||
font-family: 'Bree Serif', serif;
|
||||
font-weight: 300;
|
||||
font-size: 18px;
|
||||
color: #ffffff;
|
||||
text-shadow: 0px 2px 2px rgba(0,0,0,0.25);
|
||||
background: #438BFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form .footer .button:hover {
|
||||
background: #438BFF;
|
||||
text-shadow: 0px 2px 2px rgba(0,0,0,0.25);
|
||||
box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
|
||||
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.form .footer .button:focus {
|
||||
position: relative;
|
||||
bottom: -1px;
|
||||
color: #5e5e5e;
|
||||
background: #438BFF;
|
||||
box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
|
||||
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
|
||||
transition: all 0.2s;
|
||||
-moz-transition: all 0.2s;
|
||||
-webkit-transition: all 0.2s;
|
||||
-o-transition: all 0.2s;
|
||||
-ms-transition: all 0.2s;
|
||||
}
|
40
application/views/tess2/v_admin.php
Normal file
40
application/views/tess2/v_admin.php
Normal file
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Halaman Admin</title>
|
||||
<link rel="stylesheet" type="text/css" href="css2.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="header"><img src="image/Untitled-2.png"class="img" />
|
||||
<a href="" class="link">logout</a></div>
|
||||
|
||||
<div class="header2">
|
||||
</div>
|
||||
|
||||
<div class="sidebar1">
|
||||
<ul class="nav">
|
||||
<li><a href="">Dashboard</a></li>
|
||||
<li><a href="">Kelola Data Barang</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="border">
|
||||
<div class="bordhead"><p>Data Barang</p></div>
|
||||
<table class="tabel" width=700 >
|
||||
<tr>
|
||||
<th>ID Barang</th>
|
||||
<th>Nama Barang</th>
|
||||
<th>Harga Barang</th>
|
||||
<th colspan="2">Aksi</th>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
48
application/views/tess2/v_adminadd.php
Normal file
48
application/views/tess2/v_adminadd.php
Normal file
@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Halaman Admin</title>
|
||||
<link rel="stylesheet" type="text/css" href="css2.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="header"><img src="image/Untitled-2.png"class="img" />
|
||||
<a href="" class="link">logout</a></div>
|
||||
|
||||
<div class="header2">
|
||||
</div>
|
||||
|
||||
<div class="sidebar1">
|
||||
<ul class="nav">
|
||||
<li><a href="">Dashboard</a></li>
|
||||
<li><a href="">Kelola Data Barang</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="border">
|
||||
<div class="bordhead"><p>Tambah Data</p></div>
|
||||
<table class="add" cellspacing="20">
|
||||
<tr>
|
||||
<td>Nama Barang</td>
|
||||
<td colspan="3"><input type="text" name="nama_barang" value="" class="input"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Harga</td>
|
||||
<td colspan="3"><input type="text" name="harga" value="" class="input"/></td>
|
||||
</tr>
|
||||
<tr><td></td>
|
||||
<td></td>
|
||||
<td><input type="submit" name="submit" value="Simpan"/></td>
|
||||
<td><button type="button" name="Cancel" value="OK">Cancel</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
48
application/views/tess2/v_adminedit.php
Normal file
48
application/views/tess2/v_adminedit.php
Normal file
@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Halaman Admin</title>
|
||||
<link rel="stylesheet" type="text/css" href="css2.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="header"><img src="image/Untitled-2.png"class="img" />
|
||||
<a href="" class="link">logout</a></div>
|
||||
|
||||
<div class="header2">
|
||||
</div>
|
||||
|
||||
<div class="sidebar1">
|
||||
<ul class="nav">
|
||||
<li><a href="">Dashboard</a></li>
|
||||
<li><a href="">Kelola Data Barang</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="border">
|
||||
<div class="bordhead"><p>Edit Data</p></div>
|
||||
<table class="add" cellspacing="20">
|
||||
<tr>
|
||||
<td>Nama Barang</td>
|
||||
<td colspan="3"><input type="text" name="nama_barang" value="" class="input"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Harga</td>
|
||||
<td colspan="3"><input type="text" name="harga" value="" class="input"/></td>
|
||||
</tr>
|
||||
<tr><td></td>
|
||||
<td></td>
|
||||
<td><input type="submit" name="submit" value="Simpan"/></td>
|
||||
<td><button type="button" name="Cancel" value="OK">Cancel</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user