{"action":"created","issue":{"url":"https://api.github.com/repos/xrexonx/Laravel-Materialize/issues/1","labels_url":"https://api.github.com/repos/xrexonx/Laravel-Materialize/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/xrexonx/Laravel-Materialize/issues/1/comments","events_url":"https://api.github.com/repos/xrexonx/Laravel-Materialize/issues/1/events","html_url":"https://github.com/xrexonx/Laravel-Materialize/issues/1","id":112950458,"number":1,"title":"How can i Add or change the CSS?","user":{"login":"masterpowers","id":11954930,"avatar_url":"https://avatars.githubusercontent.com/u/11954930?v=3","gravatar_id":"","url":"https://api.github.com/users/masterpowers","html_url":"https://github.com/masterpowers","followers_url":"https://api.github.com/users/masterpowers/followers","following_url":"https://api.github.com/users/masterpowers/following{/other_user}","gists_url":"https://api.github.com/users/masterpowers/gists{/gist_id}","starred_url":"https://api.github.com/users/masterpowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterpowers/subscriptions","organizations_url":"https://api.github.com/users/masterpowers/orgs","repos_url":"https://api.github.com/users/masterpowers/repos","events_url":"https://api.github.com/users/masterpowers/events{/privacy}","received_events_url":"https://api.github.com/users/masterpowers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-23T04:41:50Z","updated_at":"2015-10-25T11:39:11Z","closed_at":null,"body":"Sorry , please just give me a hitch how can i change for example \r\ni want to add logo with class=brand-logo\r\n```\r\n<a href=\"#\" class=\"brand-logo\">Logo</a>\r\n```\r\n\r\nif i want to add logo \r\nHow will i do it?\r\n\r\nCan you Explain how this works in gulp.js\r\n```\r\nelixir(function (mix) {\r\n    mix.sass('app.scss')\r\n        .copy(bowerDir + 'jquery/dist/jquery.min.js', 'public/js/vendor/jquery.js')\r\n        .copy(materialDir + 'js/materialize.min.js', 'public/js/vendor/materialize.js')\r\n        .copy(materialDir + 'css/materialize.min.css','public/css/materialize.css')\r\n        .stylesIn('public/css')\r\n        .scriptsIn('public/js/vendor');\r\n});\r\n```\r\n\r\nHope you can give a sample for a css and one for a js how will i compile it?\r\n:) thanks"},"comment":{"url":"https://api.github.com/repos/xrexonx/Laravel-Materialize/issues/comments/150913890","html_url":"https://github.com/xrexonx/Laravel-Materialize/issues/1#issuecomment-150913890","issue_url":"https://api.github.com/repos/xrexonx/Laravel-Materialize/issues/1","id":150913890,"user":{"login":"masterpowers","id":11954930,"avatar_url":"https://avatars.githubusercontent.com/u/11954930?v=3","gravatar_id":"","url":"https://api.github.com/users/masterpowers","html_url":"https://github.com/masterpowers","followers_url":"https://api.github.com/users/masterpowers/followers","following_url":"https://api.github.com/users/masterpowers/following{/other_user}","gists_url":"https://api.github.com/users/masterpowers/gists{/gist_id}","starred_url":"https://api.github.com/users/masterpowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterpowers/subscriptions","organizations_url":"https://api.github.com/users/masterpowers/orgs","repos_url":"https://api.github.com/users/masterpowers/repos","events_url":"https://api.github.com/users/masterpowers/events{/privacy}","received_events_url":"https://api.github.com/users/masterpowers/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T11:39:11Z","updated_at":"2015-10-25T11:39:11Z","body":"Hi thanks, \r\nI got few questions since im using your repo\r\nto experiment things out...\r\n\r\nIs materialize already a jquery?\r\ncoz i added jquery.js \r\n\r\nto use jquery validation and ajax form validation...\r\n\r\nIts working but i got some minor difficulty changing\r\n\r\nThe Error being reflected by jquery is messing up materialized...\r\n\r\n>.< been doing this all day...\r\n\r\nHere is my int.js\r\n```\r\n(function($){\r\n  $(function(){\r\n  \t$.ajaxSetup({\r\n\theaders: {\r\n\t'X-CSRF-TOKEN': $('meta[name=\"csrf-token\"]').attr('content')\r\n\t\t\t}\r\n\t});\r\n\r\n    $('.button-collapse').sideNav();\r\n\r\n\r\n    function loader(v){\r\n    \tif(v == 'on'){\r\n    \t\t$('#login_form').css({\r\n    \t\t\topacity : 0.2\r\n    \t\t});\r\n    \t\t$('#xloader').show();\r\n    \t}else{\r\n    \t\t$('#login_form').css({\r\n    \t\t\topacity : 1\r\n    \t\t});\r\n    \t\t$('#xloader').hide();\r\n    \t}\r\n    }\r\n\r\n    function authenticated(url){\r\n    \twindow.location = url;\r\n    }\r\n\r\n    $('#sign_in').on('click', function(e){\r\n        \te.preventDefault();\r\n            var login_form = $('#login_form').serializeArray();\r\n            var url = $('#login_form').attr('action');\r\n            \tloader('on');\r\n            $.post(url, login_form, function(data){\r\n            \tloader('off');\r\n            \t//error\r\n            \tif(data == \"fail\"){\r\n                    \r\n                    $('#xloader').addClass('red').fadeIn(2000, function(){\r\n                        $(this).hide();\r\n                        $(this).removeClass(\"red\");\r\n\r\n                    });\r\n                    Materialize.toast('You Failed to Login', 4000,'',function(){console.log('You Failed to Login')});\r\n                    $.each(login_form, function(i,k){\r\n                        $('#' + k.name).val('');\r\n                    });\r\n\r\n                    //unverified email\r\n                }else if(data == \"notactive\"){\r\n                    \r\n                    $('#xloader').addClass('red').fadeIn(2000, function(){\r\n                        $(this).hide();\r\n                        $(this).removeClass(\"red\");\r\n                    });\r\n                    Materialize.toast('Please Verify Your Email!', 4000,'',function(){console.log('Please Verify Your Email')});\r\n                    //successful login\r\n                }else{\r\n                     $('#xloader').addClass('green').fadeIn(2000, function(){\r\n                        $(this).hide();\r\n                        $(this).removeClass(\"green\");\r\n                    });\r\n                    Materialize.toast('You Have Successfully Login!', 4000,'',function(){console.log('Welcome Back!')});\r\n                    authenticated('profile');\r\n\r\n                }\r\n            \t\r\n            });\r\n        });\r\n    });// end of document ready\r\n\r\n\t\t\r\n\r\n   \r\n})(jQuery); // end of jQuery name space\r\n\r\n\r\n\r\n\t\t\r\n\t\t\r\n```\r\nDont know how to call properly ajax respose sorry i dit a direct return value here\r\n```\r\npublic function authenticate(Request $request)\r\n    {\r\n         $loginRequest = new LoginRequest();\r\n        $validator = Validator::make($request->all(), $loginRequest->rules(), $loginRequest->messages());\r\n        if ($validator->fails()) {\r\n            return \"fail\";\r\n        }\r\n        $email = $request->email;\r\n        $password = $request->password;\r\n        if (Auth::attempt(['email' => $email, 'password' => $password, 'active' => true])) {\r\n            return \"pass\";\r\n                \r\n                \r\n        }\r\n        return \"notactive\";\r\n\r\n    }\r\n```\r\nHere is my login.blade.php\r\n```\r\n\r\n<div class=\"progress\" id=\"xloader\" style=\"display:none\">\r\n      <div class=\"indeterminate amber\" ></div>\r\n</div>\r\n\r\n{!! Form::open([\r\n\t'route'=> 'postLogin', \r\n\t'class' => 'col s12 login-form', \r\n\t'id' => 'login_form']) !!}\r\n\r\n\t <input type=\"hidden\" name=\"_token\" value=\"{{ csrf_token() }}\"/>\r\n\r\n\t <div class=\"row\">\r\n    \t<div class=\"input-field col s12\">\r\n    \t<i class=\"mdi-communication-email prefix\"></i>\r\n\t   \t<input id=\"email\" type=\"email\" class=\"validate text email required\" name=\"email\">\r\n\t\t<label for=\"email\" \">Email Address</label>\r\n\r\n\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"row\">\r\n\t\t<div class=\"input-field col s12\">\r\n\t\t<i class=\"mdi-action-lock-outline prefix\"></i>\r\n\t    <input id=\"password\" type=\"password\" class=\"validate text required\" minlength=\"5\" name=\"password\">\r\n\t\t<label for=\"password\" >Password</label>\r\n\r\n\t</div>\r\n\t</div>\r\n\r\n\t\r\n\r\n\r\n  \t<button class=\"col s6  btn waves-effect waves-light form-submit\" \" type=\"submit\" id=\"sign_in\" name=\"action\">Login <i class=\"material-icons right\">power_settings_new</i></button>\r\n\r\n  \t<a href=\"{{ route('password/email') }}\" class=\"col s6  btn waves-effect waves-light deep-orange darken-4\" type=\"submit\" name=\"action\">Forgot password</a>\r\n\r\n{!! Form::close() !!}\r\n\r\n\r\n```\r\n\r\nHope you can help me out with this thanks\r\n"}}