update crewsportswear

This commit is contained in:
franknstayn
2020-10-24 21:27:04 +08:00
parent 6cc68cd56b
commit 77ee1b9ccc
5 changed files with 100 additions and 10 deletions

View File

@@ -1,5 +1,11 @@
@extends('teamstore-layout.main')
@section('content')
@if ($store_array[0]->IsHibernated)
<script>
window.location = "../";
</script>
@endif
<style>
h2 {
width: 100%;
@@ -169,10 +175,14 @@
@else
<div class="col-md-12">
<div class="alert alert-warning">
<p><b>Please read:</b></p>
1. Items purchased are made on demand. Please allow 2-3 weeks for delivery.<br>
2. We are currently only shipping to US locations. For international orders, please contact orders@crewsportswear.com if you'd like to place an order.<br>
3. DHL, UPS & USPS shipping delays due to COVID-19.
<p><b>Please read:</b></p>
1. Items purchased are made on demand. Orders will be shipped based on dates set by your store administrator.<br>
2. Store payments are processed through PayPal. A PayPal account is not required to make a purchase.<br>
3. We are currently only shipping to US locations. For international orders, please contact <b>orders@crewsportswear.com</b> if you'd like to place an order.<br>
4. Expect shipping delays due to COVID-19.<br>
5. All sales are final. No returns or exchanges will be accepted.<br><br>
<b>DISCLAIMER:</b> Masks and gaiters sold by Crew Sportswear are not intended for medical use. Crew Sportswear does not make any medical or health claims.
</div>
</div>
@endif

View File

@@ -1,5 +1,10 @@
@extends('teamstore-layout.main')
@section('content')
@if ($store_array[0]->IsHibernated)
<script>
window.location = "../";
</script>
@endif
<style>
p{

View File

@@ -9,7 +9,7 @@
</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><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>

View File

@@ -25,7 +25,7 @@
@endif
@if ($data['isStoreOwner'])
<div class="row">
<div class="row">
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-aqua">
@@ -36,7 +36,7 @@
<div class="icon">
<i class="ion ion-bag"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
<a href="./user/store-orders" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
@@ -49,7 +49,7 @@
<p>Store Income</p>
</div>
<div class="icon">
<i class="ion ion-stats-bars"></i>
<i class="ion ion-cash"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
@@ -64,7 +64,7 @@
<p>Total Products</p>
</div>
<div class="icon">
<i class="ion ion-person-add"></i>
<i class="ion ion-ios-pricetags"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
@@ -79,13 +79,62 @@
<p>Total Published Product</p>
</div>
<div class="icon">
<i class="ion ion-key"></i>
<i class="ion ion-ios-pricetags-outline"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
</div>
<div class="row">
<div class="col-lg-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Total Sales</h3>
<div class="box-tools">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
</div>
</div>
{{-- <div class="box-body">
<div class="well">
<div class="form-group col-md-3">
<label class="control-label">Select Year: <span class="required">*</span></label>
<select type="text" class="form-control" placeholder="Select Select Year">
<option value="2020">2020</option>
<option value="2019">2019</option>
</select>
</div>
<div class="form-group col-md-3">
<label class="control-label">Select Month <span class="required">*</span></label>
<select class="form-control" placeholder="Select Date">
<option value="">January</option>
<option value="">February</option>
<option value="">March</option>
<option value="">April</option>
<option value="">May</option>
<option value="">June</option>
<option value="">July</option>
<option value="">August</option>
<option value="">September</option>
<option value="">October</option>
<option value="">November</option>
<option value="">December</option>
</select>
</div>
<div class="clearfix"></div>
</div>
<div class="chart">
<canvas id="myChart" style="height:350px"></canvas>
</div>
</div> --}}
<!-- /.box-body -->
</div>
</div>
</div>
@else
<div class="text-center" id="homepage-logo">
<img src="{{asset('/public/images/logo.png')}}" style="height: 200px;" class="img img-responsive" />

View File

@@ -631,9 +631,35 @@
<script src="{{asset('/public/bower_components/AdminLTE/plugins/datepicker/bootstrap-datepicker.js')}}"></script>
<!-- jquery-ui -->
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
{{-- Chartjs --}}
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.js"></script>
<script>
$( document ).ready(function() {
// var ctx = document.getElementById('myChart');
// var myChart = new Chart(ctx, {
// type: 'line',
// data: {
// labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
// datasets: [{
// label: '# of Votes',
// data: [12, 19, 3, 5, 2, 3]
// }]
// },
// options: {
// scales: {
// yAxes: [{
// ticks: {
// beginAtZero: true
// }
// }]
// }
// }
// });
$.fn.dataTable.ext.search.push(
function (settings, data, dataIndex) {