Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kelompok LapAn - Tubes 1 WBD #25

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
a24ecf8
INSTALL.md, MEMBER.md, and subdirectories
nashr Oct 10, 2013
6caf938
Update MEMBER.md
Oct 10, 2013
e1d3963
Update MEMBER.md
ryanignatius Oct 13, 2013
f92f646
Skeleton dari RI
nashr Oct 14, 2013
0d82b72
Layouting header
nashr Oct 25, 2013
b4a4cad
pergantian layout dasar
nashr Oct 26, 2013
266968f
penggantian seluruh layout halaman
nashr Oct 26, 2013
4a82d60
penambahan fitur pengisian form registrasi
Oct 26, 2013
4b463d8
Final layout kecuali content sekalian ngerapiin codingan(?)
nashr Oct 26, 2013
06a36e6
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
nashr Oct 26, 2013
e09460f
dump database
Oct 27, 2013
1865301
layout register
nashr Oct 27, 2013
69e06f0
barang
ryanignatius Oct 27, 2013
6a53092
penambahan form registrasi kartu
Oct 27, 2013
6b1c840
mengubah cara validasi input di register.php
Oct 27, 2013
ad5c5ba
penambahan popup pas login
nashr Oct 27, 2013
ae6b7eb
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
nashr Oct 27, 2013
5f4b48d
menambah form profile dan edit profile
Oct 27, 2013
5744ea9
benerin popup
nashr Oct 27, 2013
8374ab7
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
nashr Oct 27, 2013
7cdcdae
fixed category link, add picture merchandise o3o
ryanignatius Oct 27, 2013
eccb6d8
random trace
nashr Oct 27, 2013
4289b2f
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
nashr Oct 27, 2013
5bdf441
Misahin header dan footer
nashr Oct 28, 2013
223dad9
Fitur pengaksesan database oleh registrasi dan profile
Oct 28, 2013
453411c
shopping bag... fix category and merchandise form jumlah
ryanignatius Oct 28, 2013
02c524f
edit credit card values
Oct 29, 2013
7012968
fix registrasi_card
Oct 29, 2013
96f96d8
sudah bisa log in dan log out
nashr Oct 29, 2013
169c0bf
ngilangin conflict
nashr Oct 29, 2013
b9c4c4c
penambahan validasi edit_profile sebelum dan setelah diedit
Oct 29, 2013
148adf1
update database abis membeli barang
ryanignatius Oct 29, 2013
b4236f7
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
ryanignatius Oct 29, 2013
f5c5d3f
bug kecil....
Oct 29, 2013
987bc75
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
ryanignatius Oct 29, 2013
43e1680
penggunaan username dari yang login
Oct 29, 2013
9338a35
perubahan cara logout dan penambahan cookie
nashr Oct 29, 2013
796d392
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
nashr Oct 29, 2013
b06ee11
add search draft.. cek user login di shopping bag, category, merchandise
ryanignatius Oct 29, 2013
dd2691a
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
ryanignatius Oct 29, 2013
a351fd4
validasi username & email dari database
Oct 29, 2013
cd2b551
memulai design home
nashr Oct 29, 2013
39d25c3
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
nashr Oct 29, 2013
b00eb56
paginasi category.php , search.php
ryanignatius Oct 29, 2013
92aba3e
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
ryanignatius Oct 29, 2013
cdaa4c7
penambahan database pada registrasi kartu
Oct 29, 2013
4c6903e
fix hyperlink, add all pictures, minor fix lalala
ryanignatius Oct 29, 2013
2a9b120
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
ryanignatius Oct 29, 2013
06cebe2
update validasi card register
Oct 29, 2013
dbd81f1
hapus inline style ke css, tapi jadi ga jalan.. add total harga ke sh…
ryanignatius Oct 29, 2013
ed5b865
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
ryanignatius Oct 29, 2013
9b99fac
dump database terbaru
Oct 29, 2013
a96f9bd
betulin log in dan log out
nashr Oct 29, 2013
085e967
Merge branch 'master' of https://github.com/nashr/IF3110-Tubes-I
nashr Oct 29, 2013
130c360
HOME seadanya
nashr Oct 29, 2013
20fd345
bug kecil di home...
Oct 29, 2013
03b9a61
bug yang lebih kecil lagi di index...
Oct 29, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Nyalakan XAMPP
Masukkan semua file web nya ke htdocs di XAMPP
Database yang digunakan bernama ruserba
Menjalankan page dari index.php
3 changes: 3 additions & 0 deletions MEMBER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
13511044 Muhammad Nassirudin [email protected] nashr
13511062 Arief Pradana [email protected] kaitokuro
13511070 Ryan Ignatius Hadiwijaya [email protected] ryanignatius
170 changes: 170 additions & 0 deletions db/progin_13511062.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
-- MySQL dump 10.13 Distrib 5.5.27, for Win32 (x86)
--
-- Host: localhost Database: ruserba
-- ------------------------------------------------------
-- Server version 5.5.27

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `cart`
--

DROP TABLE IF EXISTS `cart`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cart` (
`ID` varchar(8) NOT NULL,
`IdName` varchar(50) NOT NULL,
KEY `Customer_membeli` (`ID`),
KEY `dipesan_oleh` (`IdName`),
CONSTRAINT `Customer_membeli` FOREIGN KEY (`ID`) REFERENCES `merchandise` (`ID`),
CONSTRAINT `dipesan_oleh` FOREIGN KEY (`IdName`) REFERENCES `customer` (`IdName`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cart`
--

LOCK TABLES `cart` WRITE;
/*!40000 ALTER TABLE `cart` DISABLE KEYS */;
INSERT INTO `cart` VALUES ('10000001','karakuri'),('50000001','ladadee');
/*!40000 ALTER TABLE `cart` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `credit`
--

DROP TABLE IF EXISTS `credit`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `credit` (
`CardNumber` varchar(20) NOT NULL,
`CardName` varchar(50) NOT NULL,
`ExpiredDate` varchar(50) NOT NULL,
PRIMARY KEY (`CardNumber`),
KEY `index_cardname` (`CardName`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `credit`
--

LOCK TABLES `credit` WRITE;
/*!40000 ALTER TABLE `credit` DISABLE KEYS */;
INSERT INTO `credit` VALUES ('101010101010101','EmpatPuluh MP','2012-12-12'),('202020202020202','Cody Simpson','2013-03-30'),('303030303030303','Krayon Pop','2013-10-01');
/*!40000 ALTER TABLE `credit` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer`
--

DROP TABLE IF EXISTS `customer`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customer` (
`IdName` varchar(50) NOT NULL,
`Password` varchar(50) NOT NULL,
`NamaLengkap` varchar(50) NOT NULL,
`NomorHP` varchar(13) NOT NULL,
`Alamat` varchar(50) NOT NULL,
`Kota` varchar(50) NOT NULL,
`Provinsi` varchar(50) NOT NULL,
`KodePos` varchar(5) NOT NULL,
`Email` varchar(50) NOT NULL,
`Transaksi` int(11) NOT NULL,
PRIMARY KEY (`IdName`),
KEY `index_namalengkap` (`NamaLengkap`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer`
--

LOCK TABLES `customer` WRITE;
/*!40000 ALTER TABLE `customer` DISABLE KEYS */;
INSERT INTO `customer` VALUES ('jumping','heyjumping','Krayon Pop','08176356635','Jl. di Korea','Jumping','KR','75532','[email protected]',10),('karakuri','piieerroott','EmpatPuluh MP','08176339017','Jl. Tubagus Ismail no 1','Bandung','Jawa Barat','12345','[email protected]',0),('ladadee','laladadoo','Cody Simpson','085725706477','Jl. Tidak Tau no x','There\'s','OnlyYou','51243','[email protected]',5);
/*!40000 ALTER TABLE `customer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `have`
--

DROP TABLE IF EXISTS `have`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `have` (
`CardNumber` varchar(20) NOT NULL,
`IdName` varchar(50) NOT NULL,
KEY `Customer_memiliki` (`CardNumber`),
KEY `dimiliki_oleh` (`IdName`),
CONSTRAINT `Customer_memiliki` FOREIGN KEY (`CardNumber`) REFERENCES `credit` (`CardNumber`),
CONSTRAINT `dimiliki_oleh` FOREIGN KEY (`IdName`) REFERENCES `customer` (`IdName`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `have`
--

LOCK TABLES `have` WRITE;
/*!40000 ALTER TABLE `have` DISABLE KEYS */;
INSERT INTO `have` VALUES ('101010101010101','karakuri'),('202020202020202','ladadee'),('303030303030303','jumping');
/*!40000 ALTER TABLE `have` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `merchandise`
--

DROP TABLE IF EXISTS `merchandise`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `merchandise` (
`ID` varchar(8) NOT NULL,
`Nama` varchar(50) NOT NULL,
`Kategori` varchar(50) NOT NULL,
`Banyak` int(11) NOT NULL,
`Keterangan` varchar(500) NOT NULL,
`Harga` int(11) NOT NULL,
`Terjual` int(11) NOT NULL,
PRIMARY KEY (`ID`),
KEY `index_nama` (`Nama`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `merchandise`
--

LOCK TABLES `merchandise` WRITE;
/*!40000 ALTER TABLE `merchandise` DISABLE KEYS */;
INSERT INTO `merchandise` VALUES ('10000001','Citos','Makanan',50,'Makanan Ringan yang sudah ada dari jaman batu',5000,5),('10000002','Taro','Makanan',25,'Makanan Ringan selezat daging',10000,10),('10000003','Pan','Makanan',100,'Roti',1000,20),('10000004','Nasi','Makanan',100,'Nasi Putih',2000,50),('10000005','Ayam','Makanan',50,'Burung melegenda yang tidak dapat terbang',8000,25),('10000006','Ikan','Makanan',50,'Pisces adalah kingdomnya',6000,15),('10000007','Banana','Makanan',20,'Makanan kesukaan para monyet , contohnya Yoyo',15000,100),('10000008','Ulat bakar','Makanan',50,'Enak nikmat bergizi dan membuat vitalitas meninggi',1500,200),('10000009','Escargo','Makanan',60,'Nama bagusnya dari bekicot',9000,5),('10000010','Telur','Makanan',100,'Ketika pecah akan keluar serangga, HIII Seram',100,70),('10000011','Hydra','Makanan',55,'Sayuran yang tidak enak dan tidak sehat tapi bermanfaat dalam hal lain',100000,30),('10000012','TIKUS','Makanan',20,'Tikus yang berkumpul dengan para kecoa',1,1),('20000001','QS T-Shirt','Pakaian',20,'Baju Imba yang terbuat dari perak',100000,5),('20000002','BS T-Shirt','Pakaian',5,'Baju Imba yang dapat ditempa',10000000,8),('20000003','Dress','Pakaian',30,'so frilly',80000,10),('20000004','FIRE','Pakaian',1,'Terbakar jiwa semangat',100,1),('20000005','Si Kertas','Pakaian',100,'Pakaian yang terbuat dari kertas yang ujungnya begitu tajam dan dapat melukai orang lain',100000,4),('20000006','Baju Perang','Pakaian',20,'Baju Zirah yang membuat penggunanya menjadi jahat',0,0),('20000007','Dedaunan','Pakaian',20,'Apapun yang penting jadi pakaian',50000,80),('30000001','Meja Goyang','Furnitur',10,'Meja yang bergoyang - goyang seperti kursi goyang',90000,7),('30000002','Kursi Goyang','Furnitur',10,'Kursi yang bergoyang - goyang',50000,6),('30000003','Lemari Goyang','Furnitur',10,'Lemari yang bergoyang - goyang seperti kursi goyang',500000,5),('30000004','Ranjang Goyang','Furnitur',10,'Ranjang yang bergoyang - goyang seperti kursi goyang',1000000,4),('30000005','Jam Goyang','Furnitur',10,'Jam yang bergoyang - goyang seperti kursi goyang',20000,3),('40000001','Dapurz','Peralatan Dapur',2,'Satu set peralatan dapur, ada ovennya loh',1000000,2),('40000002','Knife','Peralatan Dapur',1,'Sebuah pisau yang didapatkan di dalam mimpi dan dipakai untuk menghilangkan sebuah benda dengan membunuhnya. PS: Yume Nikki',0,1),('40000003','Pan goreng','Peralatan Dapur',30,'Frying Pan',60000,4),('40000004','Rice Cooker','Peralatan Dapur',15,'Alat yang hanya bisa memasak nasi yang di beli di toko Ruserba saja',40000,7),('50000001','Sikat Gigi','Alat Sehari - hari',1,'Alat yang digunakan untuk membersihkan gigi dari kuman yang jahat',7777,10),('50000002','Kodomo','Alat Sehari - hari',10,'Jangan lupa gosok gigi dengan kodomo',15000,5),('50000003','Gillette','Alat Sehari - hari',2,'Pencukur yang sangat canggih, rapih, dan membuat orang senang',23000,10),('50000004','Jepitan','Alat Sehari - hari',100,'Untuk baju yang dijemur agar tidak terbang *whuuush*',10000,3),('50000005','Kertas','Alat Sehari - hari',200,'Selain untuk pakaian, Si Kertas dapat juga dipakai untuk tisu',30000,1000),('50000006','Minyak Kayu Putih','Alat Sehari - hari',5,'Minyak yang dibuat dari kayu berwarna putih',60000,8),('50000007','Selotip','Alat Sehari - hari',5,'Apapun yang dapat merekatkan benda-benda',30000,20),('50000008','Power Plant','Alat Sehari - hari',1,'Sumber Listrik untuk segalanya',50000000,1),('50000009','Shampoo','Alat Sehari - hari',20,'Buih-buih , bubble-bubble, blukutuk-blukutuk',10000,6),('50000010','Gunting Kuku','Alat Sehari - hari',10,'ckris ckris *kebagi 2*',15000,18),('50000011','Buku','Alat Sehari - hari',100,'Buku yang berisi banyak kartu !!',5000,2000);
/*!40000 ALTER TABLE `merchandise` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2013-10-29 18:59:08
147 changes: 147 additions & 0 deletions src/category.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<!-- List of Merchandises In Category -->
<!DOCTYPE html>
<html>
<head>
<script src="js/transaction.js"></script>
<title>
Kategori Barang
</title>
</head>
<body>
<?php
include 'incl/header.php';
?>
<div id="content">
<?php
$arr = array();
$size = 0;

// Menampilkan seluruh kategori barang yang tersedia
function DisplayAllKategori(){
echo "Kategori Barang : <br/>";

$con=mysqli_connect("localhost","root","","ruserba");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

$result = mysqli_query($con,"SELECT DISTINCT Kategori FROM Merchandise");

if (mysql_num_rows($result) > 10){
while($row = mysqli_fetch_array($result))
{
$link = "category.php?kat=".$row['Kategori'];
echo "<a href= $link>" .$row['Kategori'] . "</a>";
echo "<br>";
}
}

mysqli_close($con);
}

function FilterKategori(){
$con=mysqli_connect("localhost","root","","ruserba");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}

if ($GLOBALS['type'] == 0) $GLOBALS['result'] = mysqli_query($con,"SELECT * FROM Merchandise WHERE Kategori='" . $GLOBALS['kat'] . "'");
if ($GLOBALS['type'] == 1) $GLOBALS['result'] = mysqli_query($con,"SELECT * FROM Merchandise WHERE Kategori='" . $GLOBALS['kat'] . "' ORDER BY Nama");
if ($GLOBALS['type'] == 2) $GLOBALS['result'] = mysqli_query($con,"SELECT * FROM Merchandise WHERE Kategori='" . $GLOBALS['kat'] . "' ORDER BY Harga");

mysqli_close($con);
}

function DisplayKategori(){
$GLOBALS['size'] = mysqli_num_rows($GLOBALS['result']);
while ($row = mysqli_fetch_assoc($GLOBALS['result'])) {
$GLOBALS['arr'][] = $row;
}
echo "Page ";
for ($i=1; $i<=($GLOBALS['size']+9)/10; $i++){
$link = "category.php?kat=".$GLOBALS['kat']."&type=".$GLOBALS['type']."&page=".$i;
echo "<a href='".$link."'>" .$i . " </a>";
}
$startidx = ($GLOBALS['page']-1)*10;
for ($j=$startidx; $j<$GLOBALS['size']; $j++){
if ($j >= $startidx+10) break;
$row = $GLOBALS['arr'][$j];
?>
<div id="itemlist">
<img src="res/<?php echo $row['Nama'].".jpg"; ?>" alt=<?php echo $row['Nama']; ?> width=150 height=200>
<br/>
<?php
$link = "merchandise.php?id=".$row['ID'];
echo "<a href='".$link."'>" .$row['Nama'] . "</a>";
echo "<br/><br/>";
$link2 = "category.php?kat=".$row['Kategori']."&id=".$row['Nama'];
?>
<?php
echo "<form name='forminput' action='".$link2."' method='post'>";
?>
<?php
if (isset($_SESSION['usr'])){
?>
Jumlah: <input type="number" name="jumlah">
<input type="submit" value="BUY!">
<?php
}
?>
</form>
<pre><?php echo 'Harga : '.$row['Harga']; ?><br/><br/></pre>
</div>
<?php
}
echo "Page ";
for ($i=1; $i<=($GLOBALS['size']+9)/10; $i++){
$link = "category.php?kat=".$GLOBALS['kat']."&page=".$i;
echo "<a href='".$link."'>" .$i . " </a>";
}
}

function DisplaySort(){
$link = "category.php?kat=".$GLOBALS['kat']."&type=1";
echo "<form name='input' method='post' action='".$link."'>";
echo "<input type='submit' name='button' value='Sort by Nama'>";
echo "</form>";

$link2 = "category.php?kat=".$GLOBALS['kat']."&type=2";
echo "<form name='input' method='post' action='".$link2."'>";
echo "<input type='submit' name='button' value='Sort by Harga'>";
echo "</form>";
echo "<br/>";
}

//DisplayAllKategori();
//print_r($_POST);
if (isset($_GET['kat'])) $GLOBALS['kat'] = $_GET['kat'];
if (isset($_GET['id'])) $GLOBALS['id'] = $_GET['id'];
if (isset($_GET['page'])) $GLOBALS['page'] = $_GET['page'];
else $GLOBALS['page'] = 1;
if (isset($_POST['jumlah'])){
if ($_POST['jumlah'] > 0){
if (isset($_SESSION["$id"])) $_SESSION["$id"] = $_SESSION["$id"] + $_POST['jumlah'];
else $_SESSION["$id"] = $_POST['jumlah'];
echo $_POST['jumlah']." ".$id." dimasukkan ke shopping bag.. <br/>";
} else echo "Jumlah tidak sesuai.. <br/>";
}
echo "Kategori : ".$kat;
if (isset($kat)) {
if (isset($_GET['type'])) $type = $_GET['type'];
else $type = 0;
if (!isset($result)) FilterKategori();
if (isset($result)) DisplaySort();
if (isset($result)) DisplayKategori();
}

?>
</div>
<?php
include 'incl/footer.php';
?>
</body>
</html>
32 changes: 32 additions & 0 deletions src/css/form.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#form_one_row {
clear:both;
margin:16px auto;
width:450px;
}

#label_form {
float:left;
margin-bottom:inherit;
}

.label {
width:150px;
}

.partition {
width:12px;
}

.text_field {
width:256px;
}

.info {
margin-left:162px;
}

#submit {
float:right;
margin-right:28px;
width:100px;
}
Loading