Initial Commit

This commit is contained in:
Frank John Begornia
2019-03-06 20:32:31 +08:00
commit 562f03488a
2123 changed files with 780991 additions and 0 deletions

View 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

View 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

View 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

View 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

View 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

View 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

View 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>

View 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>

View 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

View 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

View 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

View 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

View 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>

View 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

View 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

File diff suppressed because it is too large Load Diff

View 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

View 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