Skip to content

Instantly share code, notes, and snippets.

div.example {
display: block;
padding: 10px 20px;
color: black;
background: rgba(255, 255, 255, 0.4);
-webkit-border-radius: 8px;
-khtml-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
margin-bottom: 10px;
<?php
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
class ViewsCommand extends Command {
/**
* The console command name.
*
* @var string
<div class="container-fluid">
<h2>{{flash}}</h2>
</div>
<!DOCTYPE html>
<html ng-app="spaApp">
<head>
<title>Simple SPA</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.css" />
<script src="https://code.angularjs.org/1.2.25/angular.js"></script>
<script src="https://code.angularjs.org/1.2.25/angular-route.js"></script>
angular.module('spaApp', ['ngRoute'])
.config(['$routeProvider',
function($routeProvider) {
$routeProvider
.when('/home', {
templateUrl: 'pages/home.html',
controller: 'HomeController'
})
.when('/about', {
templateUrl: 'pages/about.html',
<div class="jumbotron">
<img src="{{img}}" />
<h1>{{flash}}</h1>
</div>
<h2>{{flash}}</h2>
<i class="fa fa-envelope fa-5x" style="color: red;"></i>
<h3>{{flash}}</h3>
<h3>This is detail for contact #{{userId}}</h3>
@taly2808
taly2808 / contact.html
Created October 23, 2014 02:47
update pages/contact.html with contact list
<i class="fa fa-envelope fa-5x" style="color: red;"></i>
<h3>{{flash}}</h3>
<ul class="list-group">
<li class="list-group-item" ng-repeat="user in users">
<a href="#contact/{{user.id}}">{{user.name}}</a>
</li>
</ul>