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
import {Component} from 'angular2/core'; | |
@Component({ | |
selector: 'my-app', | |
template: ` | |
<h1 (click)="onSelect()" [class.clicked]="showDetail == true">{{ contact.firstName }} {{ contact.lastName}}</h1> | |
<input [(ngModel)]="contact.firstName" type="text" > | |
<div *ngIf="showDetail == true"> | |
Phone : {{ contact.phone}} <br> | |
Email : {{contact.email}} |
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
import {Component} from 'angular2/core'; | |
@Component({ | |
selector: 'my-app', | |
template: ` | |
<ul> | |
<li *ngFor="#contact of contacts" | |
(click)="onSelect(contact)" | |
> |
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
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer |
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
sudo apt-get install oracle-java8-set-default |
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
$this->get('login', 'Auth\AuthController@showLoginForm'); | |
$this->post('login', 'Auth\AuthController@login'); | |
$this->get('logout', 'Auth\AuthController@logout'); | |
$this->get('register', 'Auth\AuthController@showRegistrationForm'); | |
$this->post('register', 'Auth\AuthController@register'); | |
$this->get('password/reset/{token?}', 'Auth\PasswordController@showResetForm'); | |
$this->post('password/email', 'Auth\PasswordController@sendResetLinkEmail'); |
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> | |
<head> | |
<title>Belajar Membuat Table</title> | |
</head> | |
<body> | |
<h1>Belajar Membuat Table pada HTML</h1> | |
<table border=1> | |
<tr> | |
<td>Baris I Kolom I</td> |
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> | |
<head> | |
<title>Membuat Form</title> | |
</head> | |
<body> | |
<h2>Membuat Form</h2> | |
<form> | |
<fieldset> |
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> | |
<head> | |
<title>Belajar Bootstrap</title> | |
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> | |
<script type="text/javascript" src="js/bootstrap.min.js"></script> | |
</head> | |
<body> | |
<div class="container"> | |
<br/> |
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> | |
<head> | |
<title>Membuat Table Bootstrap</title> | |
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> | |
<script type="text/javascript" src="js/bootstrap.min.js"></script> | |
</head> | |
<body> | |
<div class="container"> | |
<h3>Contoh Membuat table menggunakan Bootstrap</h3> |
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> | |
<head> | |
<title>Belajar Membuat Form Bootstrap</title> | |
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> | |
<script type="text/javascript" src="js/bootstrap.min.js"></script> | |
</head> | |
<body> | |
<div class="container"> | |
<h1 class="text-success text-center">Contoh Form Bootstrap</h1> |