Alphabets in phone number,Page design change

This commit is contained in:
arindam85
2016-12-01 14:41:53 +05:30
parent f29c98bf50
commit b89b89c85b
13 changed files with 813 additions and 95 deletions

View File

@@ -1,8 +1,19 @@
@extends('themes.default1.layouts.login')
@section('body')
@extends('themes.default1.client.layout.logclient')
<h4 class="login-box-msg">{!! Lang::get('lang.registration') !!}</h4>
@section('home')
class = "active"
@stop
@section('HeadInclude')
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
<link href="{{asset("lb-faveo/css/widgetbox.css")}}" rel="stylesheet" type="text/css" />
<link href="{{asset("lb-faveo/plugins/iCheck/flat/blue.css")}}" rel="stylesheet" type="text/css" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
{{-- <link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css"> --}}
<link href="{{asset("lb-faveo/css/jquerysctipttop.css")}}" rel="stylesheet" type="text/css">
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
@stop
@if(Session::has('status'))
<div class="alert alert-success alert-dismissable">
<i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.success') !!} </b>
@@ -11,6 +22,29 @@
</div>
@endif
<!--
@if (count($errors) > 0)
<div class="alert alert-danger alert-dismissable">
<i class="fa fa-ban"></i>
<b>{!! Lang::get('lang.alert') !!} !</b>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</div>
@endif -->
@section('breadcrumb')
<div class="site-hero clearfix">
<ol class="breadcrumb breadcrumb-custom">
<li class="text">{!! Lang::get('lang.you_are_here') !!}: </li>
<li><a href="{!! URL::route('/') !!}">{!! Lang::get('lang.home') !!}</a></li>
</ol>
</div>
@stop
@section('content')
@if (count($errors) > 0)
<div class="alert alert-danger alert-dismissable">
<i class="fa fa-ban"></i>
@@ -21,25 +55,83 @@
@endforeach
</div>
@endif
<div id="content" class="site-content col-md-12">
<div id="corewidgetbox">
<div class="widgetrow text-center">
@if(Auth::user())
@else
<span onclick="javascript: window.location.href='{{url('auth/login')}}';">
<a href="{{url('auth/login')}}" style="background-image:url({{ URL::asset('lb-faveo/media/images/register.png') }})">
<span class="widgetitemtitle">{!! Lang::get('lang.login') !!}</span>
</a>
</span>
@endif
<?php $system = App\Model\helpdesk\Settings\System::where('id', '=', '1')->first();
?>
@if($system != null)
@if($system->status)
@if($system->status == 1)
<span onclick="javascript: window.location.href='{!! URL::route('form') !!}';">
<a href="{!! URL::route('form') !!}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/submitticket.png') }})">
<span class="widgetitemtitle">{!! Lang::get('lang.submit_a_ticket') !!}</span>
</a>
</span>
@endif
@endif
@endif
<span onclick="javascript: window.location.href='{{url('mytickets')}}';">
<a href="{{url('mytickets')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/news.png') }})">
<span class="widgetitemtitle">{!! Lang::get('lang.my_tickets') !!}</span>
</a>
</span>
<span onclick="javascript: window.location.href='{{url('/knowledgebase')}}';">
<a href="{{url('/knowledgebase')}}" class="widgetrowitem defaultwidget" style="background-image:url({{ URL::asset('lb-faveo/media/images/knowledgebase.png') }})">
<span class="widgetitemtitle">{!! Lang::get('lang.knowledge_base') !!}</span>
</a>
</span>
</div>
</div>
<!-- form open -->
<div class="login-box" style=" width: 500px;" valign = "center">
<div class="form-border">
<div align="center">
<h4 style="background-color: #0084b4;"> <a href="http://www.faveohelpdesk.com" class="logo"><img src="{{ asset('lb-faveo/media/images/logo.png')}}" width="100px;"></a>
</h4>
</div>
<div>
<h3 class="box-title" align="center">{{Lang::get('lang.registration')}}</h3>
</div>
<div>
<placeholder="Lets set up your account in just a couple of steps.">
</div>
<!-- form open -->
{!! Form::open(['action'=>'Auth\AuthController@postRegister', 'method'=>'post']) !!}
<!-- fullname -->
<div class="form-group has-feedback {{ $errors->has('full_name') ? 'has-error' : '' }}">
{!! Form::text('full_name',null,['placeholder'=>Lang::get('lang.full_name'),'class' => 'form-control']) !!}
<span class="glyphicon glyphicon-user form-control-feedback"></span>
{!! Form::text('full_name',null,['placeholder'=>Lang::get('lang.full_name'),'class' => 'form-control']) !!}
<span class="glyphicon glyphicon-user form-control-feedback"></span>
{!! $errors->first('full_name', '<spam class="help-block">:message</spam>') !!}
</div>
<!-- Email -->
@if (($email_mandatory->status == 1 || $email_mandatory->status == '1'))
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
{!! Form::text('email',null,['placeholder'=>Lang::get('lang.email'),'class' => 'form-control']) !!}
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
</div>
@elseif (($settings->status == 0 || $settings->status == '0') && ($email_mandatory->status == 0 || $email_mandatory->status == '0'))
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
{!! Form::text('email',null,['placeholder'=>Lang::get('lang.email'),'class' => 'form-control']) !!}
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
</div>
@else
{!! Form::hidden('email', null) !!}
@@ -49,12 +141,14 @@
<div class="col-md-3">
<div class="form-group {{ $errors->has('code') ? 'has-error' : '' }}">
{!! Form::text('code',null,['placeholder'=>91,'class' => 'form-control']) !!}
{!! $errors->first('code', '<spam class="help-block">:message</spam>') !!}
</div>
</div>
<div class="col-md-9">
<div class="form-group has-feedback {{ $errors->has('mobile') ? 'has-error' : '' }}">
{!! Form::text('mobile',null,['placeholder'=>Lang::get('lang.mobile'),'class' => 'form-control']) !!}
<span class="glyphicon glyphicon-phone form-control-feedback"></span>
{!! $errors->first('mobile', '<spam class="help-block">:message</spam>') !!}
</div>
</div>
</div>
@@ -65,25 +159,37 @@
@endif
<!-- Password -->
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
{!! Form::password('password',['placeholder'=>Lang::get('lang.password'),'class' => 'form-control']) !!}
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
</div>
<!-- Confirm password -->
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
{!! Form::password('password_confirmation',['placeholder'=>Lang::get('lang.retype_password'),'class' => 'form-control']) !!}
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
{!! $errors->first('password_confirmation', '<spam class="help-block">:message</spam>') !!}
</div>
<div class="row">
<div class="col-xs-8">
<div class="checkbox icheck">
<div >
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.register') !!}</button>
</div>
<div>
<div class="checkbox icheck" align="center">
<label>
<a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.login') !!}</a>
Already got an account? <a href="{{url('auth/login')}}" class="text-center">{!! Lang::get('lang.login') !!}</a>
</label>
</div>
</div><!-- /.col -->
<div class="col-xs-4">
<button type="submit" class="btn btn-primary btn-block btn-flat">{!! Lang::get('lang.register') !!}</button>
</div><!-- /.col -->
</div><!-- /.col --> </div>
</div>
{!! Form::close()!!}
@stop
</div>
{!! Form::close()!!}
@stop