This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- tabel master barang | |
create table items ( | |
id int auto_increment not null, | |
code varchar(50) not null, | |
name varchar(200) not null, | |
primary key (id), | |
constraint ak_items unique key (code) | |
); | |
-- tabel transaksi barang masuk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<style> | |
.hide { | |
opacity: 0; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<style> | |
.hide { | |
display: none; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<style> | |
.hide { | |
visibility: hidden; | |
} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.search-field{position:relative;width:9.3em}.search-field__input{border:0;border-bottom:2px solid #ccc;background:0 0;text-overflow:ellipsis}.search-field__input:focus{outline:0}.search-field__input::-webkit-input-placeholder{color:#e6e6e6}.search-field__input:-ms-input-placeholder{color:#e6e6e6}.search-field__input::placeholder{color:#e6e6e6}.search-field__icon{position:absolute;right:-50px;top:45%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}@media (min-width:0) and (max-width:599px){.search-field{width:90%;font-size:32px}.search-field__icon{right:-30px}}.search-field--large{width:100%}.search-field--large .search-field__input{border-bottom:2px solid #e6e6e6;font-family:Larsseit-Bold,sans-serif;font-weight:400} | |
input, input::-webkit-input-placeholder { | |
font-size: 30px; | |
line-height: 2; | |
font-weight: bold | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
color:red; | |
font-size:80px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="container"> | |
<nuxt-link v-for="coin in coins" :key="coin.id" class="list-data" :to="'/coins/'+coin.id"> | |
{{ coin.name }} | |
</nuxt-link> | |
</div> | |
</template> | |
<script> | |
import axios from 'axios' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<h1> {{ name.toUpperCase() }} </h1> | |
<p> Symbol : {{ coin.symbol }} </p> | |
<p> Rank : {{ coin.rank }} </p> | |
<p> Price USD : {{ coin.price_usd }} </p> | |
</div> | |
</template> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="container"> | |
<ul class="menu"> | |
<li> <nuxt-link to="/"> Home </nuxt-link> </li> | |
</ul> | |
<nuxt/> | |
</div> | |
</template> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: { | |
// Template for index.html | |
index: path.resolve(__dirname, '../docs/index.html'), | |
// Paths | |
assetsRoot: path.resolve(__dirname, '../docs'), | |
assetsSubDirectory: 'static', | |
assetsPublicPath: '', | |
/** |
OlderNewer