大家好,我有一个Laravel问题到Css [英] Hi Guys, I Having A Laravel Problem To Css
本文介绍了大家好,我有一个Laravel问题到Css的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我有问题,编辑我的style.css。当我编辑它没有任何改变,但我的第一个设置被应用。我在这里使用刀片我的代码。
这是我的main.blade .php
Hi guys, im having a problem, editing my style.css. When im editing it nothing changed, but my first setting are applied. im using blade here my codes.
This is my main.blade .php
<!DOCTYPE html>
<html>
<head>
<title>Aunthetication system</title>
{{ HTML::style('css/bootstrap.min.css') }}
{{ HTML::style('css/style.css') }}
</head>
<body>
<div id="container">
@if(Session::has('global'))
<p>{{ Session::get('global') }}</p>
@endif
<div id="header">
@include('layouts.navigation')
<!--LOGO AND MENU -->
<div class="container">
<div class="col-md-4">{{ HTML::image('images/logo.png') }}</div>
<div class="col-md-8 menu-navi">
<ul class="nav navbar-nav navbar-right menusep-navi">
<li><a href="{{ URL::route('home') }}">HOME</a><small class="navdes">Back to home</small></li>
<li><a href="#">PRODUCTS</a><small class="navdes">What we have for you</small></li>
<li><a href="#">SERVICES</a><small class="navdes">Things we do</small></li>
<li><a href="#">BLOG</a><small class="navdes">Follow our updates</small></li>
<li><a href="#">CONTACT</a><small class="navdes">Ways to reach us</small></li>
</ul>
</div>
</div>
</div>
<div id="body">
@yield('content')
</div>
<div id="footer">
<!-- FOOTER -->
<footer class="site-footer">
<div class="container">
<div class="bottom-footer">
<div class="col-md-5">Site Powered by Wordpress.</div>
<div class="col-md-7 footer-copyright">
<p>Copyright 2010. Studio VIVROCKS. All Right Reserved.</p>
</div>
<div class="col-md-12">
<ul class="footer-nav">
<li><a href="index.com">Home</a></li>
<li><a href="index.com">About</a></li>
<li><a href="index.com">Products</a></li>
<li><a href="index.com">Services</a></li>
<li><a href="index.com">Contact</a></li>
</ul>
</div>
<div class="col-md-12"><p>Privacy Policy | Terms of use</p></div>
</div>
</div>
</footer>
</div>
</div>
</body>
</html>
和我的create.blade.php
and my create.blade.php
@extends('layouts.main')
@section('content')
<div class="container" style="padding-removed40px;">
<form action="{{ URL::route('account-create-post')}}" method="post">
<div class="fields"> <!--check if email has exists then show email else not put nothing -->
Email: <input type="text" style="margin-left:85px;" name="email"{{ (Input::old('email')) ? ' value="' . e(Input::old('email')) .'"' : '' }}>
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif
</div>
<br>
<div class="fields">
Username: <input type="text" style="margin-left:55px;" name="username" {{ (Input::old('username')) ? ' value="' . e(Input::old('username')) .'"' : '' }}>
@if($errors->has('username'))
{{ $errors->first('username') }}
@endif
</div>
<br>
<div class="fields" >
Password: <input type="password" name="password" style="margin-left:60px;">
@if($errors->has('password'))
{{ $errors->first('password') }}
@endif
</div>
<br>
<div class="fields">
Password again: <input type="password" name="password_again" style="margin-left:20px;">
@if($errors->has('password_again'))
{{ $errors->first('password_again') }}
@endif
</div>
<br>
<input type="submit" value="Create account" style="margin-left:185px;">
{{ Form::token()}}
</form>
</div>
@stop
我用来编辑style.css上的设置但是当我编辑时没有任何改变。我不知道这个问题是什么。但当我删除cookie并缓存它时。
im used to edit my settings on style.css but when i edit that nothing has changed. i dont know whats the problem. But when i delete the cookies and cache it applied.
推荐答案
errors-> has('email'))
{{
errors->has('email')) {{
errors-> first('email')}}
@endif
< / div>
< br>
< div class =fields>
用户名:< input type =textstyle =margin-left:55px; name =username{{(输入::旧('用户名'))? 'value ='。e(输入::旧('用户名'))。''':''}}>
@if(
errors->first('email') }} @endif </div> <br> <div class="fields"> Username: <input type="text" style="margin-left:55px;" name="username" {{ (Input::old('username')) ? ' value="' . e(Input::old('username')) .'"' : '' }}> @if(
errors-> has('username'))
{{
errors->has('username')) {{
这篇关于大家好,我有一个Laravel问题到Css的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文