Initial Commit
This commit is contained in:
193
resources/views/app.blade.php
Normal file
193
resources/views/app.blade.php
Normal file
@@ -0,0 +1,193 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>CREW Sportswear</title>
|
||||
|
||||
<link href="{{ asset('public/css/app.css') }}" rel="stylesheet">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href='//fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
|
||||
<link href="{{asset('public/assets/css/style.css')}}" rel="stylesheet">
|
||||
<!-- <link href="{{asset('public/assets/login/css/style.css')}}" rel="stylesheet">
|
||||
<link href="{{asset('public/assets/login/css/form-elements.css')}}" rel="stylesheet"> -->
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- <nav class="navbar navbar-default">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle Navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="{{ url('/') }}"><i class="fa fa-angle-double-left"></i> Back</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
@if (Auth::guest())
|
||||
<li><a href="{{ url('/auth/login') }}">Login</a></li>
|
||||
<li><a href="{{ url('/auth/register') }}">Register</a></li>
|
||||
@else
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ Auth::user()->username }} <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="{{ url('user') }}">Dashboard</a></li>
|
||||
<li><a href="{{ url('/auth/logout') }}">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav> -->
|
||||
@include('layout.navbar')
|
||||
@yield('content')
|
||||
<!-- Footer -->
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("#frm-login").validate({
|
||||
rules: {
|
||||
email: {
|
||||
required: true,
|
||||
email: true
|
||||
},
|
||||
password: {
|
||||
required: true
|
||||
//minlength: 6 // <-- removed underscore
|
||||
}
|
||||
},
|
||||
messages: {},
|
||||
errorPlacement: function(error, element) {
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).append(error);
|
||||
}else {
|
||||
error.insertAfter(element);
|
||||
}
|
||||
},
|
||||
submitHandler: submitLoginForm
|
||||
});
|
||||
|
||||
$("#frm-register").validate({
|
||||
rules: {
|
||||
name: {
|
||||
required : true
|
||||
},
|
||||
username: {
|
||||
required : true
|
||||
},
|
||||
email: {
|
||||
required: true,
|
||||
email: true
|
||||
},
|
||||
password: {
|
||||
required: true
|
||||
//minlength: 6 // <-- removed underscore
|
||||
}
|
||||
},
|
||||
messages: {},
|
||||
errorPlacement: function(error, element) {
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).append(error);
|
||||
}else {
|
||||
error.insertAfter(element);
|
||||
}
|
||||
},
|
||||
submitHandler: submitRegisterForm
|
||||
});
|
||||
|
||||
}); // end document ready
|
||||
|
||||
function submitLoginForm (){
|
||||
// method="POST" action="{{ url('/auth/login') }}"
|
||||
var data = $("#frm-login").serialize();
|
||||
// console.log(data)
|
||||
$.ajax({
|
||||
type : 'POST',
|
||||
url : "{{ url('/custom/auth') }}",
|
||||
data : data,
|
||||
dataType : 'json',
|
||||
beforeSend: function() {
|
||||
$("#login-response-msg").fadeOut();
|
||||
$("#btn-login").html('Signing in <i class="fa fa-spinner fa-spin"></i>');
|
||||
},
|
||||
success : function(response){
|
||||
$("#login-response-msg").html("");
|
||||
$("#login-response-msg").fadeIn(1000, function(){
|
||||
|
||||
if(response.success){
|
||||
// $("#login-response-msg").html(response);
|
||||
// console.log();
|
||||
location.reload();
|
||||
}else{
|
||||
$("#login-response-msg").html(response.message);
|
||||
}
|
||||
//
|
||||
|
||||
// console.log(response.success);
|
||||
$("#btn-login").html('<span class="glyphicon glyphicon-log-in"></span> Sign In');
|
||||
});
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}/* login submit */
|
||||
|
||||
function submitRegisterForm (){
|
||||
var data = $("#frm-register").serialize();
|
||||
|
||||
$.ajax({
|
||||
type : 'POST',
|
||||
url : "{{ url('/custom/register') }}",
|
||||
data : data,
|
||||
dataType : 'json',
|
||||
beforeSend: function() {
|
||||
$("#register-response-msg").fadeOut();
|
||||
$("#btn-register").html('Please wait <i class="fa fa-spinner fa-spin"></i>');
|
||||
},
|
||||
success : function(response){
|
||||
$("#register-response-msg").html("");
|
||||
$("#register-response-msg").fadeIn(1000, function(){
|
||||
|
||||
if(response.success){
|
||||
location.reload();
|
||||
}else{
|
||||
$("#register-response-msg").html(response.message);
|
||||
}
|
||||
$("#btn-register").html('Register');
|
||||
});
|
||||
|
||||
// console.log(response);
|
||||
}
|
||||
});
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
121
resources/views/auth.old/login.blade.php
Normal file
121
resources/views/auth.old/login.blade.php
Normal file
@@ -0,0 +1,121 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||||
<meta name="description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear.">
|
||||
<meta name="keywords" content="custom uniforms, footwear, athletic equipment, sporting goods">
|
||||
<meta name="author" content="Frank John Begornia">
|
||||
<meta name="csrf_token" content="{{ csrf_token() }}" />
|
||||
<meta name="company_url" content="CREW Uniform Designer" />
|
||||
|
||||
<meta property="og:url" content="http://uniformnetwork.com/crew/" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content="CREW Uniform Customizer" />
|
||||
<meta property="og:description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear." />
|
||||
<meta property="og:image" content="{{asset('public/images/fb-share-logo.png')}}" />
|
||||
|
||||
<!-- favicons
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{asset('public/favicons/apple-touch-icon.png')}}">
|
||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-32x32.png')}}" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-16x16.png')}}" sizes="16x16">
|
||||
<link rel="manifest" href="{{asset('public/favicons/manifest.json')}}">
|
||||
<link rel="mask-icon" href="{{asset('public/favicons/safari-pinned-tab.svg')}}" color="#5bbad5">
|
||||
<meta name="theme-color" content="#ffffff">-->
|
||||
<!-- end favicons -->
|
||||
<title>CREW Uniform Designer</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="{{asset('public/assets/css/bootstrap.min.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
||||
<link href="{{asset('public/assets/css/ie10-viewport-bug-workaround.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="{{asset('public/assets/css/style.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
|
||||
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
|
||||
<script src="{{asset('public/assets/js/ie-emulation-modes-warning.js')}}"></script>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
|
||||
<![endif]-->
|
||||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Social Media Share button
|
||||
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=599bc5cf6d61950012975405&product=sticky-share-buttons"></script>-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<div class="login-box-body">
|
||||
<div class="login-logo">
|
||||
|
||||
<img src="images/lg-logo.png" height="50px">
|
||||
</div>
|
||||
<form method="post" id="login-form">
|
||||
<div class="form-group has-feedback">
|
||||
<input type="text" class="form-control" name="username" placeholder="User Id" data-error="#errNm1">
|
||||
<span class="glyphicon glyphicon-user form-control-feedback"></span>
|
||||
<span id="errNm1" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group has-feedback">
|
||||
<input type="password" class="form-control" name="password" placeholder="Password" data-error="#errNm2">
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
<span id="errNm2" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-xs-12">
|
||||
<button type="submit" id="btn-login" class="btn btn-primary btn-block btn-flat">Sign In</button>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
</form>
|
||||
<br><br><br><br>
|
||||
<!-- /.social-auth-links -->
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
<footer class="footer-distributed">
|
||||
<div class="container">
|
||||
<div class="footer-right">
|
||||
<p><span id="siteseal"><script async type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=4YeGQJyydUcXfgYPaDjEqhST5vLFxix7Ko8NSASTBziYliwFqt7Ou3trqNtv"></script></span></p>
|
||||
<!-- <a href="#"><i class="fa fa-twitter"></i></a>
|
||||
<a href="#"><i class="fa fa-linkedin"></i></a>
|
||||
<a href="#"><i class="fa fa-github"></i></a> -->
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-left">
|
||||
|
||||
<p class="footer-links">
|
||||
<a href="#">Privacy</a>
|
||||
·
|
||||
<a href="#">Terms of Use</a>
|
||||
·
|
||||
<a href="#">Contact</a>
|
||||
</p>
|
||||
|
||||
<p>CREW © 2017 · Powered by <a href="#">uniformnetwork.com</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- Bootstrap core JavaScript ================================================= !-->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script>window.jQuery || document.write('<script src="{{asset('public/assets/js/vendor/jquery.min.js')}}"><\/script>')</script>
|
||||
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script>
|
||||
<script src="{{asset('public/assets/js/crew-designer.js')}}"></script>
|
||||
</body>
|
||||
</html>
|
||||
51
resources/views/auth/login.blade.php
Normal file
51
resources/views/auth/login.blade.php
Normal file
@@ -0,0 +1,51 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
<style>
|
||||
.error{
|
||||
color: red;
|
||||
}
|
||||
.form-wrapper{
|
||||
margin-top: 20%;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<div class="form-wrapper">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="text-center">L O G I N</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div id="login-response-msg"></div>
|
||||
<form role="form" id="frm-login">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<div class="form-group">
|
||||
<label for="username" class="control-label">Email Address</label>
|
||||
<input type="email" class="form-control" name="email" value="{{ old('email') }}" title="Please enter your email address" placeholder="example@gmail.com">
|
||||
<span class="help-block"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="control-label">Password</label>
|
||||
<input type="password" class="form-control" name="password" placeholder="Password" title="Please enter your password">
|
||||
<span class="help-block"></span>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="remember"> Remember login
|
||||
</label>
|
||||
<p class="help-block">(if this is a private computer)</p>
|
||||
</div>
|
||||
<button type="submit" id="btn-login" class="btn btn-success btn-block"><span class="glyphicon glyphicon-log-in"></span> Sign in</button>
|
||||
<a href="{{ url('/password/email') }}" class="btn btn-link btn-block">Forgot Your Password?</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
55
resources/views/auth/password.blade.php
Normal file
55
resources/views/auth/password.blade.php
Normal file
@@ -0,0 +1,55 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
<style>
|
||||
.error{
|
||||
color: red;
|
||||
}
|
||||
.form-wrapper{
|
||||
margin-top: 20%;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<div class="form-wrapper">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="text-center">R E S E T P A S S W O R D</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
<form role="form" method="POST" action="{{ url('/password/email') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<div class="form-group">
|
||||
<label for="username" class="control-label">Email Address</label>
|
||||
<input type="email" class="form-control" name="email" value="{{ old('email') }}" title="Please enter your email address" placeholder="example@gmail.com">
|
||||
<span class="help-block"></span>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default btn-block">Send Password Reset Link</button>
|
||||
</form>
|
||||
<br><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
70
resources/views/auth/register.blade.php
Normal file
70
resources/views/auth/register.blade.php
Normal file
@@ -0,0 +1,70 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
<style>
|
||||
.error{
|
||||
color: red;
|
||||
}
|
||||
.g-recaptcha {
|
||||
width:100%;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<div class="form-wrapper">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="text-center">R E G I S T E R</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div id="register-response-msg"></div>
|
||||
<form role="form" id="frm-register">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<div class="form-group">
|
||||
<label class="control-label">Fullname</label>
|
||||
<input type="text" class="form-control" name="name" value="{{ old('name') }}" placeholder="Fullname">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label">Username</label>
|
||||
<input type="text" class="form-control" name="username" value="{{ old('username') }}" placeholder="Username">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label">Email Address</label>
|
||||
<input type="email" class="form-control" name="email" value="{{ old('email') }}" placeholder="Email Address">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label">Password</label>
|
||||
<input type="password" class="form-control" name="password" id="password" required placeholder="Password">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label">Confirm Password</label>
|
||||
<input type="password" class="form-control" name="password_confirmation" placeholder="Confirm Password" data-rule-equalTo="#password" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="g-recaptcha text-center" data-sitekey="{{ env('CAPTCHA_SITE_KEY') }}"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<p>By clicking Register, you agree to our <a href="#">Terms of Use</a> and that you have read our <a href="#">Privacy Policy</a>.</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button type="submit" id="btn-register" class="btn btn-primary btn-block">Register</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
62
resources/views/auth/reset.blade.php
Normal file
62
resources/views/auth/reset.blade.php
Normal file
@@ -0,0 +1,62 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<style>
|
||||
.error{
|
||||
color: red;
|
||||
}
|
||||
.form-wrapper{
|
||||
margin-top: 20%;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<div class="form-wrapper">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="text-center">R E S E T P A S S W O R D</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
<form role="form" method="POST" action="{{ url('/password/reset') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label">Email Address</label>
|
||||
<input type="email" class="form-control" name="email" value="{{ old('email') }}" title="Please enter your email address" placeholder="example@gmail.com">
|
||||
<span class="help-block"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label">Password</label>
|
||||
<input type="password" class="form-control" name="password" placeholder="Password">
|
||||
<span class="help-block"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label">Confirm Password</label>
|
||||
<input type="password" class="form-control" name="password_confirmation" placeholder="Confirm Password">
|
||||
<span class="help-block"></span>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default btn-block">Reset Password</button>
|
||||
</form>
|
||||
<br><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
24
resources/views/cliparts/index.blade.php
Normal file
24
resources/views/cliparts/index.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@extends('main_layouts.admin_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Dashboard
|
||||
<small>Control panel</small>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Dashboard</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="text-center" id="homepage-logo">
|
||||
<img src="{{asset('/public/images/logo.png')}}" class="img img-responsive" />
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
71
resources/views/designer/buy_form.blade.php
Normal file
71
resources/views/designer/buy_form.blade.php
Normal file
@@ -0,0 +1,71 @@
|
||||
<style>
|
||||
tbody#orderTableBody>tr>td {
|
||||
padding: 0px !important;
|
||||
}
|
||||
</style>
|
||||
<!-- <div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-info alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h4><i class="icon fa fa-info-circle"></i> Note:</h4>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque blandit libero a metus condimentum commodo. Donec id lorem sit amet turpis ultricies varius ac eu tortor.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<input type="hidden" value="1" id="orderCounterValue" name="orderCounterValue" />
|
||||
<table class="table" id="tableRow" style="font-size:12px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<!-- <th>#</th> -->
|
||||
<th class="col-md-4">Name</th>
|
||||
<th class="col-md-2">Number</th>
|
||||
<th class="col-md-3">Jersey Size</th>
|
||||
<th class="col-md-3">Shorts Size</th>
|
||||
<th class="text-center"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="orderTableBody">
|
||||
<tr class="table-tr-1">
|
||||
<td>
|
||||
<input type="text" name="order_names[]" id="order_names" class="form-control input-sm inputName roster-input" placeholder="Name" required>
|
||||
</td>
|
||||
<td>
|
||||
<!-- <input type="text" name="order_numbers[]" id="order_numbers" class="form-control input-sm inputName" placeholder="Number"> -->
|
||||
<select class="form-control input-sm roster-input" name="order_number[]" id="order_number">
|
||||
<option value="null">none</option>
|
||||
@for($i = 0; $i <= 99; $i++)
|
||||
<option value="{{ $i }}">{{ $i }}</option>
|
||||
@endfor
|
||||
<option value="00">00</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-control input-sm order-size roster-input" name="order_jersey_size[]" id="order_jersey_size_1" data-row-number="1">
|
||||
<option value="none">none</option>
|
||||
@foreach($jersey_sizes as $j_size)
|
||||
<option value="{{ $j_size }}">{{ $j_size }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</td>
|
||||
<td style="border-right: 1px solid #ddd;">
|
||||
<select class="form-control input-sm order-size roster-input" name="order_shorts_size[]" id="order_shorts_size_1" data-row-number="1">
|
||||
<option value="none">none</option>
|
||||
@foreach($shorts_sizes as $s_size)
|
||||
<option value="{{ $s_size }}">{{ $s_size }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</td>
|
||||
<td id="action-column" class="text-center" style="padding: 4px !important; border-top: none">
|
||||
<span class="tr-remove-btn">
|
||||
<button type="button" id="addNewRow" class="btn btn-success btn-sm btn-roster-action" data-toggle="tooltip" title="Add Another"><i class="fa fa-plus" aria-hidden="true"></i></button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
427
resources/views/designer/design_preview.blade.php
Normal file
427
resources/views/designer/design_preview.blade.php
Normal file
@@ -0,0 +1,427 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="csrf_token" content="{{ csrf_token() }}" />
|
||||
<title>Designer</title>
|
||||
|
||||
<!-- Latest compiled and minified CSS -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
|
||||
<!-- ---- Include the above in your HEAD tag -------- -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
|
||||
<link href="{{asset('/public/designer/css/custom-style.css')}}" rel="stylesheet">
|
||||
<link href="{{asset('/public/designer/css/tab-styles.css')}}" rel="stylesheet">
|
||||
<link href="{{asset('/public/designer/css/input-range-style.css')}}" rel="stylesheet">
|
||||
<link href="{{asset('/public/designer/css/spectrum.css')}}" rel="stylesheet">
|
||||
<link href="{{asset('/public/designer/css/one-by-one-slider.css')}}" rel="stylesheet">
|
||||
<link href="{{asset('/public/designer/custom-fonts/custom-fonts.php')}}" rel='stylesheet' type='text/css'>
|
||||
<link href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet">
|
||||
<link href="{{asset('/public/designer/css/build.css')}}" rel="stylesheet">
|
||||
<style>
|
||||
.custom-navbar-brand>img {
|
||||
display: block;
|
||||
height: 36px;
|
||||
margin-top: -9px;
|
||||
}
|
||||
.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-loader, .thumbnail a>img, .thumbnail>img{
|
||||
margin: 0 auto;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-thumb-custom, .thumbnail a>img, .thumbnail>img{
|
||||
margin: 0 auto;
|
||||
height: 232px;
|
||||
}
|
||||
|
||||
.panel-design-details{
|
||||
height: 484px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.error{
|
||||
color : #ff0000;
|
||||
}
|
||||
|
||||
.roster-input{
|
||||
border-radius: 0px;
|
||||
border-right: none;
|
||||
border-top: none;
|
||||
}
|
||||
.table-bordered>thead>tr>td, .table-bordered>thead>tr>th{
|
||||
border-bottom-width: 0px;
|
||||
}
|
||||
.btn-roster-action{
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.btn-group-sm>.btn, .btn-roster-action {
|
||||
padding: 0px 5px;
|
||||
}
|
||||
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
|
||||
vertical-align: unset;
|
||||
}
|
||||
|
||||
.table>thead>tr>th{
|
||||
border-bottom:none;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
@include('layout.navbar')
|
||||
<div class="body-spacer"></div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-7 col-sm-7 col-xs-12">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4>My Design
|
||||
<button class="btn btn-default btn-md pull-right" id="btn-reload-design" title="Reload Design"><i class="fa fa-refresh"></i></button>
|
||||
</h4>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@foreach($templatepaths_arrays as $k => $template)
|
||||
<div class="col-sm-6 col-xs-12" style="overflow: auto; padding: 10px;">
|
||||
<div style=" width:100%; margin:0 auto;">
|
||||
<img id="{{ strtolower($template->Side) }}-image-thumb" src="{{asset('/public/images/loading-please-wait.gif')}}" class="img img-responsive img-loader">
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- {{ Auth::user()->role }} -->
|
||||
<div class="col-md-5 col-sm-5 col-xs-12">
|
||||
<form id="frm-roster">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4>Design Details</h4>
|
||||
</div>
|
||||
<input type="hidden" class="form-control" id="design_code" name="designCode" value="{{ $client_design_array[0]->DesignCode }}">
|
||||
<input type="hidden" class="form-control" id="template_code" name="template_code" value="{{ $client_design_array[0]->TemplateCode }}">
|
||||
<input type="hidden" class="form-control" id="design_name" name="design_name" value="{{ $client_design_array[0]->DesignName }}">
|
||||
<div class="panel-body panel-design-details" id="orderListPanel">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="text-center" style="margin-top: 5em;">
|
||||
|
||||
@if(Auth::user()->role == "store_owner")
|
||||
<div class="form-group">
|
||||
<button type="button" class="btn btn-success btn-lg btn-sell" style="width:150px;"><i class="fa fa-cart-plus"></i> Sell</button>
|
||||
</div>
|
||||
@endif
|
||||
<div class="form-group">
|
||||
<button type="button" class="btn btn-info btn-lg btn-buy" style="width:150px;"><i class="fa fa-list-ol"></i> Add Roster</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel-footer">
|
||||
<div id="dd_footer_button">
|
||||
<a href="{{ url('user/my-designs') }}" type="button" class="btn btn-default pull-right"><i class="fa fa-arrow-left"></i> Go to My Designs</a>
|
||||
</div>
|
||||
<!-- <button type="button" class="btn btn-default pull-right" style="margin-left: 5px;">Cancel</button> -->
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<!-- End Footer -->
|
||||
|
||||
<!-- JQUERY -->
|
||||
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
|
||||
<!-- Latest compiled and minified JavaScript -->
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
<!-- FABRIC JS -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/1.7.15/fabric.min.js"></script>
|
||||
<!-- FABRIC JS CURVE TEXT -->
|
||||
<script src="https://rawgit.com/EffEPi/fabric.curvedText/master/fabric.curvedText.js"></script>
|
||||
<!-- SPECTRUM -->
|
||||
<script src="{{asset('/public/designer/js/spectrum.js')}}"></script>
|
||||
<!-- CUSTOM SCRIPT -->
|
||||
<script src="{{asset('/public/designer/js/custom-script.js')}}"></script>
|
||||
<!-- PRICE FORMAT -->
|
||||
<script src="{{asset('/public/designer/js/jquery.priceformat.min.js')}}"></script>
|
||||
<!-- JQUERY VALIDATE -->
|
||||
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
$(document).ready(function() {
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf_token"]').attr('content')
|
||||
}
|
||||
});
|
||||
|
||||
myCart();
|
||||
|
||||
$('.price_format').priceFormat({
|
||||
prefix: '$ '
|
||||
});
|
||||
|
||||
$(document).on('button click', '#publish_chk', function(){
|
||||
if(!$(this).is(':checked')){
|
||||
// $('#sale_chk').removeAttr("checked");
|
||||
$('#sale_chk').prop('checked', false);
|
||||
$('#item_price').attr("disabled", "disabled");
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('button click', '#sale_chk', function(){
|
||||
|
||||
if($(this).is(':checked')){
|
||||
$('#publish_chk').prop('checked', true);
|
||||
$('#item_price').removeAttr("disabled");
|
||||
$('#itemName').removeAttr("disabled");
|
||||
$('#itemDescription').removeAttr("disabled");
|
||||
}else{
|
||||
// $('#publish_chk').prop('checked', false);
|
||||
$('#item_price').attr("disabled", "disabled");
|
||||
$('#itemName').attr("disabled", "disabled");
|
||||
$('#itemDescription').attr("disabled", "disabled");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
generateThumbnails();
|
||||
// console.log('{{ $client_design_array[0]->DesignCode }}');
|
||||
$('#toTop').click(function() {
|
||||
$('body,html').animate({scrollTop:0},800);
|
||||
});
|
||||
|
||||
$('#custom-navbar-brand').html('<img src="{{asset("/public/images/logo.png")}}">');
|
||||
|
||||
|
||||
$("#frm-design-details").validate({
|
||||
rules: {
|
||||
designName: {
|
||||
required: true
|
||||
},
|
||||
itemName: {
|
||||
required: true
|
||||
},
|
||||
itemDescription: {
|
||||
required: true
|
||||
},
|
||||
storeId: {
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
messages: {},
|
||||
errorPlacement: function(error, element) {
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).append(error);
|
||||
}else {
|
||||
error.insertAfter(element);
|
||||
}
|
||||
},
|
||||
submitHandler: submitDesignDetails
|
||||
}); /* edit account validation */
|
||||
|
||||
$(document).on('button click', '.btn-buy', function(){
|
||||
|
||||
var getTemplateCode = $('#template_code').val();
|
||||
|
||||
$('.panel-design-details').load("{{ url('designer/a/buy-form') }}", { temp_code : getTemplateCode }, function(response, status, xhr){
|
||||
// console.log(response, status, xhr)
|
||||
$('#dd_footer_button').html('<button type="button" class="btn btn-default pull-right" id="btn_cancel_buy" style="margin-left: 5px;">Cancel</button> ' +
|
||||
'<button type="submit" class="btn btn-primary pull-right" id="btn-submit-publish">Add to Cart</button>');
|
||||
$('.inputName').keyup(function() {
|
||||
this.value = this.value.toLocaleUpperCase();
|
||||
});
|
||||
|
||||
$('#frm-roster').attr("action", "{{ url('/designer/a/save-roster') }}");
|
||||
$('#frm-roster').attr("method", "POST");
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
$(document).on('button click', '.btn-sell', function(){
|
||||
|
||||
// var getTemplateCode = $('#template_code').val();
|
||||
alert("adasdas");
|
||||
|
||||
});
|
||||
|
||||
$(document).on('button click', '#btn_cancel_buy', function(){
|
||||
// alert("asda")
|
||||
$('.panel-design-details').html('<div class="row"> ' +
|
||||
'<div class="col-sm-12"> ' +
|
||||
'<div class="text-center" style="margin-top: 5em;"> ' +
|
||||
'<div class="form-group"> ' +
|
||||
'<button type="button" class="btn btn-info btn-lg btn-buy" style="width:150px;"><i class="fa fa-list-ol"></i> Add Roster</button>' +
|
||||
'</div> ' +
|
||||
'</div> ' +
|
||||
'</div> ' +
|
||||
'</div>');
|
||||
$('#dd_footer_button').html('<a href="{{ url('user/my-designs') }}" type="button" class="btn btn-default pull-right"><i class="fa fa-arrow-left"></i> Go to My Designs</a>');
|
||||
});
|
||||
|
||||
$(document).on('button click', '#addNewRow', function(){
|
||||
|
||||
var orderCounterValue = $('#orderCounterValue').val();
|
||||
var numi = document.getElementById('orderCounterValue');
|
||||
var num = (document.getElementById('orderCounterValue').value -1) + 2;
|
||||
numi.value = num;
|
||||
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
|
||||
type: "POST",
|
||||
url: "{{ url('/designer/a/add-new-row') }}",
|
||||
data:{
|
||||
|
||||
itemCount : num,
|
||||
tempCode : "{{ $client_design_array[0]->TemplateCode }}"
|
||||
|
||||
},
|
||||
|
||||
dataType: "html", //expect html to be returned
|
||||
|
||||
success: function(response){
|
||||
var className = "row" + (num - 1);
|
||||
$('.tr-remove-btn').html('<button type="button" class="btn btn-danger btn-sm removeRow btn-roster-action" data-toggle="tooltip" title="Remove"><i class="fa fa-remove" aria-hidden="true"></i></button>');
|
||||
$('#addnew-btn-tbl-row').remove();
|
||||
$('#tableRow tbody').append(response);
|
||||
$('#orderListPanel').scrollTop($('#orderListPanel')[0].scrollHeight);
|
||||
$('.inputName').keyup(function() {
|
||||
this.value = this.value.toLocaleUpperCase();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
$(document).on('button click', '.removeRow', function(){
|
||||
var str = $(this).closest('tr').attr('class');
|
||||
var trCount = $('#tableRow tbody').children('tr').length;
|
||||
|
||||
if(trCount == 2){
|
||||
return false;
|
||||
}
|
||||
|
||||
if(trCount == 3){
|
||||
$('#addnew-btn-tbl-row').remove();
|
||||
$('.tr-remove-btn').html('<button type="button" id="addNewRow" class="btn btn-success btn-sm btn-roster-action" data-toggle="tooltip" title="Add Another"><i class="fa fa-plus" aria-hidden="true"></i></button>');
|
||||
}
|
||||
$('.'+str).remove();
|
||||
});
|
||||
|
||||
$(document).on('select change', '.order-size', function(){
|
||||
var row_number = $(this).data('row-number');
|
||||
|
||||
var jersey_size = "order_jersey_size_" + row_number;
|
||||
var shorts_size = "order_shorts_size_" + row_number;
|
||||
// console.log($(this, 'option').eq(1).val());
|
||||
// if($('#'+jersey_size).val() == "none" && $('#'+shorts_size).val() == "none"){
|
||||
|
||||
// }
|
||||
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
function generateThumbnails(){
|
||||
|
||||
var ip = "{{ config('site_config.prod_private_server_ip') }}";
|
||||
var port = "{{ $array_cat_name[0]->Port }}";
|
||||
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
type: "GET",
|
||||
url: "http://"+ip+":"+port+"/tb/{{ $client_design_array[0]->DesignCode }}",
|
||||
dataType: "jsonp", //expect html to be returned
|
||||
beforeSend: function() {
|
||||
console.log('loading images');
|
||||
},
|
||||
success: function(response){
|
||||
|
||||
var SideAndPath = {!! json_encode($templatepaths_arrays) !!};
|
||||
|
||||
for (var i = 0; i < SideAndPath.length; i++) {
|
||||
var sideName = SideAndPath[i]['Side'];
|
||||
var type = SideAndPath[i]['Type'];
|
||||
|
||||
$('#'+sideName.toLowerCase()+'-image-thumb').attr('src', response['thumb_'+sideName.toLowerCase()]);
|
||||
$('#'+sideName.toLowerCase()+'-image-thumb').removeClass("img-loader");
|
||||
$('#'+sideName.toLowerCase()+'-image-thumb').addClass("img-thumb-custom");
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function submitDesignDetails(){
|
||||
var data = $("#frm-design-details").serialize();
|
||||
|
||||
$.ajax({
|
||||
type : 'POST',
|
||||
url : "{{ url('/designer/a/save-design-details') }}",
|
||||
data : data,
|
||||
beforeSend:function(xhr){
|
||||
var token = $('meta[name="csrf_token"]').attr('content');
|
||||
|
||||
if (token) {
|
||||
return xhr.setRequestHeader('X-CSRF-TOKEN', token);
|
||||
}
|
||||
xhr.setRequestHeader( 'X-Requested-With', 'XMLHttpRequest');
|
||||
|
||||
// $("#edit-account-msg").fadeOut();
|
||||
// $("#btn-update-account").html('Saving <span class="glyphicon glyphicon-transfer"></span>');
|
||||
},
|
||||
success : function(response){
|
||||
|
||||
if(response){
|
||||
alert("Successfully saved.");
|
||||
location.reload();
|
||||
}else{
|
||||
alert("Something went wrong. Please try again.");
|
||||
location.reload();
|
||||
}
|
||||
// console.log(response);
|
||||
// alert("Item is successfully added");
|
||||
// $("#edit-account-msg").html("");
|
||||
// $("#edit-account-msg").fadeIn(1000, function(){
|
||||
// $("#edit-account-msg").html(response);
|
||||
// $("#btn-update-account").html('Save Changes');
|
||||
// });
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
function myCart(){
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
|
||||
type: "GET",
|
||||
url: "{{url('cartcount')}}",
|
||||
dataType: "html",
|
||||
success: function(response){
|
||||
$("#my-cart-count").html(response);
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
3902
resources/views/designer/designer.blade.php
Normal file
3902
resources/views/designer/designer.blade.php
Normal file
File diff suppressed because it is too large
Load Diff
4147
resources/views/designer/designer_edit.blade.php
Normal file
4147
resources/views/designer/designer_edit.blade.php
Normal file
File diff suppressed because it is too large
Load Diff
50
resources/views/designer/palette.json
Normal file
50
resources/views/designer/palette.json
Normal file
@@ -0,0 +1,50 @@
|
||||
[
|
||||
[
|
||||
"rgb(0, 0, 0)",
|
||||
"rgb(67, 67, 67)",
|
||||
"rgb(102, 102, 102)",
|
||||
"rgb(204, 204, 204)",
|
||||
"rgb(217, 217, 217)",
|
||||
"rgb(255, 255, 255)"
|
||||
],
|
||||
[
|
||||
"rgb(152, 0, 0)",
|
||||
"rgb(255, 0, 0)",
|
||||
"rgb(255, 153, 0)",
|
||||
"rgb(255, 255, 0)",
|
||||
"rgb(0, 255, 0)",
|
||||
"rgb(0, 255, 255)"
|
||||
],
|
||||
[
|
||||
"rgb(74, 134, 232)",
|
||||
"rgb(0, 0, 255)",
|
||||
"rgb(153, 0, 255)",
|
||||
"rgb(255, 0, 255)",
|
||||
"rgb(230, 184, 175)",
|
||||
"rgb(244, 204, 204)"
|
||||
],
|
||||
[
|
||||
"rgb(252, 229, 205)",
|
||||
"rgb(255, 242, 204)",
|
||||
"rgb(217, 234, 211)",
|
||||
"rgb(208, 224, 227)",
|
||||
"rgb(201, 218, 248)",
|
||||
"rgb(207, 226, 243)"
|
||||
],
|
||||
[
|
||||
"rgb(217, 210, 233)",
|
||||
"rgb(234, 209, 220)",
|
||||
"rgb(221, 126, 107)",
|
||||
"rgb(234, 153, 153)",
|
||||
"rgb(249, 203, 156)",
|
||||
"rgb(255, 229, 153)"
|
||||
],
|
||||
[
|
||||
"rgb(182, 215, 168)",
|
||||
"rgb(162, 196, 201)",
|
||||
"rgb(164, 194, 244)",
|
||||
"rgb(159, 197, 232)",
|
||||
"rgb(180, 167, 214)",
|
||||
"rgb(213, 166, 189)"
|
||||
]
|
||||
]
|
||||
0
resources/views/designer/sell_form.blade.php
Normal file
0
resources/views/designer/sell_form.blade.php
Normal file
87
resources/views/designer/text_properties.blade.php
Normal file
87
resources/views/designer/text_properties.blade.php
Normal file
@@ -0,0 +1,87 @@
|
||||
<div class="row">
|
||||
<div class="form-group col-md-9 col-sm-9 col-xs-9">
|
||||
|
||||
<label>Fonts</label>
|
||||
<div>
|
||||
<!-- <div class="input-group-btn select" id="select1"> -->
|
||||
<button type="button" id="btn-show-fonts" class="btn btn-default btn-block btn-show-fonts" >Fonts</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-md-3 col-sm-3 col-xs-3">
|
||||
<label>Size (IN)</label>
|
||||
<input type="text" class="form-control text-font-size">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4 col-sm-4 col-xs-4" style="'padding:0px;">
|
||||
<label>Font Color</label><br>
|
||||
<input type="text" class="fontColor form-control input-sm" />
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-5 col-sm-4 col-xs-4" style="'padding:0px;">
|
||||
<label>Outline Color</label><br>
|
||||
<input type="text" class="strokeColor" />
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-3 col-sm-3 col-xs-3" style="'padding:0px;">
|
||||
<label>Thickness</label>
|
||||
<select class="form-control input-sm outlineThickness" data-outline="strokeColor">
|
||||
@define $i
|
||||
@for($i=0 ; $i <= 10 ; $i++)
|
||||
<option value="{{ $i }}">{{ $i }}</option>';
|
||||
@endfor
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-3 col-sm-3 col-xs-3">
|
||||
<label>Spacing</label>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-sm-6 col-xs-6">
|
||||
|
||||
<input type="range" class="form-control input-sm spacingTextSlider" value="0" min="-100" max="100" />
|
||||
</div>
|
||||
<div class="form-group col-md-3 col-sm-3 col-xs-3">
|
||||
<input type="text" style="margin-top:5px;" class="form-control input-sm text-center spacingTextValue" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-3 col-sm-3 col-xs-3">
|
||||
<label>Rotate</label>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-sm-6 col-xs-6">
|
||||
|
||||
<input type="range" class="form-control input-sm rotateTextSlider" value="0" min="-180" max="180" />
|
||||
</div>
|
||||
<div class="form-group col-md-3 col-sm-3 col-xs-3">
|
||||
<input type="text" style="margin-top:5px;" class="form-control input-sm text-center rotateTextValue" />
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12 col-sm-12 col-xs-12">
|
||||
<button class="btn btn-md btn-default btn-block" id="teamname_text_shape">Add text Shape</button>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-6 col-sm-6 col-xs-6">
|
||||
<label>Layer Order</label><br>
|
||||
<button class="btn btn-sm btn-default sendSelectedObjectToFront" title="Bring Forward"></button>
|
||||
<button class="btn btn-sm btn-default sendSelectedObjectBack" title="Send Backward"></button>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-sm-6 col-xs-6">
|
||||
<label>Position</label><br>
|
||||
<!-- <button class="btn btn-sm btn-default " style="margin:2px;" onclick="teamNameStandardPos();">Standard Position</button>
|
||||
<button class="btn btn-sm btn-default" style="margin:2px;" onclick="centerVer();"> <img src="images/align-v1.png" height="16px;" /> Center <br>Vertical</button>
|
||||
<button class="btn btn-sm btn-default" style="margin:2px;" onclick="centerHor();" > <img src="images/align-h1.png" height="16px;" /> Center <br>Horizontal</button> -->
|
||||
<button class="btn btn-sm btn-default btn-send-middle" title="Standart Position" onclick="teamNameStandardPos();"></button>
|
||||
<button class="btn btn-sm btn-default center-vertical" title="Center Vertical" onclick="centerVer();"></button>
|
||||
<button class="btn btn-sm btn-default center-horizontal" title="Center Horizontal" onclick="centerHor();" ></button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
1
resources/views/emails/password.blade.php
Normal file
1
resources/views/emails/password.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
Click here to reset your password: {{ url('password/reset/'.$token) }}
|
||||
20
resources/views/emails/resend_code.blade.php
Normal file
20
resources/views/emails/resend_code.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Email Verification</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Verify Your Email Address</h1>
|
||||
|
||||
<p>Thanks for creating an account with.</p>
|
||||
|
||||
<p>Use this verification code to verify your email address. </p>
|
||||
|
||||
<p>Verification Code: <b><?php echo $verification_code; ?></b> </p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
41
resources/views/errors/503.blade.php
Normal file
41
resources/views/errors/503.blade.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<html>
|
||||
<head>
|
||||
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
|
||||
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #B0BEC5;
|
||||
display: table;
|
||||
font-weight: 100;
|
||||
font-family: 'Lato';
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: center;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 72px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="title">Be right back.</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
17
resources/views/home.blade.php
Normal file
17
resources/views/home.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Home</div>
|
||||
|
||||
<div class="panel-body">
|
||||
You are logged in!
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
23
resources/views/layout/footer.blade.php
Normal file
23
resources/views/layout/footer.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<footer class="footer-distributed">
|
||||
<div class="container">
|
||||
<div class="footer-right">
|
||||
<!-- <p><span id="siteseal"><script async type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=4YeGQJyydUcXfgYPaDjEqhST5vLFxix7Ko8NSASTBziYliwFqt7Ou3trqNtv"></script></span></p> -->
|
||||
<!-- <a href="#"><i class="fa fa-twitter"></i></a>
|
||||
<a href="#"><i class="fa fa-linkedin"></i></a>
|
||||
<a href="#"><i class="fa fa-github"></i></a> -->
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-left">
|
||||
|
||||
<p class="footer-links">
|
||||
<a href="#">Privacy</a>
|
||||
·
|
||||
<a href="#">Terms of Use</a>
|
||||
·
|
||||
<a href="#">Contact</a>
|
||||
</p>
|
||||
<p>CREW © <?php echo date('Y') ?> · Powered by <a href="http://crewsportswear.com">crewsportswear.com</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
141
resources/views/layout/main.blade.php
Normal file
141
resources/views/layout/main.blade.php
Normal file
@@ -0,0 +1,141 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||||
<meta name="description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear.">
|
||||
<meta name="keywords" content="custom uniforms, footwear, athletic equipment, sporting goods">
|
||||
<meta name="author" content="Frank John Begornia">
|
||||
<meta name="csrf_token" content="{{ csrf_token() }}" />
|
||||
<meta name="company_url" content="CREW Uniform Designer" />
|
||||
|
||||
<meta property="og:url" content="http://uniformnetwork.com/crew/" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content="CREW Uniform Customizer" />
|
||||
<meta property="og:description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear." />
|
||||
<meta property="og:image" content="{{asset('public/images/fb-share-logo.png')}}" />
|
||||
|
||||
<!-- favicons
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{asset('public/favicons/apple-touch-icon.png')}}">
|
||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-32x32.png')}}" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-16x16.png')}}" sizes="16x16">
|
||||
<link rel="manifest" href="{{asset('public/favicons/manifest.json')}}">
|
||||
<link rel="mask-icon" href="{{asset('public/favicons/safari-pinned-tab.svg')}}" color="#5bbad5">
|
||||
<meta name="theme-color" content="#ffffff">-->
|
||||
<!-- end favicons -->
|
||||
<title>CREW Uniform Designer</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="{{asset('public/assets/css/bootstrap.min.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
||||
<link href="{{asset('public/assets/css/ie10-viewport-bug-workaround.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="{{asset('public/assets/css/style.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
|
||||
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
|
||||
<script src="{{asset('public/assets/js/ie-emulation-modes-warning.js')}}"></script>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
|
||||
|
||||
<![endif]-->
|
||||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Social Media Share button
|
||||
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=599bc5cf6d61950012975405&product=sticky-share-buttons"></script>-->
|
||||
|
||||
<style>
|
||||
.sports-title{
|
||||
margin-top: 5px;
|
||||
}
|
||||
.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img{
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@include('layout.navbar')
|
||||
<div class="container">
|
||||
|
||||
<!-- Example row of columns -->
|
||||
@yield('content')
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Bootstrap core JavaScript ================================================= !-->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script src="{{asset('public/assets/js/bootstrap.min.js')}}"></script>
|
||||
<!-- <script>window.jQuery || document.write('<script src="{{asset('public/assets/js/vendor/jquery.min.js')}}"><\/script>')</script> -->
|
||||
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script>
|
||||
<!-- <script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script> -->
|
||||
<script src="{{asset('public/assets/js/crew-designer.js')}}"></script>
|
||||
<script>
|
||||
$(function(){
|
||||
myCart();
|
||||
$(".hide-row").hide();
|
||||
$(window).scroll(function() {
|
||||
$('.order-summary').css('top', $(this).scrollTop());
|
||||
});
|
||||
|
||||
$('.modal').on('show.bs.modal', function() {
|
||||
$(this).show();
|
||||
console.log("assda")
|
||||
setModalMaxHeight(this);
|
||||
});
|
||||
|
||||
$(window).resize(function() {
|
||||
if ($('.modal.in').length != 0) {
|
||||
setModalMaxHeight($('.modal.in'));
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('button click', '.c', function() {
|
||||
$(".hide-row").show();
|
||||
});
|
||||
});
|
||||
|
||||
function myCart(){
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
|
||||
type: "GET",
|
||||
url: "{{url('cartcount')}}",
|
||||
dataType: "html",
|
||||
success: function(response){
|
||||
$("#my-cart-count").html(response);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function setModalMaxHeight(element) {
|
||||
this.$element = $(element);
|
||||
this.$content = this.$element.find('.modal-content');
|
||||
var borderWidth = this.$content.outerHeight() - this.$content.innerHeight();
|
||||
var dialogMargin = $(window).width() < 768 ? 20 : 60;
|
||||
var contentHeight = $(window).height() - (dialogMargin + borderWidth);
|
||||
var headerHeight = this.$element.find('.modal-header').outerHeight() || 0;
|
||||
var footerHeight = this.$element.find('.modal-footer').outerHeight() || 0;
|
||||
var maxHeight = contentHeight - (headerHeight + footerHeight);
|
||||
|
||||
this.$content.css({
|
||||
'overflow': 'hidden'
|
||||
});
|
||||
|
||||
this.$element
|
||||
.find('.modal-body').css({
|
||||
'max-height': maxHeight,
|
||||
'overflow-y': 'auto'
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
263
resources/views/layout/navbar.blade.php
Normal file
263
resources/views/layout/navbar.blade.php
Normal file
@@ -0,0 +1,263 @@
|
||||
<nav class="navbar navbar-default navbar-static-top navbar-custom">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="{{ url('/') }}">
|
||||
<img src="{{asset('public/images/logo.png')}}" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right navbar-nav-custom">
|
||||
<li style="font-size: 14px;">
|
||||
|
||||
<a href="{{ url('teamstore') }}"> Team Store </a>
|
||||
|
||||
</li>
|
||||
<li style="font-size: 14px;">
|
||||
|
||||
<a href="{{ url('cart') }}">My Cart <i class="fa fa-shopping-cart"></i> <span class="badge" id="my-cart-count">0</span></a>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="dropdown-toggle user-profile" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-bars" style="font-size: 21px;"></i></a>
|
||||
<ul class="dropdown-menu">
|
||||
@if (Auth::guest())
|
||||
|
||||
@if(Request::segment(1) == "designer")
|
||||
<li>
|
||||
<a href="#" data-toggle="modal" data-target="#modalLogin" title="Login">Sign in</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" data-toggle="modal" data-target="#modalLogin" title="Register">Register</a>
|
||||
</li>
|
||||
|
||||
@else
|
||||
<li>
|
||||
<a href="{{ url('/auth/login') }}" title="Login">Sign in</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('/auth/register') }}" title="Register">Register</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@else
|
||||
@if(Auth::user()->role == "admin")
|
||||
<!-- <li class="dropdown-header"><i class="fa fa-user"></i> {{ Auth::user()->username }} </li> -->
|
||||
<li><a href="{{ url('admin') }}">Dashboard</a></li>
|
||||
@elseif(Auth::user()->role == "store_owner")
|
||||
<li><a href="{{ url('user') }}">Dashboard</a></li>
|
||||
@else
|
||||
<!-- <li class="dropdown-header"><i class="fa fa-user"></i> {{ Auth::user()->username }} </li> -->
|
||||
<li><a href="{{ url('user') }}">Dashboard</a></li>
|
||||
@endif
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="{{ url('/auth/logout') }}"><i class="fa fa-sign-out"></i> Logout</a></li>
|
||||
@endif
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="#" data-toggle="modal" data-target="#privacy_modal">Privacy</a></li>
|
||||
<li><a href="#" data-toggle="modal" data-target="#terms_of_use_modal">Terms of Use</a></li>
|
||||
<li><a href="#" data-toggle="modal" data-target="#about_us_modal">About Us</a></li>
|
||||
<li><a href="#" data-toggle="modal" data-target="#contact_us_modal">Contact Us</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<style>
|
||||
#nav{
|
||||
list-style:none;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
|
||||
#nav li{
|
||||
float:left;
|
||||
margin-right:10px;
|
||||
position:relative;
|
||||
}
|
||||
#nav a{
|
||||
display:block;
|
||||
padding:10px;
|
||||
color:#f2f2f2;
|
||||
background-color:#292c2f;
|
||||
text-decoration:none;
|
||||
}
|
||||
#nav a:hover{
|
||||
color:#fff;
|
||||
/* background:#6b0c36; */
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
/*--- DROPDOWN ---*/
|
||||
#nav ul{
|
||||
background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
|
||||
background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
|
||||
list-style:none;
|
||||
position:absolute;
|
||||
left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
|
||||
z-index: 9999;
|
||||
}
|
||||
#nav ul li{
|
||||
/* padding-top:1px; Introducing a padding between the li and the a give the illusion spaced items */
|
||||
float:none;
|
||||
}
|
||||
#nav ul a{
|
||||
white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
|
||||
}
|
||||
#nav li:hover ul{ /* Display the dropdown on hover */
|
||||
left:auto; /* Bring back on-screen when needed */
|
||||
right:0;
|
||||
margin-right:-10px;
|
||||
}
|
||||
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
|
||||
/* background:#6b0c36; */
|
||||
text-decoration:underline;
|
||||
}
|
||||
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
|
||||
text-decoration:none;
|
||||
}
|
||||
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
|
||||
background:#3d4248;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
padding: 0px; /* firefox bug fix */
|
||||
}
|
||||
.navbar-brand>img {
|
||||
height: 200%;
|
||||
padding: 15px; /* firefox bug fix */
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.navbar-custom{
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px){
|
||||
.navbar-default .navbar-collapse, .navbar-default .navbar-form{
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (min-width: 768px){
|
||||
.navbar-default .navbar-nav>li>a{
|
||||
margin-top: 23px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.badge{
|
||||
font-size: 14px;
|
||||
width:35px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
.navbar-default .navbar-nav>li>a:hover {
|
||||
background-color: #777;
|
||||
}
|
||||
|
||||
.modal {
|
||||
text-align: center;
|
||||
padding: 0!important;
|
||||
}
|
||||
|
||||
.modal:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
vertical-align: middle;
|
||||
margin-right: -4px;
|
||||
}
|
||||
|
||||
.modal-dialog {
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- Privacy Modal -->
|
||||
<div id="privacy_modal" class="modal fade" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<!-- Modal content-->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">Privacy Policy</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@include('layout.privacy')
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Term of Use Modal -->
|
||||
<div id="terms_of_use_modal" class="modal fade" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<!-- Modal content-->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">Terms of Use</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Coming soon.</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- About Us Modal -->
|
||||
<div id="about_us_modal" class="modal fade" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<!-- Modal content-->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">About Us</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Coming soon.</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Contact Us Modal -->
|
||||
<div id="contact_us_modal" class="modal fade" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<!-- Modal content-->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">Contact Us</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Coming soon.</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
96
resources/views/layout/privacy.blade.php
Normal file
96
resources/views/layout/privacy.blade.php
Normal file
@@ -0,0 +1,96 @@
|
||||
<div>
|
||||
<div>Privacy Policy</div>
|
||||
<br />
|
||||
<div>Your privacy is important to us. It is Crew Sportswear's policy to respect your privacy regarding any information we may collect from you across our website, http://crewsportswear.com, and other sites we own and operate.</div>
|
||||
<br />
|
||||
<div>1. Information we collect</div>
|
||||
<br />
|
||||
<div>Log data</div>
|
||||
<br />
|
||||
<div>When you visit our website, our servers may automatically log the standard data provided by your web browser. It may include your computer’s Internet Protocol (IP) address, your browser type and version, the pages you visit, the time and date of your visit, the time spent on each page, and other details.</div>
|
||||
<br /><br />
|
||||
<div>Personal information</div>
|
||||
<br />
|
||||
<div>We may ask for personal information, such as your:</div>
|
||||
<br /><br />
|
||||
<div>NameEmailSocial media profilesDate of birthPhone/mobile numberHome/Mailing addressWork addressPayment information</div>
|
||||
<br />
|
||||
<div>2. Legal bases for processing</div>
|
||||
<br />
|
||||
<div>We will process your personal information lawfully, fairly and in a transparent manner. We collect and process information about you only where we have legal bases for doing so.</div>
|
||||
<div> </div>
|
||||
<div>These legal bases depend on the services you use and how you use them, meaning we collect and use your information only where:</div>
|
||||
<div> </div>
|
||||
<br />
|
||||
<div> it’s necessary for the performance of a contract to which you are a party or to take steps at your request before entering into such a contract (for example, when we provide a service you request from us);</div>
|
||||
<div> it satisfies a legitimate interest (which is not overridden by your data protection interests), such as for research and development, to market and promote our services, and to protect our legal rights and interests;</div>
|
||||
<div> you give us consent to do so for a specific purpose (for example, you might consent to us sending you our newsletter); or</div>
|
||||
<div> we need to process your data to comply with a legal obligation.</div>
|
||||
<br />
|
||||
<div> </div>
|
||||
<div>Where you consent to our use of information about you for a specific purpose, you have the right to change your mind at any time (but this will not affect any processing that has already taken place).</div>
|
||||
<div> </div>
|
||||
<div>We don’t keep personal information for longer than is necessary. While we retain this information, we will protect it within commercially acceptable means to prevent loss and theft, as well as unauthorised access, disclosure, copying, use or modification. That said, we advise that no method of electronic transmission or storage is 100% secure and cannot guarantee absolute data security. If necessary, we may retain your personal information for our compliance with a legal obligation or in order to protect your vital interests or the vital interests of another natural person.</div>
|
||||
<br />
|
||||
<div>3. Collection and use of information</div>
|
||||
<br />
|
||||
<div>We may collect, hold, use and disclose information for the following purposes and personal information will not be further processed in a manner that is incompatible with these purposes:</div>
|
||||
<br /><br />
|
||||
<div>to enable you to customise or personalise your experience of our website;to enable you to access and use our website, associated applications and associated social media platforms;to contact and communicate with you;for internal record keeping and administrative purposes;for analytics, market research and business development, including to operate and improve our website, associated applications and associated social media platforms;to run competitions and/or offer additional benefits to you;for advertising and marketing, including to send you promotional information about our products and services and information about third parties that we consider may be of interest to you; andto comply with our legal obligations and resolve any disputes that we may have.</div>
|
||||
<br />
|
||||
<div>4. Disclosure of personal information to third parties</div>
|
||||
<br />
|
||||
<div>We may disclose personal information to:</div>
|
||||
<br /><br />
|
||||
<div>third party service providers for the purpose of enabling them to provide their services, including (without limitation) IT service providers, data storage, hosting and server providers, ad networks, analytics, error loggers, debt collectors, maintenance or problem-solving providers, marketing or advertising providers, professional advisors and payment systems operators;our employees, contractors and/or related entities; andcredit reporting agencies, courts, tribunals and regulatory authorities, in the event you fail to pay for goods or services we have provided to you.</div>
|
||||
<br />
|
||||
<div>5. International transfers of personal information</div>
|
||||
<br />
|
||||
<div>The personal information we collect is stored and processed in United States, or where we or our partners, affiliates and third-party providers maintain facilities. By providing us with your personal information, you consent to the disclosure to these overseas third parties.</div>
|
||||
<br />
|
||||
<div>We will ensure that any transfer of personal information from countries in the European Economic Area (EEA) to countries outside the EEA will be protected by appropriate safeguards, for example by using standard data protection clauses approved by the European Commission, or the use of binding corporate rules or other legally accepted means.</div>
|
||||
<br />
|
||||
<div>Where we transfer personal information from a non-EEA country to another country, you acknowledge that third parties in other jurisdictions may not be subject to similar data protection laws to the ones in our jurisdiction. There are risks if any such third party engages in any act or practice that would contravene the data privacy laws in our jurisdiction and this might mean that you will not be able to seek redress under our jurisdiction’s privacy laws.</div>
|
||||
<br />
|
||||
<div>6. Your rights and controlling your personal information</div>
|
||||
<br />
|
||||
<div>Choice and consent: By providing personal information to us, you consent to us collecting, holding, using and disclosing your personal information in accordance with this privacy policy. If you are under 16 years of age, you must have, and warrant to the extent permitted by law to us, that you have your parent or legal guardian’s permission to access and use the website and they (your parents or guardian) have consented to you providing us with your personal information. You do not have to provide personal information to us, however, if you do not, it may affect your use of this website or the products and/or services offered on or through it.</div>
|
||||
<br />
|
||||
<div>Information from third parties: If we receive personal information about you from a third party, we will protect it as set out in this privacy policy. If you are a third party providing personal information about somebody else, you represent and warrant that you have such person’s consent to provide the personal information to us.</div>
|
||||
<br />
|
||||
<div>Restrict: You may choose to restrict the collection or use of your personal information. If you have previously agreed to us using your personal information for direct marketing purposes, you may change your mind at any time by contacting us using the details below. If you ask us to restrict or limit how we process your personal information, we will let you know how the restriction affects your use of our website or products and services.</div>
|
||||
<br />
|
||||
<div>Access and data portability: You may request details of the personal information that we hold about you. You may request a copy of the personal information we hold about you. Where possible, we will provide this information in CSV format or other easily readable machine format. You may request that we erase the personal information we hold about you at any time. You may also request that we transfer this personal information to another third party.</div>
|
||||
<br />
|
||||
<div>Correction: If you believe that any information we hold about you is inaccurate, out of date, incomplete, irrelevant or misleading, please contact us using the details below. We will take reasonable steps to correct any information found to be inaccurate, incomplete, misleading or out of date.</div>
|
||||
<br />
|
||||
<div>Notification of data breaches: We will comply laws applicable to us in respect of any data breach.</div>
|
||||
<br />
|
||||
<div>Complaints: If you believe that we have breached a relevant data protection law and wish to make a complaint, please contact us using the details below and provide us with full details of the alleged breach. We will promptly investigate your complaint and respond to you, in writing, setting out the outcome of our investigation and the steps we will take to deal with your complaint. You also have the right to contact a regulatory body or data protection authority in relation to your complaint.</div>
|
||||
<br />
|
||||
<div>Unsubscribe: To unsubscribe from our e-mail database or opt-out of communications (including marketing communications), please contact us using the details below or opt-out using the opt-out facilities provided in the communication.</div>
|
||||
<br />
|
||||
<div>7. Cookies</div>
|
||||
<br />
|
||||
<div>We use “cookies” to collect information about you and your activity across our site. A cookie is a small piece of data that our website stores on your computer, and accesses each time you visit, so we can understand how you use our site. This helps us serve you content based on preferences you have specified. Please refer to our Cookie Policy for more information.</div>
|
||||
<br />
|
||||
<div>8. Business transfers</div>
|
||||
<br />
|
||||
<div>If we or our assets are acquired, or in the unlikely event that we go out of business or enter bankruptcy, we would include data among the assets transferred to any parties who acquire us. You acknowledge that such transfers may occur, and that any parties who acquire us may continue to use your personal information according to this policy.</div>
|
||||
<br />
|
||||
<div>9. Limits of our policy</div>
|
||||
<br />
|
||||
<div>Our website may link to external sites that are not operated by us. Please be aware that we have no control over the content and policies of those sites, and cannot accept responsibility or liability for their respective privacy practices.</div>
|
||||
<br />
|
||||
<div>10. Changes to this policy</div>
|
||||
<br />
|
||||
<div>At our discretion, we may change our privacy policy to reflect current acceptable practices. We will take reasonable steps to let users know about changes via our website. Your continued use of this site after any changes to this policy will be regarded as acceptance of our practices around privacy and personal information.</div>
|
||||
<br />
|
||||
<div>If we make a significant change to this privacy policy, for example changing a lawful basis on which we process your personal information, we will ask you to re-consent to the amended privacy policy.</div>
|
||||
<br /><br />
|
||||
<div>Crew Sportswear Data Controller</div>
|
||||
<div>Angelo Garcia</div>
|
||||
<div>angelo@crewsportswear.com</div>
|
||||
<br /><br /><br />
|
||||
<div>This policy is effective as of 23 February 2019.</div>
|
||||
</div>
|
||||
1026
resources/views/main_layouts/admin_template.blade.php
Normal file
1026
resources/views/main_layouts/admin_template.blade.php
Normal file
File diff suppressed because it is too large
Load Diff
8
resources/views/main_layouts/footer.blade.php
Normal file
8
resources/views/main_layouts/footer.blade.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<footer class="main-footer">
|
||||
<!-- To the right -->
|
||||
<div class="pull-right hidden-xs">
|
||||
Version 1.0
|
||||
</div>
|
||||
<!-- Default to the left -->
|
||||
<strong>Copyright © <?php echo date('Y') ?> <a href="http://uniformnetwork.com">uniformnetwork.com</a>.</strong> All rights reserved.
|
||||
</footer>
|
||||
33
resources/views/main_layouts/header.blade.php
Normal file
33
resources/views/main_layouts/header.blade.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<header class="main-header">
|
||||
<!-- Logo -->
|
||||
<a href="./" class="logo">
|
||||
<!-- mini logo for sidebar mini 50x50 pixels -->
|
||||
<span class="logo-mini"><b>C</b></span>
|
||||
<!-- logo for regular state and mobile devices -->
|
||||
<span class="logo-lg"><b>CREW</b></span>
|
||||
</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
</a>
|
||||
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<!-- Control Sidebar Toggle Button -->
|
||||
<li class="user user-menu">
|
||||
<a href="./?p=profile">
|
||||
<img src="https://pbs.twimg.com/profile_images/683817679325536256/5LxYst9E.jpg" class="user-image" alt="User Image">
|
||||
<span class="hidden-xs">Frank John Begornia</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('auth/logout') }}"><i class="fa fa-sign-out"></i> Logout</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
59
resources/views/main_layouts/sidebar.blade.php
Normal file
59
resources/views/main_layouts/sidebar.blade.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar" style="height: auto;">
|
||||
<!-- Sidebar user panel -->
|
||||
<div class="user-panel">
|
||||
<div class="pull-left image">
|
||||
<img src="https://pbs.twimg.com/profile_images/683817679325536256/5LxYst9E.jpg" class="img-circle" alt="User Image">
|
||||
</div>
|
||||
<div class="pull-left info">
|
||||
<p>Frank John Begornia</p>
|
||||
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
<li class="header">MAIN NAVIGATION</li>
|
||||
<li class="{{ Request::is('admin') ? 'active' : '' }}">
|
||||
<a href="{{ url('/admin') }}">
|
||||
<i class="fa fa-home"></i> <span>Home</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('admin/sports') ? 'active' : '' }}">
|
||||
<a href="{{ url('/admin/sports/') }}">
|
||||
<i class="fa fa-th"></i> <span>Sports</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('admin/templates') ? 'active' : '' }}">
|
||||
<a href="{{ url('/admin/templates') }}">
|
||||
<i class="fa fa-list"></i> <span>Templates</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- <li>
|
||||
<a href="#">
|
||||
<i class="fa fa-th"></i> <span>Widgets</span>
|
||||
<span class="pull-right-container">
|
||||
<small class="label pull-right bg-green">new</small>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-pie-chart"></i>
|
||||
<span>Charts</span>
|
||||
<span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li class="active"><a href="pages/charts/chartjs.html"><i class="fa fa-circle-o"></i> ChartJS</a></li>
|
||||
<li><a href="pages/charts/morris.html"><i class="fa fa-circle-o"></i> Morris</a></li>
|
||||
<li><a href="pages/charts/flot.html"><i class="fa fa-circle-o"></i> Flot</a></li>
|
||||
<li><a href="pages/charts/inline.html"><i class="fa fa-circle-o"></i> Inline charts</a></li>
|
||||
</ul>
|
||||
</li> -->
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
169
resources/views/payPremium.blade.php
Normal file
169
resources/views/payPremium.blade.php
Normal file
@@ -0,0 +1,169 @@
|
||||
@extends('app')
|
||||
@section('content')
|
||||
<style type="text/css">
|
||||
.db-bk-color-one {
|
||||
background-color: #f55039;
|
||||
}
|
||||
.db-bk-color-two {
|
||||
background-color: #46A6F7;
|
||||
}
|
||||
.db-bk-color-three {
|
||||
background-color: #47887E;
|
||||
}
|
||||
.db-bk-color-six {
|
||||
background-color: #F59B24;
|
||||
}
|
||||
.db-padding-btm {
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
.db-button-color-square {
|
||||
color: #fff;
|
||||
background-color: rgba(0, 0, 0, 0.50);
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
}
|
||||
.db-button-color-square:hover {
|
||||
color: #fff;
|
||||
border: none;
|
||||
}
|
||||
.db-pricing-eleven {
|
||||
margin-bottom: 30px;
|
||||
margin-top: 50px;
|
||||
text-align: center;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .5);
|
||||
color: #fff;
|
||||
line-height: 30px;
|
||||
}
|
||||
.db-pricing-eleven ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
padding-left: 0px;
|
||||
}
|
||||
.db-pricing-eleven ul li {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.db-pricing-eleven ul li i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.db-pricing-eleven .price {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
padding: 40px 20px 20px 20px;
|
||||
font-size: 60px;
|
||||
font-weight: 900;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.db-pricing-eleven .price small {
|
||||
color: #B8B8B8;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
margin-top: 22px;
|
||||
}
|
||||
.db-pricing-eleven .type {
|
||||
background-color: #52E89E;
|
||||
padding: 40px 10px;
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
font-size: 30px;
|
||||
}
|
||||
.db-pricing-eleven .pricing-footer {
|
||||
padding: 10px;
|
||||
}
|
||||
.db-pricing-eleven.popular {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.db-pricing-eleven.popular .price {
|
||||
padding-top: 50px;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div class="row text-center">
|
||||
<div class="col-md-12">
|
||||
<h3>Laravel 5 - Payment Using Paypal</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row db-padding-btm db-attached">
|
||||
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
|
||||
<div class="db-wrapper">
|
||||
<form method="POST" action="{{ url('getCheckout') }}">
|
||||
<input type="hidden" name="type" value="small" >
|
||||
<input type="hidden" name="pay" value="30" >
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<div class="db-pricing-eleven db-bk-color-one">
|
||||
<div class="price">
|
||||
<sup>$</sup>30
|
||||
<small>per quarter</small>
|
||||
</div>
|
||||
<div class="type">
|
||||
SMALL PLAN
|
||||
</div>
|
||||
<ul>
|
||||
<li><i class="glyphicon glyphicon-print"></i>30+ Accounts </li>
|
||||
<li><i class="glyphicon glyphicon-time"></i>150+ Projects </li>
|
||||
<li><i class="glyphicon glyphicon-trash"></i>Lead Required</li>
|
||||
</ul>
|
||||
<div class="pricing-footer">
|
||||
<button class="btn db-button-color-square btn-lg">BOOK ORDER</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
|
||||
<div class="db-wrapper">
|
||||
<form method="POST" action="{{ url('getCheckout') }}">
|
||||
<input type="hidden" name="type" value="medium" >
|
||||
<input type="hidden" name="pay" value="45" >
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<div class="db-pricing-eleven db-bk-color-two popular">
|
||||
<div class="price">
|
||||
<sup>$</sup>45
|
||||
<small>per quarter</small>
|
||||
</div>
|
||||
<div class="type">
|
||||
MEDIUM PLAN
|
||||
</div>
|
||||
<ul>
|
||||
<li><i class="glyphicon glyphicon-print"></i>30+ Accounts </li>
|
||||
<li><i class="glyphicon glyphicon-time"></i>150+ Projects </li>
|
||||
<li><i class="glyphicon glyphicon-trash"></i>Lead Required</li>
|
||||
</ul>
|
||||
<div class="pricing-footer">
|
||||
<button class="btn db-button-color-square btn-lg">BOOK ORDER</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
|
||||
<div class="db-wrapper">
|
||||
<form method="POST" action="{{ url('getCheckout') }}">
|
||||
<input type="hidden" name="type" value="advance" >
|
||||
<input type="hidden" name="pay" value="68" >
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<div class="db-pricing-eleven db-bk-color-three">
|
||||
<div class="price">
|
||||
<sup>$</sup>68
|
||||
<small>per quarter</small>
|
||||
</div>
|
||||
<div class="type">
|
||||
ADVANCE PLAN
|
||||
</div>
|
||||
<ul>
|
||||
<li><i class="glyphicon glyphicon-print"></i>30+ Accounts </li>
|
||||
<li><i class="glyphicon glyphicon-time"></i>150+ Projects </li>
|
||||
<li><i class="glyphicon glyphicon-trash"></i>Lead Required</li>
|
||||
</ul>
|
||||
<div class="pricing-footer">
|
||||
<button class="btn db-button-color-square btn-lg">BOOK ORDER</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
95
resources/views/paypal/get_done.blade.php
Normal file
95
resources/views/paypal/get_done.blade.php
Normal file
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||||
<meta name="description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear.">
|
||||
<meta name="keywords" content="custom uniforms, footwear, athletic equipment, sporting goods">
|
||||
<meta name="author" content="Frank John Begornia">
|
||||
<meta name="csrf_token" content="{{ csrf_token() }}" />
|
||||
|
||||
<meta property="og:url" content="http://uniformnetwork.com/crew/" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content="CREW Uniform Customizer" />
|
||||
<meta property="og:description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear." />
|
||||
<meta property="og:image" content="{{asset('public/images/fb-share-logo.png')}}" />
|
||||
|
||||
<!-- favicons
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{asset('public/favicons/apple-touch-icon.png')}}">
|
||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-32x32.png')}}" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-16x16.png')}}" sizes="16x16">
|
||||
<link rel="manifest" href="{{asset('public/favicons/manifest.json')}}">
|
||||
<link rel="mask-icon" href="{{asset('public/favicons/safari-pinned-tab.svg')}}" color="#5bbad5">
|
||||
<meta name="theme-color" content="#ffffff">-->
|
||||
<!-- end favicons -->
|
||||
<title>CREW Sportswear</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="{{asset('public/assets/css/bootstrap.min.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
||||
<link href="{{asset('public/assets/css/ie10-viewport-bug-workaround.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="{{asset('public/assets/css/style.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
|
||||
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
|
||||
<script src="{{asset('public/assets/js/ie-emulation-modes-warning.js')}}"></script>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
|
||||
<![endif]-->
|
||||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Social Media Share button
|
||||
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=599bc5cf6d61950012975405&product=sticky-share-buttons"></script>-->
|
||||
|
||||
<link href="{{asset('/public/designer/css/build.css')}}" rel="stylesheet">
|
||||
<style>
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
</div> <!-- /container -->
|
||||
|
||||
<!-- Bootstrap core JavaScript ================================================= !-->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script src="{{asset('public/assets/js/bootstrap.min.js')}}"></script>
|
||||
<!-- <script>window.jQuery || document.write('<script src="{{asset('public/assets/js/vendor/jquery.min.js')}}"><\/script>')</script> -->
|
||||
<!-- <script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script> -->
|
||||
<script src="{{asset('public/assets/js/jquery.validate.js')}}"></script>
|
||||
<!-- <script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script> -->
|
||||
<!-- <script src="{{asset('public/assets/js/crew-designer.js')}}"></script> -->
|
||||
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
swal({
|
||||
title: "Thank you",
|
||||
text: "Your payment of {{ $total }} {{ $currency }} is complete.",
|
||||
icon: "success",
|
||||
buttons: "OK",
|
||||
|
||||
})
|
||||
.then((willDelete) => {
|
||||
if (willDelete) {
|
||||
window.location = "{{ url('') }}"
|
||||
} else {
|
||||
console.log("asdad");
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
88
resources/views/sub_pages/add_print_template.blade.php
Normal file
88
resources/views/sub_pages/add_print_template.blade.php
Normal file
@@ -0,0 +1,88 @@
|
||||
@extends('main_layouts.admin_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Adding of Print Template
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url('/admin') }}"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Adding of Print Template</li>
|
||||
</ol>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="box box-custom-color" style="min-height:450px;">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div id="savePrintTemplateMsg"></div>
|
||||
</div>
|
||||
<form class="form-horizontal" id="frmAddPrintTemplate" enctype="multipart/form-data">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<h3>Print Template Information</h3>
|
||||
<hr>
|
||||
</div>
|
||||
<input type="hidden" name="templatecode" value="{{ $templatecode }}">
|
||||
<div class="col-lg-6 col-sm-6">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">Sports Name</label>
|
||||
<div class="col-sm-8">
|
||||
<select class="form-control" name="templateType">
|
||||
<option value="JERSEY">Jersey</option>
|
||||
<option value="SHORTS">Shorts</option>
|
||||
</select>
|
||||
<span id="err-sportsname" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">Generated URL</label>
|
||||
<div class="col-sm-8">
|
||||
<select class="form-control" name="templateSize">
|
||||
@foreach($sizeslist as $row){
|
||||
<option value="{{ $row->Size }}">{{ $row->Size }}</option>
|
||||
}
|
||||
@endforeach
|
||||
</select>
|
||||
<span id="err-generatedUrl" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<div class="col-lg-6 col-sm-6">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
|
||||
<div class="col-sm-12">
|
||||
<label class="control-label" >Add Image <small id="label-suggest-upload">(pixel 300px x 300px)</small></label>
|
||||
<br><br>
|
||||
<img id="prev-print-template" src="{{url('public/images/no-image.jpg')}}" class="img img-responsive" alt="Preview Image" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-8">
|
||||
<input name="preview_print_template" id="preview_print_template" class="form-control" type="file" onchange="loadPrintTemplate(this);" data-error="#err-previewImg" />
|
||||
<span id="err-previewImg" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<button type="button" onclick="clearImg();" class="btn btn-default btn-block">Clear</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12">
|
||||
<hr>
|
||||
<a href="{{ url('admin/templates/edit') . '/' . $templatecode }}" class="btn btn-default">Back</a>
|
||||
<button type="submit" id="savePrintTempBtn" class="btn btn-primary">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@endsection
|
||||
80
resources/views/sub_pages/add_sports.blade.php
Normal file
80
resources/views/sub_pages/add_sports.blade.php
Normal file
@@ -0,0 +1,80 @@
|
||||
@extends('main_layouts.admin_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Adding of Sports
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url('/admin') }}"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Adding of Sports</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="box box-custom-color" style="min-height:450px;">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div id="saveNewSportsMsg"></div>
|
||||
</div>
|
||||
<form class="form-horizontal" id="frmAddSports" enctype="multipart/form-data">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<h3>Sports Information</h3>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="col-lg-6 col-sm-6">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">Sports Name</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" class="form-control" id="_addSportsName" name="sportsName" placeholder="Sports Name" data-error="#err-sportsname" reqiured="required" />
|
||||
<span id="err-sportsname" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">Generated URL</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" class="form-control" id="generatedUrl" name="generatedUrl" placeholder="URL" data-error="#err-generatedUrl" reqiured="required" />
|
||||
<span id="err-generatedUrl" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<div class="col-lg-6 col-sm-6">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
|
||||
<div class="col-sm-12">
|
||||
<label class="control-label" >Add Image <small id="label-suggest-upload">(pixel 300px x 300px)</small></label>
|
||||
<br><br>
|
||||
<img id="prev-img" src="{{url('public/images/no-image.jpg')}}" class="img img-responsive" alt="Preview Image" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-8">
|
||||
<input name="previewImg" id="previewImg" class="form-control" type="file" onchange="readURL(this);" data-error="#err-previewImg" />
|
||||
<span id="err-previewImg" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<button type="button" onclick="clearImg();" class="btn btn-default btn-block">Clear</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12">
|
||||
<hr>
|
||||
<button type="button" onclick="cancelButton();" class="btn btn-default">Cancel</button>
|
||||
<button type="submit" id="saveSportsBtn" class="btn btn-primary">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@endsection
|
||||
235
resources/views/sub_pages/add_template.blade.php
Normal file
235
resources/views/sub_pages/add_template.blade.php
Normal file
@@ -0,0 +1,235 @@
|
||||
@extends('main_layouts.admin_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Adding of Template
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url('/admin') }}"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Adding of Template</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="box box-custom-color" style="min-height:450px;">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<div id="saveTemplateMsg"></div>
|
||||
<section>
|
||||
<div class="wizard">
|
||||
|
||||
<!-- <h3>Template Information</h3>
|
||||
<hr>
|
||||
-->
|
||||
<div class="wizard-inner">
|
||||
<div class="connecting-line"></div>
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active">
|
||||
<a href="#step1" data-toggle="tab" aria-controls="step1" role="tab" title="Step 1">
|
||||
<span class="round-tab">
|
||||
<i class="glyphicon glyphicon-list"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li role="presentation" class="disabled">
|
||||
<a href="#step2" data-toggle="tab" aria-controls="step2" role="tab" title="Step 2">
|
||||
<span class="round-tab">
|
||||
<i class="glyphicon glyphicon-pencil"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li role="presentation" class="disabled">
|
||||
<a href="#complete" data-toggle="tab" aria-controls="complete" role="tab" title="Complete">
|
||||
<span class="round-tab">
|
||||
<i class="glyphicon glyphicon-ok"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<form role="form" id="frmTemplate">
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" role="tabpanel" id="step1">
|
||||
<div class="col-sm-12">
|
||||
<h3><small><i class="fa fa-link" aria-hidden="true"></i></small> Step one</h3>
|
||||
<br>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label>Template Code</label>
|
||||
<input type="text" class="form-control" name="templateCode" id="templateCode" readonly="true" data-error="#err-templateCode" />
|
||||
<!-- <smal>(Auto generated)</smal> -->
|
||||
<span id="err-templateCode" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Select Sports</label>
|
||||
<select class="form-control" id="sportName" name="sportName" data-error="#err-sportName">
|
||||
</select>
|
||||
<span id="err-sportName" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Template Name</label>
|
||||
<input type="text" class="form-control" name="templateName" placeholder="Template Name" data-error="#err-templateName" />
|
||||
<span id="err-templateName" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Template Type</label>
|
||||
<select class="form-control" id="templateType" name="templateType" data-error="#err-templateType">
|
||||
</select>
|
||||
<span id="err-templateType" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Number of Trims</label>
|
||||
<input type="number" class="form-control" name="numberOfTrims" placeholder="Number of Trims" data-error="#err-numberOfTrims" />
|
||||
<span id="err-numberOfTrims" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Add Skin(s)</label>
|
||||
<select class="form-control" id="_addPatterns" name="addPattens" multiple="multiple" data-placeholder="Select a Skin(s)" data-error="#err-addPatterns">
|
||||
</select>
|
||||
<span id="err-addPatterns" style="color: #dd4b39"></span>
|
||||
<input type="hidden" name="getSkins" id="getSkins" />
|
||||
<!-- <button type="button" onclick="getskinvalue();">get value</button> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<label class="control-label" >Add Image <small id="label-suggest-upload">(400px x 600px)</small></label>
|
||||
<br><br>
|
||||
<img id="template-img-preview" src="{{url('public/images/no-image.jpg')}}" class="img img-responsive" alt="Preview Image" />
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<br><br>
|
||||
<div class="col-sm-8">
|
||||
<input name="tempateImage" id="tempateImage" class="form-control" type="file" onchange="templateThumbnailPreview(this);" data-error="#err-tempateImage" />
|
||||
<span id="err-tempateImage" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<button type="button" onclick="clearTemplateImg();" class="btn btn-default btn-block">Clear</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<ul class="list-inline pull-right" style="margin-top: 50px;">
|
||||
<li><button type="button" id="stepOneNextBtn" class="btn btn-primary next-step" >Next <i class="fa fa-long-arrow-right" aria-hidden="true"></i></button></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- STEP TWO -->
|
||||
|
||||
<div class="tab-pane" role="tabpanel" id="step2">
|
||||
<div class="col-sm-12">
|
||||
<h3><small><i class="fa fa-link" aria-hidden="true"></i></small> Step two</h3>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading text-center"><h3>Jersey - Front</h3></div>
|
||||
<div class="custom-panel-body panel-body">
|
||||
<div class="obj-container">
|
||||
<object id="_jerseyFront" type="image/svg+xml" height="254px" width="100%">
|
||||
Your browser is not supported svg file
|
||||
</object>
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-panel-footer panel-footer">
|
||||
<input type="file" data-error="#err-jerseyFront" data-id="_jerseyFront" onchange="loadSVG(this);" class="form-control" name="svgJerseyFront" style="margin-bottom: 2px;"/>
|
||||
<button type="button" class="btn btn-default btn-block"><i class="fa fa-times" aria-hidden="true"></i> Clear</button>
|
||||
|
||||
</div>
|
||||
<span class="text-center" id="err-jerseyFront" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading text-center"><h3>Jersey - Back</h3></div>
|
||||
<div class="custom-panel-body panel-body">
|
||||
<div class="obj-container">
|
||||
<object id="_jerseyBack" type="image/svg+xml" height="254px" width="100%">
|
||||
Your browser is not supported svg file
|
||||
</object>
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-panel-footer panel-footer">
|
||||
<input type="file" data-error="#err-jerseyBack" data-id="_jerseyBack" onchange="loadSVG(this);" class="form-control" name="svgJerseyBack" style="margin-bottom: 2px;"/>
|
||||
<button type="button" class="btn btn-default btn-block"><i class="fa fa-times" aria-hidden="true"></i> Clear</button>
|
||||
</div>
|
||||
<span class="text-center" id="err-jerseyBack" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading text-center"><h3>Shorts - Right</h3></div>
|
||||
<div class="custom-panel-body panel-body">
|
||||
<div class="obj-container">
|
||||
<object id="_shortsRight" type="image/svg+xml" height="254px" width="100%">
|
||||
Your browser is not supported svg file
|
||||
</object>
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-panel-footer panel-footer">
|
||||
<input type="file" data-error="#err-shortRight" data-id="_shortsRight" onchange="loadSVG(this);" class="form-control" name="svgShortRight" style="margin-bottom: 2px;"/>
|
||||
<button type="button" class="btn btn-default btn-block"><i class="fa fa-times" aria-hidden="true"></i> Clear</button>
|
||||
</div>
|
||||
<span class="text-center" id="err-shortRight" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading text-center"><h3>Shorts - Left</h3></div>
|
||||
<div class="custom-panel-body panel-body">
|
||||
<div class="obj-container">
|
||||
<object id="_shortsLeft" type="image/svg+xml" height="254px" width="100%">
|
||||
Your browser is not supported svg file
|
||||
</object>
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-panel-footer panel-footer">
|
||||
<input type="file" data-error="#err-shortLeft" data-id="_shortsLeft" onchange="loadSVG(this);" class="form-control" name="svgShortLeft" style="margin-bottom: 2px;"/>
|
||||
<button type="button" class="btn btn-default btn-block"><i class="fa fa-times" aria-hidden="true"></i> Clear</button>
|
||||
</div>
|
||||
<span class="text-center" id="err-shortLeft" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
<br><br><br>
|
||||
<div class="col-sm-12">
|
||||
<ul class="list-inline pull-right" style="margin-top: 50px;">
|
||||
<li><button type="button" class="btn btn-default prev-step"><i class="fa fa-long-arrow-left" aria-hidden="true"></i> Previous</button></li>
|
||||
<li><button type="button" class="btn btn-primary next-step" id="stepTwoNextBtn">Next <i class="fa fa-long-arrow-right" aria-hidden="true"></i></button></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane" role="tabpanel" id="complete">
|
||||
<h3>Complete steps</h3>
|
||||
<p>You have successfully completed every steps.</p>
|
||||
<ul class="list-inline pull-right">
|
||||
<li><button type="button" class="btn btn-default prev-step"><i class="fa fa-long-arrow-left" aria-hidden="true"></i> Previous</button></li>
|
||||
<li><button type="button" id="submitTemplateBtn" class="btn btn-primary btn-info-full next-step">Save new template</button></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- <div class="clearfix"></div> -->
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@endsection
|
||||
352
resources/views/sub_pages/edit_template.blade.php
Normal file
352
resources/views/sub_pages/edit_template.blade.php
Normal file
@@ -0,0 +1,352 @@
|
||||
@extends('main_layouts.admin_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Edit of Template
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url('/admin') }}"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Edit of Template</li>
|
||||
</ol>
|
||||
</section>
|
||||
<!-- return view('sub_pages.edit_template')->with('templatedata', $templateData)->with('templatepath', $templatePathsData)->with('sportsname', $sportsList)->with('templatetype', $templateTypes);
|
||||
-->
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<!-- Custom Tabs -->
|
||||
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs nav-justified">
|
||||
<li class="active">
|
||||
<a href="#tab_1" data-toggle="tab" aria-expanded="true">Template Information</a>
|
||||
</li>
|
||||
<li class="">
|
||||
<a href="#tab_2" data-toggle="tab" aria-expanded="false">Print Template Size(s)</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content" style="min-height:450px;">
|
||||
<div class="tab-pane active" id="tab_1">
|
||||
|
||||
<div id="saveTemplateMsg"></div>
|
||||
<section>
|
||||
<div class="wizard">
|
||||
<div class="wizard-inner">
|
||||
<div class="connecting-line"></div>
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active">
|
||||
<a href="#step1" data-toggle="tab" aria-controls="step1" role="tab" title="Step 1">
|
||||
<span class="round-tab">
|
||||
<i class="glyphicon glyphicon-list"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li role="presentartion" class="disabled">
|
||||
<a href="#step2" data-toggle="tab" aria-controls="step2" role="tab" title="Step 2">
|
||||
<span class="round-tab">
|
||||
<i class="glyphicon glyphicon-pencil"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li role="presentation" class="disabled">
|
||||
<a href="#complete" data-toggle="tab" aria-controls="complete" role="tab" title="Complete">
|
||||
<span class="round-tab">
|
||||
<i class="glyphicon glyphicon-ok"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<form role="form" id="frmEditTemplate">
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" role="tabpanel" id="step1">
|
||||
<div class="col-sm-12">
|
||||
<h3><small><i class="fa fa-link" aria-hidden="true"></i></small> Step one</h3>
|
||||
<br>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label>Template Code</label>
|
||||
<input type="text" class="form-control" name="templateCode" readonly="true" data-error="#err-templateCode" value="{{ $templatedata[0]->TemplateCode }}" />
|
||||
<!-- <smal>(Auto generated)</smal> -->
|
||||
<span id="err-templateCode" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Select Sports</label>
|
||||
<select class="form-control" name="sportName" data-error="#err-sportName">
|
||||
<option value="" >--Select Sports--</option>
|
||||
@foreach($sportsname as $row){
|
||||
<option value="
|
||||
{{ $row->Id }}"
|
||||
{{old('sportName', $row->Id)== $templatedata[0]->SportsId ? 'selected':''}}
|
||||
>
|
||||
{{ $row->SportsName }}
|
||||
</option>
|
||||
}
|
||||
@endforeach
|
||||
</select>
|
||||
<span id="err-sportName" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Template Name</label>
|
||||
<input type="text" class="form-control" name="templateName" placeholder="Template Name" data-error="#err-templateName" value="{{ $templatedata[0]->TemplateName }}" />
|
||||
<span id="err-templateName" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Template Type</label>
|
||||
<select class="form-control" name="templateType" data-error="#err-templateType">
|
||||
<option value="" >--Select Type--</option>
|
||||
@foreach($templatetype as $row){
|
||||
<option value="
|
||||
{{ $row->TemplateType }}"
|
||||
{{old( 'templateType', $row->TemplateType) == $templatedata[0]->TemplateType ? 'selected':''}}>
|
||||
{{ $row->TemplateType }}
|
||||
</option>
|
||||
}
|
||||
@endforeach
|
||||
</select>
|
||||
<span id="err-templateType" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Number of Trims</label>
|
||||
<input type="number" class="form-control" name="numberOfTrims" placeholder="Number of Trims" data-error="#err-numberOfTrims" value="{{ $templatedata[0]->Trim }}" />
|
||||
<span id="err-numberOfTrims" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Add Skin(s)</label>
|
||||
<select class="form-control" id="addPatterns_" name="addPattens" multiple="multiple" data-placeholder="Select a Skin(s)" data-error="#err-addPatterns">
|
||||
</select>
|
||||
<span id="err-addPatterns" style="color: #dd4b39"></span>
|
||||
<input type="hidden" name="getSkins" id="skinsEdit" value="{{ $templatedata[0]->PatternId }}" />
|
||||
<!-- <button type="button" onclick="getskinvalue();">get value</button> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<label class="control-label" >Add Image <small id="label-suggest-upload">(400px x 600px)</small></label>
|
||||
<br><br>
|
||||
<img id="template-img-preview" src="{{url('public') . '/' . $templatedata[0]->Thumbnail }}" class="img img-responsive" alt="Preview Image" />
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<br><br>
|
||||
<div class="col-sm-8">
|
||||
<input name="tempateImage" id="tempateImage" class="form-control" type="file" onchange="templateThumbnailPreview(this);" data-error="#err-tempateImage" />
|
||||
<span id="err-tempateImage" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<button type="button" onclick="clearTemplateImg();" class="btn btn-default btn-block">Clear</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<ul class="list-inline pull-right" style="margin-top: 50px;">
|
||||
<li><button type="button" id="stepOneNextBtn_Edit" class="btn btn-primary next-step" >Next <i class="fa fa-long-arrow-right" aria-hidden="true"></i></button></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- STEP TWO -->
|
||||
<div class="tab-pane" role="tabpanel" id="step2">
|
||||
<div class="col-sm-12">
|
||||
<h3><small><i class="fa fa-link" aria-hidden="true"></i></small> Step two</h3>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading text-center"><h3>Jersey - Front</h3></div>
|
||||
<div class="custom-panel-body panel-body">
|
||||
<div class="obj-container">
|
||||
<object id="_jerseyFront" data="{{url('public/images') . '/' . $templatepath[0]->Path }}" type="image/svg+xml" height="254px" width="100%">
|
||||
Your browser is not supported svg file
|
||||
</object>
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-panel-footer panel-footer">
|
||||
<input type="file" data-error="#err-jerseyFront" data-id="_jerseyFront" onchange="loadSVG(this);" class="form-control" name="svgJerseyFront" style="margin-bottom: 2px;"/>
|
||||
<input type="hidden" class="form-control" name="id_svgJerseyFront" value="{{ $templatepath[0]->Id }}"/>
|
||||
<button type="button" class="btn btn-default btn-block"><i class="fa fa-times" aria-hidden="true"></i> Clear</button>
|
||||
|
||||
</div>
|
||||
<span class="text-center" id="err-jerseyFront" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading text-center"><h3>Jersey - Back</h3></div>
|
||||
<div class="custom-panel-body panel-body">
|
||||
<div class="obj-container">
|
||||
<object id="_jerseyBack" data="{{url('public/images') . '/' . $templatepath[1]->Path }}" type="image/svg+xml" height="254px" width="100%">
|
||||
Your browser is not supported svg file
|
||||
</object>
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-panel-footer panel-footer">
|
||||
<input type="file" data-error="#err-jerseyBack" data-id="_jerseyBack" onchange="loadSVG(this);" class="form-control" name="svgJerseyBack" style="margin-bottom: 2px;"/>
|
||||
<input type="hidden" class="form-control" name="id_svgJerseyBack" value="{{ $templatepath[1]->Id }}"/>
|
||||
<button type="button" class="btn btn-default btn-block"><i class="fa fa-times" aria-hidden="true"></i> Clear</button>
|
||||
</div>
|
||||
<span class="text-center" id="err-jerseyBack" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading text-center"><h3>Shorts - Right</h3></div>
|
||||
<div class="custom-panel-body panel-body">
|
||||
<div class="obj-container">
|
||||
<object id="_shortsRight" data="{{url('public/images') . '/' . $templatepath[2]->Path }}" type="image/svg+xml" height="254px" width="100%">
|
||||
Your browser is not supported svg file
|
||||
</object>
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-panel-footer panel-footer">
|
||||
<input type="file" data-error="#err-shortRight" data-id="_shortsRight" onchange="loadSVG(this);" class="form-control" name="svgShortRight" style="margin-bottom: 2px;"/>
|
||||
<input type="hidden" class="form-control" name="id_svgShortRight" value="{{ $templatepath[2]->Id }}"/>
|
||||
<button type="button" class="btn btn-default btn-block"><i class="fa fa-times" aria-hidden="true"></i> Clear</button>
|
||||
</div>
|
||||
<span class="text-center" id="err-shortRight" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading text-center"><h3>Shorts - Left</h3></div>
|
||||
<div class="custom-panel-body panel-body">
|
||||
<div class="obj-container">
|
||||
<object id="_shortsLeft" data="{{url('public/images') . '/' . $templatepath[3]->Path }}" type="image/svg+xml" height="254px" width="100%">
|
||||
Your browser is not supported svg file
|
||||
</object>
|
||||
</div>
|
||||
</div>
|
||||
<div class="custom-panel-footer panel-footer">
|
||||
<input type="file" data-error="#err-shortLeft" data-id="_shortsLeft" onchange="loadSVG(this);" class="form-control" name="svgShortLeft" style="margin-bottom: 2px;"/>
|
||||
<input type="hidden" class="form-control" name="id_svgShortLeft" value="{{ $templatepath[3]->Id }}"/>
|
||||
<button type="button" class="btn btn-default btn-block"><i class="fa fa-times" aria-hidden="true"></i> Clear</button>
|
||||
</div>
|
||||
<span class="text-center" id="err-shortLeft" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
<br><br><br>
|
||||
<div class="col-sm-12">
|
||||
<ul class="list-inline pull-right" style="margin-top: 50px;">
|
||||
<li><button type="button" class="btn btn-default prev-step"><i class="fa fa-long-arrow-left" aria-hidden="true"></i> Previous</button></li>
|
||||
<li><button type="button" class="btn btn-primary next-step" id="stepTwoNextBtn_Edit">Next <i class="fa fa-long-arrow-right" aria-hidden="true"></i></button></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane" role="tabpanel" id="complete">
|
||||
<h3>Complete steps</h3>
|
||||
<p>You have successfully completed every steps.</p>
|
||||
<ul class="list-inline pull-right">
|
||||
<li><button type="button" class="btn btn-default prev-step"><i class="fa fa-long-arrow-left" aria-hidden="true"></i> Previous</button></li>
|
||||
<li><button type="button" id="submitTemplateBtn_Edit" class="btn btn-primary btn-info-full next-step">Save changes</button></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- <div class="clearfix"></div> -->
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<!-- /.tab-pane -->
|
||||
<div class="tab-pane" id="tab_2">
|
||||
<div class="col-md-5">
|
||||
<h3>List of Print Template</h3>
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<a href="{{ url('/admin/templates/edit' . '/' . $templatedata[0]->TemplateCode . '/' . 'p-add') }}" class="btn btn-default pull-right"><i class="fa fa-plus"></i> Add Print Template</a>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<br>
|
||||
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs nav-justified">
|
||||
<li class="active">
|
||||
<a href="#tab_jersey" data-toggle="tab" aria-expanded="true">JERSEY</a>
|
||||
</li>
|
||||
<li class="">
|
||||
<a href="#tab_shorts" data-toggle="tab" aria-expanded="false">SHORTS</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tab-content" style="min-height:450px;">
|
||||
<div class="tab-pane active" id="tab_jersey">
|
||||
<div class="list-group">
|
||||
|
||||
@if(count($printpattern) > 0)
|
||||
|
||||
@foreach($printpattern as $row)
|
||||
@if($row->Type == 'JERSEY')
|
||||
<div class="list-group-item" style="min-height: 210px;">
|
||||
<div class="media col-md-3">
|
||||
<img class="media-object img-rounded img-responsive img-print-preview" src="{{ url('public/images') . '/' . $row->Path }}" alt="placehold.it/350x250" >
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h4 class="list-group-item-heading"> {{ $row->Type . " - " . $row->Size }}</h4>
|
||||
<small style="color:#909090;"><b>Date Created: </b> {{ date("F j, Y g:i a", strtotime($row->DateCreated)) }}</small>
|
||||
</div>
|
||||
<div class="col-md-3 text-center">
|
||||
<!-- <h2> 14240 <small> votes </small></h2> -->
|
||||
<button type="button" class="btn btn-default btn-lg btn-block"><span class="glyphicon glyphicon-edit"></span> Edit</button>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@else
|
||||
<hr>
|
||||
<h3 class="text-center no-record" >No Print Template available</h3>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="tab-pane" id="tab_shorts">
|
||||
<div class="list-group">
|
||||
@if(count($printpattern) > 0)
|
||||
|
||||
@foreach($printpattern as $row)
|
||||
@if($row->Type == 'SHORTS')
|
||||
<div class="list-group-item" style="min-height: 210px;">
|
||||
<div class="media col-md-3">
|
||||
<img class="media-object img-rounded img-responsive img-print-preview" src="{{ url('public/images') . '/' . $row->Path }}" alt="placehold.it/350x250" >
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h4 class="list-group-item-heading"> {{ $row->Type . " - " . $row->Size }}</h4>
|
||||
<small style="color:#909090;"><b>Date Created: </b> {{ date("F j, Y g:i a", strtotime($row->DateCreated)) }}</small>
|
||||
</div>
|
||||
<div class="col-md-3 text-center">
|
||||
<!-- <h2> 14240 <small> votes </small></h2> -->
|
||||
<button type="button" class="btn btn-default btn-lg btn-block"><span class="glyphicon glyphicon-edit"></span> Edit</button>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@else
|
||||
<hr>
|
||||
<h3 class="text-center no-record" >No Print Template available</h3>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.tab-pane -->
|
||||
</div>
|
||||
<!-- /.tab-content -->
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@endsection
|
||||
24
resources/views/sub_pages/index.blade.php
Normal file
24
resources/views/sub_pages/index.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@extends('main_layouts.admin_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Dashboard
|
||||
<small>Control panel</small>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Dashboard</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="text-center" id="homepage-logo">
|
||||
<img src="{{asset('/public/images/logo.png')}}" class="img img-responsive" />
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
50
resources/views/sub_pages/sports.blade.php
Normal file
50
resources/views/sub_pages/sports.blade.php
Normal file
@@ -0,0 +1,50 @@
|
||||
@extends('main_layouts.admin_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Sports
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url('/admin') }}"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Sports</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="box box-custom-color" style="min-height:450px;">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<a href="{{url('/admin/sports/add')}}" class="btn btn-default pull-right"><i class="fa fa-plus"></i> Add Sports</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<hr>
|
||||
</div>
|
||||
@if(!empty($row ))
|
||||
@foreach ($row as $r)
|
||||
<div class="col-md-3 col-sm-4 col-xs-6">
|
||||
<div class="sports-border">
|
||||
<a href=""><img src="{{url('/public')}}/{{$r->Thumbnail}}" alt="Sports" class="img img-responsive product-center" /></a>
|
||||
<div class="sport-edit-btn">
|
||||
<a href="{{ url('/admin/sports/edit') .'/'. $r->URL }}" class="btn btn-primary btn-block btn-xs"><i class="fa fa-edit"></i> Edit</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@else
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<h3 class="no-record text-center">No Record Found.</h3>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
81
resources/views/sub_pages/sports_details.blade.php
Normal file
81
resources/views/sub_pages/sports_details.blade.php
Normal file
@@ -0,0 +1,81 @@
|
||||
@extends('main_layouts.admin_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Edit {{ $data[0]->SportsName }}
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url('/admin') }}"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Edit {{ $data[0]->SportsName }}</li>
|
||||
</ol>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="box box-custom-color" style="min-height:450px;">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div id="updateSportsMsg"></div>
|
||||
</div>
|
||||
<form class="form-horizontal" id="frmUpdateSports" enctype="multipart/form-data">
|
||||
<div class="col-lg-12 col-sm-12">
|
||||
<h3>Sports Information</h3>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="col-lg-6 col-sm-6">
|
||||
<input type="hidden" class="form-control" id="_id" name="_id" value="{{ $data[0]->Id }}"/>
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">Sports Name</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" class="form-control" id="_addSportsName" name="sportsName" placeholder="Sports Name" data-error="#err-sportsname" reqiured="required" value="{{ $data[0]->SportsName }}"/>
|
||||
<span id="err-sportsname" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">Generated URL</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" class="form-control" id="generatedUrl" name="generatedUrl" placeholder="URL" data-error="#err-generatedUrl" reqiured="required" value="{{ $data[0]->URL }}" />
|
||||
<span id="err-generatedUrl" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<div class="col-lg-6 col-sm-6">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
|
||||
<div class="col-sm-12">
|
||||
<label class="control-label" >Image Preview <small id="label-suggest-upload">(pixel 300px x 300px)</small></label>
|
||||
<br><br>
|
||||
<img id="prev-img" src="{{ url('/public/') .'/'. $data[0]->Thumbnail }}" class="img img-responsive" alt="Preview Image" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-8">
|
||||
<input name="previewImg" id="previewImg" class="form-control" type="file" onchange="readURL(this);" data-error="#err-previewImg" />
|
||||
<span id="err-previewImg" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<button type="button" onclick="clearImgEdit('{{ url('/public/') .'/'. $data[0]->Thumbnail }}');" class="btn btn-default btn-block">Clear</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12">
|
||||
<hr>
|
||||
<a href="{{ url('admin/sports') }}" class="btn btn-default">Cancel</a>
|
||||
<button type="submit" id="updateSportsBtn" class="btn btn-primary">Update</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
45
resources/views/sub_pages/templates.blade.php
Normal file
45
resources/views/sub_pages/templates.blade.php
Normal file
@@ -0,0 +1,45 @@
|
||||
@extends('main_layouts.admin_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Templates
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Templates</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="box box-custom-color" style="min-height:450px;">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<label>Filter By:</label>
|
||||
<select class="form-control getURL" id="sportName" name="sportName">
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<label> </label>
|
||||
<div>
|
||||
<a href="{{url('/admin/templates/add')}}" class="btn btn-default pull-right"><i class="fa fa-plus"></i> Add Template</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div id="displayTemplates"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
177
resources/views/sublayouts/cart.blade.php
Normal file
177
resources/views/sublayouts/cart.blade.php
Normal file
@@ -0,0 +1,177 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
|
||||
<style>
|
||||
.previewImage{
|
||||
height: 150px;
|
||||
width: 95%;
|
||||
overflow:hidden;
|
||||
object-fit: contain;
|
||||
}
|
||||
</style>
|
||||
<!-- <div class="row">
|
||||
<div class="col-md-12">
|
||||
<img src="{{asset('public/images/logo.png')}}" class="" height="100px" />
|
||||
</div>
|
||||
</div>
|
||||
<hr> -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{url('/')}}">Home</a></li>
|
||||
<li class="active">My Cart</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>My Cart</h1>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(count($row) > 0)
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
|
||||
@foreach($item_group as $item)
|
||||
|
||||
@if($item->Order == "Jersey")
|
||||
|
||||
@define $itemOrder = " (Jersey Only)"
|
||||
@define $thumb_display = "-front-thumbnail.png"
|
||||
|
||||
@elseif ($item->Order == "Shorts")
|
||||
|
||||
@define $itemOrder = " (Shorts Only)"
|
||||
@define $thumb_display = "-left-thumbnail.png"
|
||||
|
||||
@else
|
||||
|
||||
@define $itemOrder = " (w/ Shorts)"
|
||||
@define $thumb_display = "-front-thumbnail.png"
|
||||
@endif
|
||||
|
||||
<div style="border: 1px solid #e2e2e2; padding: 10px; margin-bottom: 10px;">
|
||||
<!-- <div class="row">
|
||||
<div class="col-md-12">
|
||||
<a class="btn btn-link pull-right" href="{{ url('removeitem') }}/{{ $item->Id }}"><span class="glyphicon glyphicon-remove"></span></a>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="text-center">
|
||||
<img class="previewImage" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $item->DesignCode }}{{ $thumb_display }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<h4><a href="{{ url('teamstore') . '/' . $item->StoreURL . '/' . 'product/' . $item->ProductURL }}">{{ $item->ProductName }}</a></h4>
|
||||
<p>Total Price: ${{ $item->total_price }} • Row(s): {{ $item->qty }} </p>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed">
|
||||
|
||||
@if($item->FormUsed=="jersey-and-shorts-form")
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Number</th>
|
||||
<th>Jersey Size</th>
|
||||
<th>Shorts Size</th>
|
||||
<th>Price</th>
|
||||
<th>Quantity</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
@elseif($item->FormUsed=="tshirt-form")
|
||||
<tr>
|
||||
<th>Size</th>
|
||||
<th>Price</th>
|
||||
<th>Quantity</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
@elseif($item->FormUsed=="quantity-form")
|
||||
<tr>
|
||||
<th>Price</th>
|
||||
<th>Quantity</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
@else
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
@foreach($row as $sub_item)
|
||||
@if($sub_item->ProductId == $item->ProductId)
|
||||
|
||||
@if($item->FormUsed=="jersey-and-shorts-form")
|
||||
<tr>
|
||||
<td> @if($sub_item->Name != '') {{ $sub_item->Name }} @else -- @endif </td>
|
||||
<td>{{ $sub_item->Number }}</td>
|
||||
<td>{{ $sub_item->JerseySize }}</td>
|
||||
<td>{{ $sub_item->ShortsSize }}</td>
|
||||
<td>{{ $sub_item->Price }}</td>
|
||||
<td>{{ $sub_item->Quantity }}</td>
|
||||
<td><a class="btn btn-xs btn-link pull-right" href="{{ url('removeitem') }}/{{ $sub_item->Id }}"><span class="glyphicon glyphicon-remove"></span></a></td>
|
||||
</tr>
|
||||
@elseif($item->FormUsed=="tshirt-form")
|
||||
<tr>
|
||||
<td>{{ $sub_item->Size }}</td>
|
||||
<td>{{ $sub_item->Price }}</td>
|
||||
<td>{{ $sub_item->Quantity }}</td>
|
||||
<td><a class="btn btn-xs btn-link pull-right" href="{{ url('removeitem') }}/{{ $sub_item->Id }}"><span class="glyphicon glyphicon-remove"></span></a></td>
|
||||
</tr>
|
||||
@elseif($item->FormUsed=="quantity-form")
|
||||
<tr>
|
||||
<td>{{ $sub_item->Price }}</td>
|
||||
<td>{{ $sub_item->Quantity }}</td>
|
||||
<td><a class="btn btn-xs btn-link pull-right" href="{{ url('removeitem') }}/{{ $sub_item->Id }}"><span class="glyphicon glyphicon-remove"></span></a></td>
|
||||
</tr>
|
||||
|
||||
@else
|
||||
|
||||
@endif
|
||||
|
||||
@endif
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 order-summary" >
|
||||
<div class="row" style="background-color: #f5f5f5;">
|
||||
<div class="col-sm-12">
|
||||
@if(Session::has('msg'))
|
||||
<div class="alert alert-danger alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h4><i class="icon fa fa-ban"></i> ERROR:</h4>
|
||||
{{ Session::get('msg') }}
|
||||
</div>
|
||||
@endif
|
||||
<h3>Order Summary</h3>
|
||||
<hr class="hr-design">
|
||||
<h4 class="text-center">
|
||||
<b>Subtotal : </b> $ {{ $getSubtotal[0]->Subtotal }}
|
||||
</h4>
|
||||
<hr class="hr-design">
|
||||
<a @if($getSubtotal[0]->Subtotal <= 0 ) disabled @endif href="{{ url('getCheckout') }}" class="btn btn-primary btn-block" style="background-color: #ffc300; border-color: #e2ad00; text-align: -webkit-center;" ><img src="{{asset('/public/images/paypal1.png')}}" class="img img-responsive" style="height:30px;"></a><br>
|
||||
<a href="{{ url('/')}}" class="btn btn-default btn-block" type="submit">Continue Shopping</a>
|
||||
<br><br><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h3 style="color:#d2d2d2;">Your cart is currently empty.</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
@endsection
|
||||
111
resources/views/sublayouts/checkout.blade.php
Normal file
111
resources/views/sublayouts/checkout.blade.php
Normal file
@@ -0,0 +1,111 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
|
||||
<style>
|
||||
.previewImage{
|
||||
height: 150px;
|
||||
width: 110px;
|
||||
overflow:hidden;
|
||||
object-fit: contain;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<img src="{{asset('public/images/logo.png')}}" class="" height="100px" />
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{url('/')}}">Home</a></li>
|
||||
<li class="active">My Cart</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>My Cart</h1>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(count($row) > 0)
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
|
||||
@foreach($row as $item)
|
||||
|
||||
@if($item->Order == "Jersey")
|
||||
|
||||
@define $itemOrder = " (Jersey Only)"
|
||||
|
||||
@elseif ($item->Order == "Shorts")
|
||||
|
||||
@define $itemOrder = " (Shorts Only)"
|
||||
|
||||
@else
|
||||
|
||||
@define $itemOrder = " (w/ Shorts)"
|
||||
|
||||
@endif
|
||||
|
||||
<div style="border: 1px solid #e2e2e2; padding: 10px; margin-bottom: 10px;">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<a class="btn btn-link pull-right" href="{{ url('removeitem') }}/{{ $item->Id }}"><span class="glyphicon glyphicon-remove"></span></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
|
||||
<tr>
|
||||
<td rowspan="2" class="text-center"><img class="previewImage" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $item->Image }} "></td>
|
||||
<td colspan="5">
|
||||
<h4>{{ $item->ProductName }} {{ $itemOrder }} <br>Price: ${{ $item->Price }}</h4>
|
||||
</td>
|
||||
<tr>
|
||||
<td >Name: <br> @if($item->Name != '') {{ $item->Name }} @else -- @endif </td>
|
||||
<td >Number : <br>{{ $item->Number }}</td>
|
||||
<td >Size: <br>{{ $item->Size }}</td>
|
||||
<td >Quantity: <br>{{ $item->Quantity }}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div class="col-md-4" style="background-color: #f5f5f5;">
|
||||
<h4>Shipping</h4>
|
||||
<p>Ship to:</p>
|
||||
<p>{{ $array_address_book[0]->Fullname }}</p>
|
||||
<p>{{ $array_address_book[0]->Address }}, {{ $array_address_book[0]->State }}, {{ $array_address_book[0]->City }}, {{ $array_address_book[0]->ZipCode }} <a href="{{ url('user') }}">[ Edit ]</a> </p>
|
||||
|
||||
<hr>
|
||||
<h3>Order Summary</h3>
|
||||
<hr class="hr-design">
|
||||
<h4 class="text-center">
|
||||
<b>Subtotal : </b> $ {{ $getSubtotal[0]->Subtotal }}
|
||||
</h4>
|
||||
<hr class="hr-design">
|
||||
<a href="{{ url('payment-method') }}" class="btn btn-primary btn-block" >Place Order</a><br>
|
||||
<br><br><br>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h3 style="color:#d2d2d2;">Your cart is currently empty.</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
@endsection
|
||||
18
resources/views/sublayouts/index.blade.php
Normal file
18
resources/views/sublayouts/index.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
<!-- <div class="row">
|
||||
<div class="col-md-12">
|
||||
<img src="{{asset('public/images/logo.png')}}" class="" height="100px" />
|
||||
</div>
|
||||
</div>
|
||||
<hr> -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>Sports</h1>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div id="div_sportsList">
|
||||
|
||||
</div>
|
||||
@endsection
|
||||
38
resources/views/sublayouts/sports-category.blade.php
Normal file
38
resources/views/sublayouts/sports-category.blade.php
Normal file
@@ -0,0 +1,38 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>Category for {{ $array_sports[0]->SportsName }} </h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12" >
|
||||
<ul class="breadcrumb">
|
||||
<li class=""><a href="{{url()}}">Home</a></li>
|
||||
<li class="active"> Category</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@if(!empty($row))
|
||||
@foreach ($row as $r)
|
||||
<div class="col-md-3 col-sm-6 col-xs-12 list-sport">
|
||||
<div class="thumb-border">
|
||||
<a href="{{ url() }}/{{ Request::path() }}/{{ $r->Id }}">
|
||||
<img src="{{ asset('public/images/sports-category') }}/{{ $r->Thumbnail }}" alt="{{ $r->Category }}" class="image" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<h3 class="sports-title">{{ $r->Category }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@else
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<h3 class="no-record no-record">No Record Found.</h3>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
44
resources/views/sublayouts/sports-styles.blade.php
Normal file
44
resources/views/sublayouts/sports-styles.blade.php
Normal file
@@ -0,0 +1,44 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>Styles</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12" >
|
||||
<ul class="breadcrumb">
|
||||
<li class=""><a href="{{url()}}">Home</a></li>
|
||||
<li class=""><a href="{{url('sports')}}/{{ $cat }}">Category</a></li>
|
||||
<li class="active"> Styles</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@if(!empty($row ))
|
||||
@foreach ($row as $r)
|
||||
<div class="col-md-4 col-sm-4 col-xs-6">
|
||||
|
||||
<div class="text-center"><h2>{{ $r->TemplateName }}</h2></div>
|
||||
<div class="thumb-border" style="border:1px solid #e2e2e2; padding: 5px;">
|
||||
<a href="{{ url('/designer') }}/{{ md5($r->TemplateCode) }}">
|
||||
<img src="{{url('/public')}}/{{$r->Thumbnail}}" alt="" class="image" />
|
||||
</a>
|
||||
<!-- <div class="overlay">
|
||||
<div class="text" style="font-family:Academic M54;"><a href="">{{$r->TemplateName}}</a></div>
|
||||
</div> -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@else
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<h3 class="no-record no-record">No Record Found.</h3>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
370
resources/views/teamstore-layout/main.blade.php
Normal file
370
resources/views/teamstore-layout/main.blade.php
Normal file
@@ -0,0 +1,370 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
||||
<meta name="description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear.">
|
||||
<meta name="keywords" content="custom uniforms, footwear, athletic equipment, sporting goods">
|
||||
<meta name="author" content="Frank John Begornia">
|
||||
<meta name="csrf_token" content="{{ csrf_token() }}" />
|
||||
<meta name="company_url" content="{{ $store_array[0]->StoreUrl }}" />
|
||||
|
||||
<meta property="og:url" content="http://uniformnetwork.com/crew/" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content="CREW Uniform Customizer" />
|
||||
<meta property="og:description" content="Custom Uniforms offered in a variety colors to match your team. Browse through our baseball, fastpitch, softball, lacrosse, football, volleyball and basketball gear." />
|
||||
<meta property="og:image" content="{{asset('public/images/fb-share-logo.png')}}" />
|
||||
|
||||
<!-- favicons
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{asset('public/favicons/apple-touch-icon.png')}}">
|
||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-32x32.png')}}" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{{asset('public/favicons/favicon-16x16.png')}}" sizes="16x16">
|
||||
<link rel="manifest" href="{{asset('public/favicons/manifest.json')}}">
|
||||
<link rel="mask-icon" href="{{asset('public/favicons/safari-pinned-tab.svg')}}" color="#5bbad5">
|
||||
<meta name="theme-color" content="#ffffff">-->
|
||||
<!-- end favicons -->
|
||||
<title>{{ $store_array[0]->StoreName }} Team Store</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="{{asset('public/assets/css/bootstrap.min.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
||||
<link href="{{asset('public/assets/css/ie10-viewport-bug-workaround.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="{{asset('public/assets/css/style.css')}}" rel="stylesheet">
|
||||
|
||||
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
|
||||
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
|
||||
<script src="{{asset('public/assets/js/ie-emulation-modes-warning.js')}}"></script>
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
|
||||
<![endif]-->
|
||||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Social Media Share button
|
||||
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=599bc5cf6d61950012975405&product=sticky-share-buttons"></script>-->
|
||||
|
||||
<link href="{{asset('/public/designer/css/build.css')}}" rel="stylesheet">
|
||||
<style>
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@include('layout.navbar')
|
||||
<!-- Example row of columns -->
|
||||
@yield('content')
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript ================================================= !-->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script src="{{asset('public/assets/js/bootstrap.min.js')}}"></script>
|
||||
<!-- <script>window.jQuery || document.write('<script src="{{asset('public/assets/js/vendor/jquery.min.js')}}"><\/script>')</script> -->
|
||||
<!-- <script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script> -->
|
||||
<script src="{{asset('public/assets/js/jquery.validate.js')}}"></script>
|
||||
<!-- <script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script> -->
|
||||
<!-- <script src="{{asset('public/assets/js/crew-designer.js')}}"></script> -->
|
||||
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
myCart();
|
||||
$('.inputName').keyup(function() {
|
||||
this.value = this.value.toLocaleUpperCase();
|
||||
});
|
||||
$('.btn-number').click(function(e){
|
||||
e.preventDefault();
|
||||
|
||||
fieldName = $(this).attr('data-field');
|
||||
type = $(this).attr('data-type');
|
||||
var input = $("input[name='"+fieldName+"']");
|
||||
var currentVal = parseInt(input.val());
|
||||
if (!isNaN(currentVal)) {
|
||||
if(type == 'minus') {
|
||||
|
||||
if(currentVal > input.attr('min')) {
|
||||
input.val(currentVal - 1).change();
|
||||
}
|
||||
if(parseInt(input.val()) == input.attr('min')) {
|
||||
$(this).attr('disabled', true);
|
||||
}
|
||||
|
||||
} else if(type == 'plus') {
|
||||
|
||||
if(currentVal < input.attr('max')) {
|
||||
input.val(currentVal + 1).change();
|
||||
}
|
||||
if(parseInt(input.val()) == input.attr('max')) {
|
||||
$(this).attr('disabled', true);
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
input.val(0);
|
||||
}
|
||||
});
|
||||
|
||||
$('.input-number').focusin(function(){
|
||||
$(this).data('oldValue', $(this).val());
|
||||
});
|
||||
|
||||
$('.input-number').change(function() {
|
||||
|
||||
minValue = parseInt($(this).attr('min'));
|
||||
maxValue = parseInt($(this).attr('max'));
|
||||
valueCurrent = parseInt($(this).val());
|
||||
|
||||
name = $(this).attr('name');
|
||||
if(valueCurrent >= minValue) {
|
||||
$(".btn-number[data-type='minus'][data-field='"+name+"']").removeAttr('disabled')
|
||||
} else {
|
||||
alert('Sorry, the minimum value was reached');
|
||||
$(this).val($(this).data('oldValue'));
|
||||
}
|
||||
if(valueCurrent <= maxValue) {
|
||||
$(".btn-number[data-type='plus'][data-field='"+name+"']").removeAttr('disabled')
|
||||
} else {
|
||||
alert('Sorry, the maximum value was reached');
|
||||
$(this).val($(this).data('oldValue'));
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
$(".input-number").keydown(function (e) {
|
||||
// Allow: backspace, delete, tab, escape, enter and .
|
||||
if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 190]) !== -1 ||
|
||||
// Allow: Ctrl+A
|
||||
(e.keyCode == 65 && e.ctrlKey === true) ||
|
||||
// Allow: home, end, left, right
|
||||
(e.keyCode >= 35 && e.keyCode <= 39)) {
|
||||
// let it happen, don't do anything
|
||||
return;
|
||||
}
|
||||
// Ensure that it is a number and stop the keypress
|
||||
if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
$('.multi-item-carousel .item').each(function(){
|
||||
var next = $(this).next();
|
||||
if (!next.length) {
|
||||
next = $(this).siblings(':first');
|
||||
}
|
||||
|
||||
next.children(':first-child').clone().appendTo($(this));
|
||||
|
||||
|
||||
for (var i=0; i<2; i++){
|
||||
|
||||
next=next.next();
|
||||
|
||||
if (!next.length){
|
||||
next=$(this).siblings(':first');
|
||||
}
|
||||
next.children(':first-child').clone().appendTo($(this));
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
$('#jersey_chk').click(function(){
|
||||
|
||||
var product_price = $('#product_price').val();
|
||||
var getPriceHold = $('#price_holder').val();
|
||||
var getHalf = getPriceHold / 2;
|
||||
|
||||
if($(this).is(':checked')){
|
||||
$('.td-hide').css('display', '');
|
||||
$('.th-hide').css('display', '');
|
||||
|
||||
$('#product_price').val(Number(product_price) + Number(getHalf));
|
||||
$('#display-product-price').html('$ ' + $('#product_price').val());
|
||||
// console.log($('#product_price').val() - getHalf);
|
||||
}else{
|
||||
$('.cls-uniformName').val('');
|
||||
$('.td-hide').css('display', 'none');
|
||||
$('.th-hide').css('display', 'none');
|
||||
|
||||
$('#product_price').val(Number(product_price) - Number(getHalf));
|
||||
$('#display-product-price').html('$ ' + $('#product_price').val());
|
||||
// console.log($('#product_price').val() + getHalf);
|
||||
}
|
||||
// console.log($(this).is(':checked'));
|
||||
});
|
||||
|
||||
$('#shorts_chk').click(function(){
|
||||
|
||||
var product_price = $('#product_price').val();
|
||||
var getPriceHold = $('#price_holder').val();
|
||||
var getHalf = getPriceHold / 2;
|
||||
|
||||
if($(this).is(':checked')){
|
||||
$('#product_price').val(Number(product_price) + Number(getHalf));
|
||||
$('#display-product-price').html('$ ' + $('#product_price').val());
|
||||
}else{
|
||||
|
||||
$('#product_price').val(Number(product_price) - Number(getHalf));
|
||||
$('#display-product-price').html('$ ' + $('#product_price').val());
|
||||
}
|
||||
});
|
||||
|
||||
// $(document).on('change', '#product_price', function() {
|
||||
// var product_price = $('#product_price').val();
|
||||
// $('#display-product-price').html('$ ' + product_price);
|
||||
// });
|
||||
|
||||
|
||||
$(document).on('input keyup', '.capitalizeText', function() {
|
||||
$(this).val($(this).val().toUpperCase());
|
||||
});
|
||||
|
||||
$('.image-thumbnails').click(function(){
|
||||
// console.log($(this))
|
||||
// console.log($(this).attr('src'))
|
||||
$('#main-thumbnail').attr('src', $(this).attr('src'));
|
||||
|
||||
$('.a_thumbnail').removeClass('active');
|
||||
$(this).parent().addClass('active');
|
||||
});
|
||||
|
||||
$(document).on('button click', '.removeRow', function(){
|
||||
var str = $(this).closest('tr').attr('class');
|
||||
var trCount = $('#tableRow tbody').children('tr').length;
|
||||
|
||||
if(trCount == 2){
|
||||
return false;
|
||||
}
|
||||
|
||||
if(trCount == 3){
|
||||
$('#addnew-btn-tbl-row').remove();
|
||||
$('.tr-remove-btn').html('<button type="button" id="addNewRow" class="btn btn-success btn-sm btn-roster-action" data-toggle="tooltip" title="Add Another"><i class="fa fa-plus" aria-hidden="true"></i></button>');
|
||||
}
|
||||
$('.'+str).remove();
|
||||
});
|
||||
|
||||
$("#frm-order-list").validate({
|
||||
|
||||
rules: {
|
||||
|
||||
'order_jersey_size[]': {
|
||||
required: true
|
||||
},
|
||||
'order_shorts_size[]': {
|
||||
required: true
|
||||
},
|
||||
'order_number[]': {
|
||||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
messages: {},
|
||||
errorPlacement: function(error, element) {
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).html(error);
|
||||
}
|
||||
},
|
||||
|
||||
success: function(error, element) {
|
||||
var placement = $(element).data('error');
|
||||
if (placement) {
|
||||
$(placement).html('');
|
||||
}
|
||||
},
|
||||
submitHandler: submitOrderListForm
|
||||
});
|
||||
|
||||
function submitOrderListForm(){
|
||||
var data = $("#frm-order-list").serializeArray();
|
||||
|
||||
$.ajax({
|
||||
type : 'POST',
|
||||
url : "{{ url('teamstore/q/add-to-cart') }}",
|
||||
data : data,
|
||||
dataType: 'json',
|
||||
beforeSend:function(xhr){
|
||||
var token = $('meta[name="csrf_token"]').attr('content');
|
||||
|
||||
if (token) {
|
||||
return xhr.setRequestHeader('X-CSRF-TOKEN', token);
|
||||
}
|
||||
xhr.setRequestHeader( 'X-Requested-With', 'XMLHttpRequest');
|
||||
},
|
||||
success : function(response){
|
||||
|
||||
if(response.success){
|
||||
window.location = "{{ url('cart') }}";
|
||||
}else{
|
||||
alert(response.message);
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
});
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
$(document).on('button click', '#addNewRow', function(){
|
||||
var TemplateCode = $('#template_code').val();
|
||||
// console.log(TemplateCode)
|
||||
var orderCounterValue = $('#orderCounterValue').val();
|
||||
var numi = document.getElementById('orderCounterValue');
|
||||
var num = (document.getElementById('orderCounterValue').value -1) + 2;
|
||||
numi.value = num;
|
||||
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
type: "POST",
|
||||
url: "{{ url('/designer/a/add-new-row') }}",
|
||||
data:{
|
||||
|
||||
itemCount : num,
|
||||
tempCode : TemplateCode
|
||||
},
|
||||
|
||||
dataType: "html", //expect html to be returned
|
||||
beforeSend:function(xhr){
|
||||
var token = $('meta[name="csrf_token"]').attr('content');
|
||||
|
||||
if (token) {
|
||||
return xhr.setRequestHeader('X-CSRF-TOKEN', token);
|
||||
}
|
||||
xhr.setRequestHeader( 'X-Requested-With', 'XMLHttpRequest');
|
||||
},
|
||||
success: function(response){
|
||||
var className = "row" + (num - 1);
|
||||
$('.tr-remove-btn').html('<button type="button" class="btn btn-danger btn-sm removeRow btn-roster-action" data-toggle="tooltip" title="Remove"><i class="fa fa-remove" aria-hidden="true"></i></button>');
|
||||
$('#addnew-btn-tbl-row').remove();
|
||||
$('#tableRow tbody').append(response);
|
||||
$('#orderListPanel').scrollTop($('#orderListPanel')[0].scrollHeight);
|
||||
$('.inputName').keyup(function() {
|
||||
this.value = this.value.toLocaleUpperCase();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
}); //end document ready
|
||||
|
||||
function myCart(){
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
|
||||
type: "GET",
|
||||
url: "{{url('cartcount')}}",
|
||||
dataType: "html",
|
||||
success: function(response){
|
||||
$("#my-cart-count").html(response);
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,108 @@
|
||||
<style>
|
||||
tbody#orderTableBody>tr>td {
|
||||
padding: 0px !important;
|
||||
}
|
||||
.panel-design-details{
|
||||
max-height: 300px;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<!-- <h1>{{ $product_array[0]->ProductName }} <small id="display-product-price">$ {{ $product_array[0]->ProductPrice }} </small></h1> -->
|
||||
<h1>{{ $product_array[0]->ProductName }}</h1>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<form id="frm-order-list">
|
||||
<input type="hidden" value="1" id="orderCounterValue" name="orderCounterValue" />
|
||||
<input type="hidden" value="{{ $product_array[0]->Id }}" id="product_id" name="product_id" />
|
||||
<input type="hidden" name="product_price" id="product_price" value="{{ $product_array[0]->ProductPrice }}">
|
||||
<input type="hidden" name="price_holder" id="price_holder" value="{{ $product_array[0]->ProductPrice }}">
|
||||
<input type="hidden" name="template_code" id="template_code" value="{{ $product_array[0]->TemplateCode }}">
|
||||
<input type="hidden" name="store_url" id="store_url" value="{{ $store_array[0]->StoreUrl }}">
|
||||
|
||||
|
||||
<div class="panel-design-details" id="orderListPanel">
|
||||
<table class="table" id="tableRow" style="font-size:12px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<!-- <th>#</th> -->
|
||||
<th class="col-md-4">Name</th>
|
||||
<th class="col-md-2">Number</th>
|
||||
<th class="col-md-3">Jersey Size</th>
|
||||
<th class="col-md-3">Shorts Size</th>
|
||||
<th class="text-center"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="orderTableBody">
|
||||
<tr class="table-tr-1">
|
||||
<td>
|
||||
<input type="text" name="order_names[]" id="order_names" class="form-control input-sm inputName roster-input" placeholder="Name">
|
||||
</td>
|
||||
<td>
|
||||
<!-- <input type="text" name="order_numbers[]" id="order_numbers" class="form-control input-sm inputName" placeholder="Number"> -->
|
||||
<select class="form-control input-sm roster-input" name="order_number[]" id="order_number">
|
||||
<option value="none">none</option>
|
||||
@for($i = 0; $i <= 99; $i++)
|
||||
<option value="{{ $i }}">{{ $i }}</option>
|
||||
@endfor
|
||||
<option value="00">00</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-control input-sm order-size roster-input" name="order_jersey_size[]" id="order_jersey_size_1" data-row-number="1">
|
||||
<option value="none">none</option>
|
||||
@foreach($sizes_array as $size)
|
||||
<option value="{{ $size->Size }}">{{ $size->Size }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</td>
|
||||
<td style="border-right: 1px solid #ddd;">
|
||||
<select class="form-control input-sm order-size roster-input" name="order_shorts_size[]" id="order_shorts_size_1" data-row-number="1">
|
||||
<option value="none">none</option>
|
||||
@foreach($sizes_array as $size)
|
||||
<option value="{{ $size->Size }}">{{ $size->Size }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</td>
|
||||
<td id="action-column" class="text-center" style="padding: 4px !important; border-top: none">
|
||||
<span class="tr-remove-btn">
|
||||
<button type="button" id="addNewRow" class="btn btn-success btn-sm btn-roster-action" data-toggle="tooltip" title="Add Another"><i class="fa fa-plus" aria-hidden="true"></i></button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- <hr class="hr-design"> -->
|
||||
<div id="displayqty"></div>
|
||||
<br>
|
||||
<button class="btn btn-primary pull-right" type="submit" id="btn-add-to-cart"><span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> Add to Cart</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spacer-top"></div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active"><a href="#productDescription" aria-controls="productDescription" role="tab" data-toggle="tab">Desciption</a></li>
|
||||
</ul>
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="tab-pane active" id="productDescription">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p>
|
||||
{{ $product_array[0]->ProductDescription }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,77 @@
|
||||
<style>
|
||||
tbody#orderTableBody>tr>td {
|
||||
padding: 0px !important;
|
||||
}
|
||||
.panel-design-details{
|
||||
max-height: 300px;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<!-- <h1>{{ $product_array[0]->ProductName }} <small id="display-product-price">$ {{ $product_array[0]->ProductPrice }} </small></h1> -->
|
||||
<h1>{{ $product_array[0]->ProductName }}</h1>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<form id="frm-order-list">
|
||||
<input type="hidden" value="1" id="orderCounterValue" name="orderCounterValue" />
|
||||
<input type="hidden" value="{{ $product_array[0]->Id }}" id="product_id" name="product_id" />
|
||||
<input type="hidden" name="product_price" id="product_price" value="{{ $product_array[0]->ProductPrice }}">
|
||||
<input type="hidden" name="price_holder" id="price_holder" value="{{ $product_array[0]->ProductPrice }}">
|
||||
<input type="hidden" name="template_code" id="template_code" value="{{ $product_array[0]->TemplateCode }}">
|
||||
<input type="hidden" name="store_url" id="store_url" value="{{ $store_array[0]->StoreUrl }}">
|
||||
|
||||
<!-- <div class="panel-design-details" id="orderListPanel">
|
||||
|
||||
</div> -->
|
||||
<div class="form-group">
|
||||
<label class="control-label">Quantity <span class="required">*</span></label>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-default btn-number" disabled="disabled" data-type="minus" data-field="quantity">
|
||||
<span class="glyphicon glyphicon-minus"></span>
|
||||
</button>
|
||||
</span>
|
||||
<input type="text" name="quantity" class="form-control input-number" value="1" min="1" max="100">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-default btn-number" data-type="plus" data-field="quantity">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <hr class="hr-design"> -->
|
||||
<div id="displayqty"></div>
|
||||
<br>
|
||||
<button class="btn btn-primary pull-right" type="submit" id="btn-add-to-cart"><span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> Add to Cart</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spacer-top"></div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active"><a href="#productDescription" aria-controls="productDescription" role="tab" data-toggle="tab">Desciption</a></li>
|
||||
</ul>
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="tab-pane active" id="productDescription">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p>
|
||||
{{ $product_array[0]->ProductDescription }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,91 @@
|
||||
<style>
|
||||
tbody#orderTableBody>tr>td {
|
||||
padding: 0px !important;
|
||||
}
|
||||
.panel-design-details{
|
||||
max-height: 300px;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<!-- <h1>{{ $product_array[0]->ProductName }} <small id="display-product-price">$ {{ $product_array[0]->ProductPrice }} </small></h1> -->
|
||||
<h1>{{ $product_array[0]->ProductName }}</h1>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<form id="frm-order-list">
|
||||
<input type="hidden" value="1" id="orderCounterValue" name="orderCounterValue" />
|
||||
<input type="hidden" value="{{ $product_array[0]->Id }}" id="product_id" name="product_id" />
|
||||
<input type="hidden" name="product_price" id="product_price" value="{{ $product_array[0]->ProductPrice }}">
|
||||
<input type="hidden" name="price_holder" id="price_holder" value="{{ $product_array[0]->ProductPrice }}">
|
||||
<input type="hidden" name="template_code" id="template_code" value="{{ $product_array[0]->TemplateCode }}">
|
||||
<input type="hidden" name="store_url" id="store_url" value="{{ $store_array[0]->StoreUrl }}">
|
||||
|
||||
<!-- <div class="panel-design-details" id="orderListPanel">
|
||||
|
||||
</div> -->
|
||||
<div class="form-group">
|
||||
<label class="control-label">Size <span class="required">*</span></label>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<select class="form-control input-sm cls-uniformSize" name="uniformSize" data-error="#err-uniformSize" required >
|
||||
<option value="">Select Size</option>
|
||||
@foreach($sizes_array as $size)
|
||||
<option value="{{ $size->Size }}">{{ $size->Size }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
<span id="err-uniformSize" style="color: #dd4b39"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label">Quantity <span class="required">*</span></label>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-default btn-number" disabled="disabled" data-type="minus" data-field="quantity">
|
||||
<span class="glyphicon glyphicon-minus"></span>
|
||||
</button>
|
||||
</span>
|
||||
<input type="text" name="quantity" class="form-control input-number" value="1" min="1" max="100">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-default btn-number" data-type="plus" data-field="quantity">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <hr class="hr-design"> -->
|
||||
<div id="displayqty"></div>
|
||||
<br>
|
||||
<button class="btn btn-primary pull-right" type="submit" id="btn-add-to-cart"><span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> Add to Cart</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spacer-top"></div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active"><a href="#productDescription" aria-controls="productDescription" role="tab" data-toggle="tab">Desciption</a></li>
|
||||
</ul>
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="tab-pane active" id="productDescription">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p>
|
||||
{{ $product_array[0]->ProductDescription }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
155
resources/views/teamstore-sublayouts/index.blade.php
Normal file
155
resources/views/teamstore-sublayouts/index.blade.php
Normal file
@@ -0,0 +1,155 @@
|
||||
@extends('teamstore-layout.main')
|
||||
@section('content')
|
||||
<style>
|
||||
h2 {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 40px;
|
||||
|
||||
}
|
||||
/* h2:after {
|
||||
display: inline-block;
|
||||
margin: 0 0 8px 20px;
|
||||
height: 3px;
|
||||
content: " ";
|
||||
text-shadow: none;
|
||||
background-color: #000;
|
||||
width: 140px;
|
||||
}
|
||||
h2:before {
|
||||
display: inline-block;
|
||||
margin: 0 20px 8px 0;
|
||||
height: 3px;
|
||||
content: " ";
|
||||
text-shadow: none;
|
||||
background-color: #000;
|
||||
width: 140px;
|
||||
} */
|
||||
h4{
|
||||
font-weight: 600;
|
||||
}
|
||||
p{
|
||||
font-size: 12px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.price{
|
||||
font-size: 25px;
|
||||
margin: 0 auto;
|
||||
color: #333;
|
||||
}
|
||||
.right{
|
||||
float:right;
|
||||
border-bottom: 2px solid #4B8E4B;
|
||||
}
|
||||
.thumbnail{
|
||||
/* opacity:0.70; */
|
||||
-webkit-transition: all 0.5s;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.thumbnail:hover{
|
||||
opacity:1.00;
|
||||
box-shadow: 0px 0px 10px #4bc6ff;
|
||||
}
|
||||
.line{
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.thumbnail>img{
|
||||
height:201.84px;
|
||||
}
|
||||
@media screen and (max-width: 770px) {
|
||||
.right{
|
||||
float:left;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px){
|
||||
.container .jumbotron, .container-fluid .jumbotron {
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
}
|
||||
.container .jumbotron, .container-fluid .jumbotron{
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
|
||||
.jumbotron {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
background-image: url("{{asset('public/images/teamstore') . '/' . $store_array[0]->StoreUrl . '/' . $store_array[0]->StoreBanner }}");
|
||||
background-color: #f3f3f3;
|
||||
height: 128px;
|
||||
}
|
||||
|
||||
.store-name{
|
||||
|
||||
background-color: #ffffff;
|
||||
position: absolute;
|
||||
padding: 10px;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="jumbotron">
|
||||
<!-- <div class="store-name">
|
||||
<h4><img src="https://img.icons8.com/ios/40/000000/online-store-filled.png"> {{ $store_array[0]->StoreName }}</h4>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h2>FEATURED PRODUCT</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- BEGIN PRODUCTS -->
|
||||
|
||||
@foreach($product_array as $i => $product)
|
||||
@if($product->PrivacyStatus == "public")
|
||||
@foreach($thumbnails as $t => $thumb)
|
||||
@if($thumb['product_id'] == $product->Id)
|
||||
@define $storeFolder = $thumb['folder']
|
||||
@define $filename = $thumb['thumb']
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
<div class="col-md-3 col-sm-6">
|
||||
<span class="thumbnail">
|
||||
<img src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $filename }}" alt="{{ $product->ProductName }}" >
|
||||
<h4>{{ $product->ProductName }}</h4>
|
||||
<!-- (w/ Shorts) -->
|
||||
<!-- <div class="ratings">
|
||||
<span class="glyphicon glyphicon-star"></span>
|
||||
<span class="glyphicon glyphicon-star"></span>
|
||||
<span class="glyphicon glyphicon-star"></span>
|
||||
<span class="glyphicon glyphicon-star"></span>
|
||||
<span class="glyphicon glyphicon-star-empty"></span>
|
||||
</div> -->
|
||||
|
||||
<!-- <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> -->
|
||||
<hr class="line">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<p class="price">$ {{ $product->ProductPrice }}</p>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<a href="{{ url('teamstore') }}/{{ $store_array[0]->StoreUrl }}/product/{{ $product->ProductURL }}" class="btn btn-success right" > View Details</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
<!-- END PRODUCTS -->
|
||||
|
||||
</div>
|
||||
</div> <!-- cotainer -->
|
||||
@endsection
|
||||
39
resources/views/teamstore-sublayouts/login.blade.php
Normal file
39
resources/views/teamstore-sublayouts/login.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
@extends('app')
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="text-center">
|
||||
Team Store Login
|
||||
</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@if (\Session::has('errors'))
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> {!! \Session::get('errors') !!}.<br><br>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form class="form-horizontal" role="form" method="POST" action="teamstore/checkpassword">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Password</label>
|
||||
<div class="col-md-6">
|
||||
<input type="password" class="form-control" name="password">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-6 col-md-offset-4">
|
||||
<button type="submit" class="btn btn-primary btn-block">Login</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
216
resources/views/teamstore-sublayouts/product-details.blade.php
Normal file
216
resources/views/teamstore-sublayouts/product-details.blade.php
Normal file
@@ -0,0 +1,216 @@
|
||||
@extends('teamstore-layout.main')
|
||||
@section('content')
|
||||
<style>
|
||||
|
||||
p{
|
||||
font-size: 12px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.price{
|
||||
font-size: 25px;
|
||||
margin: 0 auto;
|
||||
color: #333;
|
||||
}
|
||||
.right{
|
||||
float:right;
|
||||
border-bottom: 2px solid #4B8E4B;
|
||||
}
|
||||
.thumbnail{
|
||||
/* opacity:0.70; */
|
||||
-webkit-transition: all 0.5s;
|
||||
transition: all 0.5s;
|
||||
}
|
||||
/* .thumbnail:hover{
|
||||
opacity:1.00;
|
||||
box-shadow: 0px 0px 10px #4bc6ff;
|
||||
} */
|
||||
.line{
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
@media screen and (max-width: 770px) {
|
||||
.right{
|
||||
float:left;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.product-thumbnails {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
position: relative;
|
||||
border : 1px solid #999;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.product-thumbnails > img {
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
/* one by one slider */
|
||||
|
||||
.multi-item-carousel .carousel-inner>.item,
|
||||
.multi-item-carousel-clipart .carousel-inner>.item {
|
||||
-webkit-transition: 200ms ease-in-out left;
|
||||
transition: 200ms ease-in-out left;
|
||||
}
|
||||
|
||||
.multi-item-carousel .carousel-inner .active.left {
|
||||
left: -25%;
|
||||
}
|
||||
|
||||
.multi-item-carousel .carousel-inner .active.right,
|
||||
.multi-item-carousel-clipart .carousel-inner .active.right {
|
||||
left: 25%;
|
||||
}
|
||||
|
||||
.multi-item-carousel .carousel-inner .next,
|
||||
.multi-item-carousel-clipart .carousel-inner .next {
|
||||
left: 25%;
|
||||
}
|
||||
|
||||
.multi-item-carousel .carousel-inner .prev,
|
||||
.multi-item-carousel-clipart .carousel-inner .prev {
|
||||
left: -25%;
|
||||
}
|
||||
|
||||
@media all and (transform-3d),
|
||||
(-webkit-transform-3d) {
|
||||
.multi-item-carousel .carousel-inner>.item {
|
||||
-webkit-transition: 200ms ease-in-out all;
|
||||
transition: 200ms ease-in-out all;
|
||||
-webkit-backface-visibility: visible;
|
||||
backface-visibility: visible;
|
||||
-webkit-transform: none!important;
|
||||
transform: none!important;
|
||||
}
|
||||
}
|
||||
|
||||
.multi-item-carousel .carouse-control.left,
|
||||
.multi-item-carousel .carouse-control.right {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.carousel-inner>.item>a>img,
|
||||
.carousel-inner>.item>img,
|
||||
.img-responsive,
|
||||
.thumbnail a>img,
|
||||
.thumbnail>img {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.carousel-control.left,
|
||||
.carousel-control.right {
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.carousel-control.left {
|
||||
margin-left: -35px;
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.carousel-control.right {
|
||||
margin-right: -35px;
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.carousel-control {
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
.custom-chevron-left,
|
||||
.custom-chevron-right {
|
||||
color: grey;
|
||||
}
|
||||
/* end single carousel*/
|
||||
|
||||
.hide-bullets {
|
||||
list-style:none;
|
||||
margin-left: -40px;
|
||||
margin-top:20px;
|
||||
}
|
||||
.spacer-top{
|
||||
margin-top: 40px;
|
||||
}
|
||||
.roster-input{
|
||||
border-radius: 0px;
|
||||
border-right: none;
|
||||
border-top: none;
|
||||
}
|
||||
.table-bordered>thead>tr>td, .table-bordered>thead>tr>th{
|
||||
border-bottom-width: 0px;
|
||||
}
|
||||
.btn-roster-action{
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.btn-group-sm>.btn, .btn-roster-action {
|
||||
padding: 0px 0px;
|
||||
}
|
||||
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
|
||||
vertical-align: unset;
|
||||
}
|
||||
|
||||
.table>thead>tr>th{
|
||||
border-bottom:none;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="{{ url('teamstore') }}/{{ $store_array[0]->StoreUrl }}">Home</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ $product_array[0]->ProductName }}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- BEGIN PRODUCTS -->
|
||||
|
||||
<div class="col-md-5 col-sm-5">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@foreach($thumbnails_array as $thumbnail)
|
||||
@if($thumbnail->ImageClass == 'active')
|
||||
<img id="main-thumbnail" class="img img-responsive product-center" style="height:287px;" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $thumbnail->Image }}"/>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr class="line">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ul class="hide-bullets">
|
||||
@foreach($thumbnails_array as $thumbnail)
|
||||
<li class="col-sm-3 col-xs-3">
|
||||
<a class="thumbnail a_thumbnail {{ $thumbnail->ImageClass }}">
|
||||
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $thumbnail->Image }}"/>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-7 col-sm-7">
|
||||
@include('teamstore-sublayouts.forms.'.$product_array[0]->ProductForm)
|
||||
</div>
|
||||
<!-- END PRODUCTS -->
|
||||
</div> <!-- container -->
|
||||
</div>
|
||||
@endsection
|
||||
48
resources/views/teamstore-sublayouts/stores.blade.php
Normal file
48
resources/views/teamstore-sublayouts/stores.blade.php
Normal file
@@ -0,0 +1,48 @@
|
||||
@extends('app')
|
||||
@section('content')
|
||||
|
||||
<style>
|
||||
a.thumbnail>img {
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
.hide-bullets {
|
||||
list-style:none;
|
||||
margin-left: -40px;
|
||||
margin-top:20px;
|
||||
}
|
||||
.thumbnail{
|
||||
border: none;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.li-custom{
|
||||
padding:10px;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h2 class="col-xs-12">Team Stores</h2>
|
||||
</div><!-- /row -->
|
||||
<div class="row">
|
||||
|
||||
<div class="col-xs-12 col-sm-12">
|
||||
<div class="row hidden-xs" id="slider-thumbs">
|
||||
<!-- Bottom switcher of slider -->
|
||||
<ul class="hide-bullets">
|
||||
|
||||
@foreach ($stores_array as $store)
|
||||
<li class="li-custom col-sm-3">
|
||||
<div style="border: 1px solid #dddddd;">
|
||||
<a class="thumbnail" href="{{ url('teamstore') . '/' . $store->StoreUrl }}">
|
||||
<img src="{{asset('public/images/teamstore') . '/' . $store->StoreUrl . '/' . $store->StoreLogo }}">
|
||||
</a>
|
||||
<h4 style="border-top: 1px solid #dddddd; padding: 10px;" class="text-center">{{ $store->StoreName }}</h4>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- /col -->
|
||||
</div><!-- /row -->
|
||||
</div><!-- /container -->
|
||||
@endsection
|
||||
62
resources/views/user-layouts/address_book.blade.php
Normal file
62
resources/views/user-layouts/address_book.blade.php
Normal file
@@ -0,0 +1,62 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Address Book
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li class="active">Address Book</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<!-- <h3 class="box-title">
|
||||
Current Address Book
|
||||
|
||||
</h3> -->
|
||||
@if(count($array_address_book) <= 0)
|
||||
<a href="{{ url('user/address-book/create') }}" class="btn btn-primary pull-right btn-sm"><i class="fa fa-plus"></i> Add New Address</a>
|
||||
@endif
|
||||
</div>
|
||||
<div class="box-body custom-box-body">
|
||||
<table class="table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Full name</th>
|
||||
<th>Address</th>
|
||||
<th>Postcode</th>
|
||||
<th>Phone Number</th>
|
||||
<th class="text-center">Action</th>
|
||||
</tr>
|
||||
@foreach($array_address_book as $row)
|
||||
<tr>
|
||||
<td>{{ $row->Fullname }}</td>
|
||||
<td>{{ $row->Address }}</td>
|
||||
<td>{{ $row->State }}, {{ $row->City }}, {{ $row->ZipCode }}</td>
|
||||
<td>{{ $row->ContactNumber }}</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ url('user/address-book/edit/') }}/{{ $row->Id }}" class="btn btn-default btn-xs"><i class="fa fa-edit"></i> Edit</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
90
resources/views/user-layouts/change_password.blade.php
Normal file
90
resources/views/user-layouts/change_password.blade.php
Normal file
@@ -0,0 +1,90 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Change Password
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="{{ url ('user/profile') }}"><i class="fa fa-user"></i> My Profile</a></li>
|
||||
<li class="active">Change Password</li>
|
||||
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<h3 class="box-title">
|
||||
Edit Password
|
||||
</h3>
|
||||
</div>
|
||||
<form role="form" id="frm-change-password">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<div class="form-group">
|
||||
<label>Current Password</label>
|
||||
<div class="input-group">
|
||||
<input type="password" class="form-control" id="current_password" name="current_password" placeholder="Enter your current password">
|
||||
<span class="input-group-addon">
|
||||
<div class="checkbox checkbox-inline">
|
||||
<input type="checkbox" class="styled" id="chk-currentpass">
|
||||
<label for="chk-currentpass"> Show String</label>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<div class="form-group">
|
||||
<label>New Password</label>
|
||||
<div class="input-group">
|
||||
<input type="password" class="form-control" id="new_password" name="new_password" placeholder="Enter your new password">
|
||||
<span class="input-group-addon">
|
||||
<div class="checkbox checkbox-inline">
|
||||
<input type="checkbox" class="styled" id="chk-newpass">
|
||||
<label for="chk-newpass"> Show String</label>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<div class="form-group">
|
||||
<label>Confirm New Password</label>
|
||||
<div class="input-group">
|
||||
<input type="password" class="form-control" id="con_new_password" name="con_new_password" placeholder="Enter your confirm new password">
|
||||
<span class="input-group-addon">
|
||||
<div class="checkbox checkbox-inline">
|
||||
<input type="checkbox" class="styled" id="chk-con-newpass">
|
||||
<label for="chk-con-newpass"> Show String</label>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="submit" class="btn btn-primary btn-custom-save">update</button>
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
81
resources/views/user-layouts/create_address_book.blade.php
Normal file
81
resources/views/user-layouts/create_address_book.blade.php
Normal file
@@ -0,0 +1,81 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Address Book
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="{{ url ('user/address-book') }}""><i class="fa fa-address-book-o"></i> Address Book</a></li>
|
||||
<li class="active">Add New Address</li>
|
||||
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<h3 class="box-title">
|
||||
Add New Address
|
||||
</h3>
|
||||
</div>
|
||||
<form role="form" id="frm-create-address-book">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>Fullname</label>
|
||||
<input type="text" class="form-control" name="fullname" placeholder="Fullaname">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Mobile Number</label>
|
||||
<input type="text" class="form-control" name="mobilenumber" placeholder="Please enter your mobile number">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Other Notes</label>
|
||||
<input type="text" class="form-control" name="othernotes" placeholder="Please enter your notes">
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>House Number, Building and Street Name</label>
|
||||
<input type="text" class="form-control" name="address" placeholder="Please enter your House Number, Building and Street Name">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>State</label>
|
||||
<select class="form-control" name="state" id="lst-states" >
|
||||
<option value="">Select State</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>City</label>
|
||||
<select class="form-control" name="city" id="lst-cities">
|
||||
<option value="">Select City</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Zip Code</label>
|
||||
<input type="text" class="form-control" name="zipcode" placeholder="Please enter your zip code">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="submit" class="btn btn-primary btn-custom-save">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
81
resources/views/user-layouts/edit_address_book.blade.php
Normal file
81
resources/views/user-layouts/edit_address_book.blade.php
Normal file
@@ -0,0 +1,81 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Address Book
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="{{ url ('user/address-book') }}""><i class="fa fa-address-book-o"></i> Address Book</a></li>
|
||||
<li class="active">Edit Address Book</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<h3 class="box-title">
|
||||
Edit Address
|
||||
</h3>
|
||||
</div>
|
||||
<form role="form" id="frm-edit-address-book">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<input type="hidden" class="form-control" name="id" value="{{ $array_address_book[0]->Id }}">
|
||||
<div class="form-group">
|
||||
<label>Fullname</label>
|
||||
<input type="text" class="form-control" name="fullname" placeholder="Fullaname" value="{{ $array_address_book[0]->Fullname }}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Mobile Number</label>
|
||||
<input type="text" class="form-control" name="mobilenumber" placeholder="Please enter your mobile number" value="{{ $array_address_book[0]->ContactNumber }}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Other Notes</label>
|
||||
<input type="text" class="form-control" name="othernotes" placeholder="Please enter your notes" value="{{ $array_address_book[0]->OtherNotes }}">
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>House Number, Building and Street Name</label>
|
||||
<input type="text" class="form-control" name="address" placeholder="Please enter your House Number, Building and Street Name" value="{{ $array_address_book[0]->Address }}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>State</label>
|
||||
<select class="form-control" name="state" id="lst-states" data-selected="{{ $array_address_book[0]->State }}">
|
||||
<option value="">Select State</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>City</label>
|
||||
<select class="form-control" name="city" id="lst-cities" data-selected="{{ $array_address_book[0]->City }}">
|
||||
<option value="">Select City</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Zip Code</label>
|
||||
<input type="text" class="form-control" name="zipcode" placeholder="Please enter your zip code" value="{{ $array_address_book[0]->ZipCode }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="submit" class="btn btn-primary btn-custom-save">Update</button>
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
87
resources/views/user-layouts/edit_profile.blade.php
Normal file
87
resources/views/user-layouts/edit_profile.blade.php
Normal file
@@ -0,0 +1,87 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Edit Profile
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="{{ url ('user/profile') }}"><i class="fa fa-user"></i> My Profile</a></li>
|
||||
<li class="active">Edit Profile</li>
|
||||
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<h3 class="box-title">
|
||||
Personal Info
|
||||
</h3>
|
||||
</div>
|
||||
<form role="form" id="frm-edit-profile">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Fullname</label>
|
||||
<input type="text" class="form-control" name="fullname" placeholder="Fullaname" value="{{ $array_profile_info[0]->name }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Email Address</label>
|
||||
<input type="email" class="form-control" name="email" placeholder="Please enter your email address" value="{{ $array_profile_info[0]->email }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Mobile Number</label>
|
||||
<p>
|
||||
<input type="text" class="form-control" name="contactnumber" placeholder="Please enter your mobile number" value="{{ $array_profile_info[0]->ContactNumber }}">
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Birthday</label>
|
||||
|
||||
<div class="input-group">
|
||||
<input type="text" id="datepicker_bday" name="birthday" placeholder="Please enter your birthdate" class="form-control" value="{{ date('m/d/Y', strtotime($array_profile_info[0]->Birthday)) }}"><span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Gender</label>
|
||||
<select class="form-control" name="gender">
|
||||
<option value="Male" @if($array_profile_info[0]->Gender == "Male") selected @endif>Male</option>
|
||||
<option value="Female" @if($array_profile_info[0]->Gender == "Female") selected @endif>Female</option>
|
||||
</select>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="submit" class="btn btn-primary btn-custom-save">update</button>
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
62
resources/views/user-layouts/email_verify.blade.php
Normal file
62
resources/views/user-layouts/email_verify.blade.php
Normal file
@@ -0,0 +1,62 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Email Verification
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="{{ url ('user/profile') }}"><i class="fa fa-user"></i> Profile</a></li>
|
||||
<li class="active">Email Verification</li>
|
||||
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<!-- <div class="box-header with-border">
|
||||
|
||||
<h3 class="box-title">
|
||||
Email Verification
|
||||
</h3>
|
||||
</div> -->
|
||||
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<form role="form" id="frm_verification_code">
|
||||
<label>Verification Code</label>
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" data-error="#err_vercode" name="verification_code" placeholder="Please enter verification code">
|
||||
<span class="input-group-btn">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<span id="err_vercode" style="color: #dd4b39"></span>
|
||||
</form>
|
||||
<a href="#" type="button" class="btn btn-link" data-email="{{ $array_profile_info[0]->email }}" id="btn_resend_code"><i class="fa fa-angle-double-right"></i> Resend Code <span class="badge" id="resend_countdown"></span></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="box-footer">
|
||||
<a href="{{ url('user/profile/edit') }}" type="submit" class="btn btn-primary btn-custom-save">Edit</a>
|
||||
<a href="{{ url('user/profile/change-password') }}" type="submit" class="btn btn-danger btn-custom-save">Change Password</a>
|
||||
</div> -->
|
||||
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
8
resources/views/user-layouts/footer.blade.php
Normal file
8
resources/views/user-layouts/footer.blade.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<footer class="main-footer">
|
||||
<!-- To the right -->
|
||||
<div class="pull-right hidden-xs">
|
||||
Version 1.0
|
||||
</div>
|
||||
<!-- Default to the left -->
|
||||
<strong>Copyright © <?php echo date('Y') ?> <a href="http://crewsportswear.com">crewsportswear.com</a>.</strong> All rights reserved.
|
||||
</footer>
|
||||
31
resources/views/user-layouts/header.blade.php
Normal file
31
resources/views/user-layouts/header.blade.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<header class="main-header">
|
||||
<!-- Logo -->
|
||||
<a href="{{ url('user') }}" class="logo">
|
||||
<!-- mini logo for sidebar mini 50x50 pixels -->
|
||||
<span class="logo-mini"><b>C</b></span>
|
||||
<!-- logo for regular state and mobile devices -->
|
||||
<span class="logo-lg"><b>CREW</b></span>
|
||||
</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
</a>
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<!-- Control Sidebar Toggle Button -->
|
||||
<li class="user user-menu">
|
||||
<a href="#">
|
||||
<img src="{{ asset('/public/images/user/default-user.png') }}" class="user-image" alt="User Image">
|
||||
<span class="hidden-xs">{{ Auth::user()->username }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('/auth/logout') }}"><i class="fa fa-sign-out"></i> Logout</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
32
resources/views/user-layouts/index.blade.php
Normal file
32
resources/views/user-layouts/index.blade.php
Normal file
@@ -0,0 +1,32 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Dashboard
|
||||
<small>Control panel</small>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li class="active">Dashboard</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
|
||||
<section class="content">
|
||||
@if(Auth::user()->email_is_verified == "0")
|
||||
<div class="alert alert-warning alert-dismissible">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<h4><i class="icon fa fa-check"></i> To do!</h4>
|
||||
Please verify your Email Address. <a href="{{ url('user/email-verify') }}">Click here</a>
|
||||
</div>
|
||||
<div class="text-center" id="homepage-logo">
|
||||
@endif
|
||||
<img src="{{asset('/public/images/logo.png')}}" class="img img-responsive" />
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
53
resources/views/user-layouts/my-design.blade.php
Normal file
53
resources/views/user-layouts/my-design.blade.php
Normal file
@@ -0,0 +1,53 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
My Designs
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li class="active">My Designs</li>
|
||||
</ol>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<!-- <div class="box-header with-border">
|
||||
asda
|
||||
</div> -->
|
||||
<div class="box-body custom-box-body">
|
||||
<div class="row">
|
||||
@foreach($array_client_designs as $row)
|
||||
<div class="col-md-3 col-sm-6">
|
||||
<span class="thumbnail">
|
||||
<img src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $row->DesignCode }}-front-thumbnail.png" alt="{{ $row->DesignName }}" >
|
||||
<h4>{{ $row->DesignName }}</h4>
|
||||
<small>{{ date('F j, Y g:i a', strtotime($row->DateCreated)) }}</small>
|
||||
<hr class="line">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<a href="{{ url('/') }}/{{ Request::path() }}/view/{{ $row->DesignCode }} " class="btn btn-warning btn-xs"><i class="fa fa-eye"></i> View</a>
|
||||
<a href="{{ url('designer/edit') }}/{{ $row->DesignCode }}" class="btn btn-default btn-xs"><i class="fa fa-edit"></i> Edit Design</a>
|
||||
<a href="{{ url('designer/preview') }}/{{ $row->DesignCode }}" class="btn btn-primary btn-xs"><i class="fa fa-shopping-cart"></i> Buy</a>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
@endforeach
|
||||
<div class="col-md-12 col-sm-12 pull-right">
|
||||
{!! $array_client_designs->render() !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
67
resources/views/user-layouts/orders.blade.php
Normal file
67
resources/views/user-layouts/orders.blade.php
Normal file
@@ -0,0 +1,67 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Orders
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li class="active">Orders</li>
|
||||
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<h3 class="box-title">
|
||||
Order List
|
||||
</h3>
|
||||
</div>
|
||||
<form role="form" id="frm-create-address-book">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Invoice No.</th>
|
||||
<th>Total Payment</th>
|
||||
<th>Date Created</th>
|
||||
<th class="text-center">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($array_payment_details as $row)
|
||||
<tr>
|
||||
<td>{{ $row->InvoiceNumber }} </td>
|
||||
<td>{{ $row->Currency }} {{ $row->Total }} </td>
|
||||
<td>{{ date('F j, Y g:i a', strtotime($row->DateCreated)) }} </td>
|
||||
<td class="text-center">
|
||||
<a href="{{ url('user/orders/view') }}/{{ $row->CartKey }}" class="btn btn-default btn-xs">View</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<!-- <button type="submit" class="btn btn-primary btn-custom-save">Save</button> -->
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
102
resources/views/user-layouts/profile.blade.php
Normal file
102
resources/views/user-layouts/profile.blade.php
Normal file
@@ -0,0 +1,102 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
My Profile
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li class="active">My Profile</li>
|
||||
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<h3 class="box-title">
|
||||
Personal Info
|
||||
</h3>
|
||||
</div>
|
||||
<form role="form" id="frm-create-address-book">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Fullname</label>
|
||||
<p>{{ $array_profile_info[0]->name }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Email Address</label>
|
||||
<p>
|
||||
{{ $array_profile_info[0]->email }}
|
||||
<small>
|
||||
@if($array_profile_info[0]->email_is_verified == 1)
|
||||
<i class="fa fa-check-circle" title="verified"></i>
|
||||
@else
|
||||
<a href="{{ url('/user/email-verify') }}"> [ verify email ]</a>
|
||||
@endif
|
||||
</small></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Mobile Number</label>
|
||||
<p>
|
||||
@if($array_profile_info[0]->ContactNumber != null)
|
||||
{{ $array_profile_info[0]->ContactNumber }}
|
||||
@else
|
||||
<i>not set</i>
|
||||
@endif
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Birthday</label>
|
||||
<p>
|
||||
@if($array_profile_info[0]->Birthday != null)
|
||||
{{ $array_profile_info[0]->Birthday }}
|
||||
@else
|
||||
<i>not set</i>
|
||||
@endif
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label>Gender</label>
|
||||
<p>
|
||||
@if($array_profile_info[0]->Gender != null)
|
||||
{{ $array_profile_info[0]->Gender }}
|
||||
@else
|
||||
<i>not set</i>
|
||||
@endif
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<a href="{{ url('user/profile/edit') }}" type="submit" class="btn btn-primary btn-custom-save">Edit</a>
|
||||
<a href="{{ url('user/profile/change-password') }}" type="submit" class="btn btn-danger btn-custom-save">Change Password</a>
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
79
resources/views/user-layouts/sidebar.blade.php
Normal file
79
resources/views/user-layouts/sidebar.blade.php
Normal file
@@ -0,0 +1,79 @@
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar" style="height: auto;">
|
||||
<!-- Sidebar user panel -->
|
||||
<div class="user-panel">
|
||||
<div class="pull-left image">
|
||||
<img src="{{ asset('/public/images/user/default-user.png') }}" class="img-circle" alt="User Image">
|
||||
</div>
|
||||
<div class="pull-left info">
|
||||
<p>{{ Auth::user()->name }}</p>
|
||||
<a href="{{ url('user/profile/edit') }}" class="btn-link">[ Edit Profile ]</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
<li class="header">MAIN NAVIGATION</li>
|
||||
<li class="{{ Request::is('user') ? 'active' : '' }}">
|
||||
<a href="{{ url('/user') }}">
|
||||
<i class="fa fa-home"></i> <span>Home</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('user/my-designs') ? 'active' : '' }}">
|
||||
<a href="{{ url('user/my-designs') }}">
|
||||
<i class="fa fa-th-list"></i> <span>My Designs</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview menu-open {{ Request::is('user/address-book', 'user/profile') ? 'active' : '' }}">
|
||||
<a href="#">
|
||||
<i class="fa fa-cog"></i> <span>Manage My Account</span>
|
||||
<span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li class="{{ Request::is('user/profile') ? 'active' : '' }}">
|
||||
<a href="{{ url('user/profile') }}"><i class="fa fa-user"></i> My Profile</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('user/address-book', 'user/address-book/edit') ? 'active' : '' }}">
|
||||
<a href="{{ url('user/address-book') }}"><i class="fa fa-address-book-o"></i> Address Book</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="{{ Request::is('user/orders') ? 'active' : '' }}">
|
||||
<a href="{{ url('user/orders') }}">
|
||||
<i class="fa fa-list"></i> <span>Orders</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@if(Auth::user()->role == "store_owner")
|
||||
<li class="treeview menu-open {{ Request::is('user/store-items', 'user/store-settings') ? 'active' : '' }}">
|
||||
<a href="#">
|
||||
<i class="fa fa-cog"></i> <span>Team Store</span>
|
||||
<span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="treeview-menu" style="">
|
||||
<li>
|
||||
<a href="{{ url('user/store') }}"><i class="fa fa-globe"></i> Store</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('user/store-items') ? 'active' : '' }}">
|
||||
<a href="{{ url('user/store-items') }}"><i class="fa fa-th"></i> Store Items</a>
|
||||
</li>
|
||||
<!-- <li class="{{ Request::is('user/store-settings') ? 'active' : '' }}">
|
||||
<a href="{{ url('user/store-settings') }}"><i class="fa fa-cogs"></i> Store Settings</a>
|
||||
</li> -->
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
<li>
|
||||
<a href="{{ url('/') }}">
|
||||
<i class="fa fa-globe"></i> <span>Go to CREW Website</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
70
resources/views/user-layouts/store_items.blade.php
Normal file
70
resources/views/user-layouts/store_items.blade.php
Normal file
@@ -0,0 +1,70 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Store Items
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<!-- <li><a href="{{ url ('user/profile') }}"><i class="fa fa-user"></i> My Profile</a></li> -->
|
||||
<li class="active">Store Items</li>
|
||||
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<h3 class="box-title">
|
||||
Item List
|
||||
</h3>
|
||||
</div>
|
||||
<!-- <form role="form" id="frm-change-password"> -->
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<!-- BEGIN PRODUCTS -->
|
||||
|
||||
@foreach($product_array as $i => $product)
|
||||
@foreach($thumbnails as $t => $thumb)
|
||||
@if($thumb['product_id'] == $product->Id)
|
||||
@define $storeFolder = $thumb['folder']
|
||||
@define $filename = $thumb['thumb']
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
<div class="col-md-3 col-sm-6">
|
||||
<span class="thumbnail">
|
||||
<img src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $filename }}" alt="{{ $product->ProductName }}" >
|
||||
<hr class="line">
|
||||
<h4>{{ $product->ProductName }}</h4>
|
||||
<hr class="line">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<a href="{{ url('user/store-items/item') }}/{{ $product->ProductURL }}" class="btn btn-success" > View Details</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<!-- <button type="submit" class="btn btn-primary btn-custom-save">update</button> -->
|
||||
</div>
|
||||
<!-- </form> -->
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
80
resources/views/user-layouts/store_setting.blade.php
Normal file
80
resources/views/user-layouts/store_setting.blade.php
Normal file
@@ -0,0 +1,80 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Store Setting
|
||||
<!-- <small>Control panel</small> -->
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url ('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li class="active">Store Setting</li>
|
||||
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<h3 class="box-title">
|
||||
Add New Address
|
||||
</h3>
|
||||
</div>
|
||||
<form role="form" id="frm-create-address-book">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>Fullname</label>
|
||||
<input type="text" class="form-control" name="fullname" placeholder="Fullaname">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Mobile Number</label>
|
||||
<input type="text" class="form-control" name="mobilenumber" placeholder="Please enter your mobile number">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Other Notes</label>
|
||||
<input type="text" class="form-control" name="othernotes" placeholder="Please enter your notes">
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label>House Number, Building and Street Name</label>
|
||||
<input type="text" class="form-control" name="address" placeholder="Please enter your House Number, Building and Street Name">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>State</label>
|
||||
<select class="form-control" name="state" id="lst-states" >
|
||||
<option value="">Select State</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>City</label>
|
||||
<select class="form-control" name="city" id="lst-cities">
|
||||
<option value="">Select City</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Zip Code</label>
|
||||
<input type="text" class="form-control" name="zipcode" placeholder="Please enter your zip code">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="submit" class="btn btn-primary btn-custom-save">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
1088
resources/views/user-layouts/user_template.blade.php
Normal file
1088
resources/views/user-layouts/user_template.blade.php
Normal file
File diff suppressed because it is too large
Load Diff
111
resources/views/user-layouts/view-design.blade.php
Normal file
111
resources/views/user-layouts/view-design.blade.php
Normal file
@@ -0,0 +1,111 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<style>
|
||||
.hide-bullets {
|
||||
list-style:none;
|
||||
margin-left: -40px;
|
||||
margin-top:20px;
|
||||
}
|
||||
</style>
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
My Designs
|
||||
<small>{{ $array_client_designs[0]->DesignName }}</small>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="{{ url('user/my-designs') }}"><i class="fa fa-th-list"></i> My Designs</a></li>
|
||||
<li class="active">{{ $array_client_designs[0]->DesignName }} </li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-7">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<a href="{{ url('designer/edit') }}/{{ $array_client_designs[0]->DesignCode }}" type="button" class="btn btn-default pull-right" style="margin-left: 5px;"><i class="fa fa-edit"></i> Edit Design</a>
|
||||
<button type="button" data-dd="{{ $array_client_designs[0]->DesignCode }}" data-port="{{ $array_cat_name[0]->Port }}" class="btn btn-warning pull-right" id="btn-reload-thumbnails"><i class="fa fa-refresh"></i> Reload Image Thumbnails</button>
|
||||
</div>
|
||||
<div class="box-body custom-box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="thumb-content">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
@foreach($array_client_designs as $row)
|
||||
@foreach($array_template_paths as $key => $row1)
|
||||
@if($key == 0)
|
||||
<img src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $row->DesignCode }}-front-thumbnail.png" alt="{{ $row->DesignName }}" id="main-thumbnail">
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ul class="hide-bullets">
|
||||
@foreach($array_client_designs as $row)
|
||||
@foreach($array_template_paths as $key => $row1)
|
||||
@if($key == 0)
|
||||
<li class="col-sm-3 col-xs-3">
|
||||
<a class="thumbnail a_thumbnail active">
|
||||
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $row->DesignCode }}-front-thumbnail.png"/>
|
||||
</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="col-sm-3 col-xs-3">
|
||||
<a class="thumbnail a_thumbnail">
|
||||
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $row->DesignCode }}-{{ strtolower($row1->Side) }}-thumbnail.png"/>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="col-md-5">
|
||||
asdasdadadsaad
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">
|
||||
Design Details
|
||||
</h3>
|
||||
</div>
|
||||
<form id="frm-design-details">
|
||||
<input type="hidden" name="design_code" class="form-control" value="{{ $array_client_designs[0]->DesignCode }}">
|
||||
<div class="box-body custom-box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
<label>Design Name</label>
|
||||
<input type="text" name="design_name" class="form-control" value="{{ $array_client_designs[0]->DesignName }}" placeholder="Enter design name">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<!-- <button type="submit" class="btn btn-default">Cancel</button> -->
|
||||
<button type="submit" class="btn btn-primary pull-right">Save changes</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
125
resources/views/user-layouts/view-store-item.blade.php
Normal file
125
resources/views/user-layouts/view-store-item.blade.php
Normal file
@@ -0,0 +1,125 @@
|
||||
@extends('user-layouts.user_template')
|
||||
@section('content')
|
||||
<style>
|
||||
.hide-bullets {
|
||||
list-style:none;
|
||||
margin-left: -40px;
|
||||
margin-top:20px;
|
||||
}
|
||||
</style>
|
||||
<div class="content-wrapper" style="min-height: 916px;">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Store Item
|
||||
<small>{{ $product_array[0]->ProductName }}</small>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ url('user') }}"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="{{ url('user/store-items') }}"><i class="fa fa-th"></i> Store Items</a></li>
|
||||
<li class="active">{{ $product_array[0]->ProductName }}</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-7">
|
||||
<div class="box box-primary">
|
||||
<!-- <div class="box-header with-border">
|
||||
<a href="" type="button" class="btn btn-default pull-right"><i class="fa fa-trash"></i> Edit Design</a>
|
||||
</div> -->
|
||||
<div class="box-body custom-box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
@foreach($thumbnails_array as $thumbnail)
|
||||
@if($thumbnail->ImageClass == 'active')
|
||||
<img src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $thumbnail->Image }}" id="main-thumbnail">
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ul class="hide-bullets">
|
||||
@foreach($thumbnails_array as $thumbnail)
|
||||
<li class="col-sm-3 col-xs-3">
|
||||
<a class="thumbnail a_thumbnail {{ $thumbnail->ImageClass }}">
|
||||
<img class="img img-responsive product-center image-thumbnails" style="height: 59.45px;" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $thumbnail->Image }}"/>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="col-md-5">
|
||||
asdasdadadsaad
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">
|
||||
Item Details
|
||||
</h3>
|
||||
</div>
|
||||
<form id="frm-item-details">
|
||||
<!-- <input type="hidden" name="design_code" class="form-control" value=""> -->
|
||||
<div class="box-body custom-box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<input type="hidden" class="form-control" name="item_url" value="{{ $product_array[0]->ProductURL }}" placeholder="Item Name">
|
||||
<div class="form-group">
|
||||
<label>Item Name</label>
|
||||
<input type="text" class="form-control" name="itemName" value="{{ $product_array[0]->ProductName }}" placeholder="Item Name">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Item Desription</label>
|
||||
<textarea class="form-control" name="itemDescription">{{ $product_array[0]->ProductDescription }}</textarea>
|
||||
</div>
|
||||
<!-- <div class="form-group">
|
||||
|
||||
<div class="checkbox checkbox-inline">
|
||||
<input type="checkbox" class="styled" id="sale_chk" name="sale_chk" checked >
|
||||
<label for="sale_chk"> Sell Item</label>
|
||||
</div>
|
||||
|
||||
<div class="checkbox checkbox-inline">
|
||||
<input type="checkbox" class="styled" id="publish_chk" name="publish_chk" >
|
||||
<label for="publish_chk"> Publish Design</label>
|
||||
</div>
|
||||
|
||||
</div> -->
|
||||
<div class="form-group">
|
||||
<label>Item Price</label>
|
||||
<input id="item_price" name="item_price" class="form-control price_format" type="text" value="{{ $product_array[0]->ProductPrice }}" data-error="#err-price" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Item Privacy</label>
|
||||
<select class="form-control" name="item_privacy">
|
||||
<option value="public" @if($product_array[0]->PrivacyStatus == "public") selected @endif>Public</option>
|
||||
<option value="private" @if($product_array[0]->PrivacyStatus == "private") selected @endif">Private</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<!-- <button type="submit" class="btn btn-default">Cancel</button> -->
|
||||
<button type="submit" class="btn btn-primary pull-right">Save changes</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
@endsection
|
||||
0
resources/views/vendor/.gitkeep
vendored
Normal file
0
resources/views/vendor/.gitkeep
vendored
Normal file
48
resources/views/welcome.blade.php
Normal file
48
resources/views/welcome.blade.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Laravel</title>
|
||||
|
||||
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
|
||||
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #B0BEC5;
|
||||
display: table;
|
||||
font-weight: 100;
|
||||
font-family: 'Lato';
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: center;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 96px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.quote {
|
||||
font-size: 24px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="title">Laravel 5</div>
|
||||
<div class="quote">{{ Inspiring::quote() }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user