This file contains hidden or 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
var $a = jQuery.noConflict(); | |
$a(document).ready(function () { | |
$a(".thumbnail.user").click(function () { | |
$a.mydata = $a(this).myAjaxInit(); | |
var type = $a.mydata.type; | |
$a.getJSON($a.mydata.urlJson, function (data) { | |
$a.pagination = $a(data) | |
$a.pagination = $a($a.pagination[0]) | |
$a.data = $a($a.pagination[0].data); | |
var contentPage = $a(".bs-allbookmark"); |
This file contains hidden or 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
<!-- Fonts --> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'> | |
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel='stylesheet' type='text/css'> | |
<!-- Styles --> | |
<link href="{{asset('public/css/app.css')}}" rel="stylesheet" type="text/css"> | |
{{-- | |
<link href="public{{elixir('css/app.css')}}" rel="stylesheet" type="text/css"> | |
Cete method poses a problem when you use the methods resource for the type of route: |
This file contains hidden or 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 | |
namespace App\Http\Controllers; | |
use App\Avatar; | |
use App\Bookmark; | |
use App\User; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use Illuminate\Support\Facades\DB; |
This file contains hidden or 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\Database\Seeder; | |
class BookmarksTableSeeder extends Seeder | |
{ | |
/** | |
* Run the database seeds. | |
* | |
* @return void |
This file contains hidden or 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
elixir(function(mix) { | |
mix.sass('app.scss'); | |
}); | |
/*copy all font */ | |
elixir(function(mix) { | |
mix.copy('node_modules/bootstrap-sass/assets/fonts/bootstrap/*{.eot,.svg,.ttf,.woff,.woff2}', 'public/fonts/bootstrap') | |
.copy('public/fonts/bootstrap/*{.eot,.svg,.ttf,.woff,.woff2}', 'public/fonts') | |
.copy('bower_components/metro-bootstrap/dist/fonts/**/*{.eot,.svg,.ttf,.woff,.woff2}', 'public/fonts/metro-bootstrap') | |
.copy('public/fonts/metro-bootstrap/font-awesome/*{.eot,.svg,.ttf,.woff,.woff2}', 'public/fonts') |
NewerOlder