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
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; |
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
<?php | |
use Illuminate\Console\Command; | |
use Illuminate\Filesystem\Filesystem; | |
class ViewsCommand extends Command { | |
/** | |
* The console command name. | |
* | |
* @var string |
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
<div class="container-fluid"> | |
<h2>{{flash}}</h2> | |
</div> |
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 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> |
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
angular.module('spaApp', ['ngRoute']) | |
.config(['$routeProvider', | |
function($routeProvider) { | |
$routeProvider | |
.when('/home', { | |
templateUrl: 'pages/home.html', | |
controller: 'HomeController' | |
}) | |
.when('/about', { | |
templateUrl: 'pages/about.html', |
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
<div class="jumbotron"> | |
<img src="{{img}}" /> | |
<h1>{{flash}}</h1> | |
</div> |
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
<h2>{{flash}}</h2> |
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
<i class="fa fa-envelope fa-5x" style="color: red;"></i> | |
<h3>{{flash}}</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
<h3>This is detail for contact #{{userId}}</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
<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> |
OlderNewer