first commit
This commit is contained in:
23
resources/views/partials/modules/bar.blade.php
Normal file
23
resources/views/partials/modules/bar.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="col-md-12 no-padding-left">
|
||||
<div class="box box-success">
|
||||
<div class="box-header with-border">
|
||||
|
||||
<div class="pull-left">
|
||||
{!! Form::select('category', $categories, request('category'), ['class' => 'form-control input-sm', 'style' => 'display:inline;width:inherit;']) !!}
|
||||
<a href="{{ url('modules/paid') }}" class="btn btn-sm btn-default btn-flat margin" style="margin-left: 20px;">Top Paid</a>
|
||||
<a href="{{ url('modules/new') }}" class="btn btn-sm btn-default btn-flat margin">New</a>
|
||||
<a href="{{ url('modules/free') }}" class="btn btn-sm btn-default btn-flat margin">Top Free</a>
|
||||
</div>
|
||||
|
||||
<div class="pull-right">
|
||||
<div class="has-feedback">
|
||||
{!! Form::open(['url' => 'modules/search', 'role' => 'form']) !!}
|
||||
<input type="text" class="form-control input-sm" style="margin-top: 10px;" placeholder="Search Apps">
|
||||
<span class="glyphicon glyphicon-search form-control-feedback"></span>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
87
resources/views/partials/modules/head.blade.php
Normal file
87
resources/views/partials/modules/head.blade.php
Normal file
@@ -0,0 +1,87 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
|
||||
<title>@yield('title') - @setting('general.company_name')</title>
|
||||
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<!-- Bootstrap 3.3.6 -->
|
||||
<link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/bootstrap/css/bootstrap.min.css') }}">
|
||||
<!-- Font Awesome -->
|
||||
<link rel="stylesheet" href="{{ asset('public/css/font-awesome.min.css') }}">
|
||||
<!-- Ionicons -->
|
||||
<link rel="stylesheet" href="{{ asset('public/css/ionicons.min.css') }}">
|
||||
<!-- Theme style -->
|
||||
<link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/dist/css/AdminLTE.min.css') }}">
|
||||
<!-- AdminLTE Skins -->
|
||||
@if (setting('general.admin_theme', 'skin-green-light') == 'skin-green-light')
|
||||
<link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/dist/css/skins/skin-green-light.min.css') }}">
|
||||
@else
|
||||
<link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/dist/css/skins/skin-black.min.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('public/css/skin-black.css?v=1.0') }}">
|
||||
@endif
|
||||
<!-- Select2 -->
|
||||
<link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/select2/select2.min.css') }}">
|
||||
<!-- App style -->
|
||||
<link rel="stylesheet" href="{{ asset('public/css/app.css?v=1.0') }}">
|
||||
<link rel="stylesheet" href="{{ asset('public/css/akaunting-green.css?v=1.0') }}">
|
||||
<link rel="stylesheet" href="{{ asset('public/css/addons.css?v=1.0') }}">
|
||||
|
||||
<link rel="shortcut icon" href="{{ asset('public/img/favicon.ico') }}">
|
||||
|
||||
@yield('css')
|
||||
|
||||
@yield('stylesheet')
|
||||
|
||||
<!-- HTML5 Shim and Respond.js 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.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- jQuery 2.2.3 -->
|
||||
<script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/jQuery/jquery-2.2.3.min.js') }}"></script>
|
||||
<!-- Bootstrap 3.3.6 -->
|
||||
<script src="{{ asset('vendor/almasaeed2010/adminlte/bootstrap/js/bootstrap.min.js') }}"></script>
|
||||
<!-- SlimScroll -->
|
||||
<script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/slimScroll/jquery.slimscroll.min.js') }}"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/fastclick/fastclick.js') }}"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="{{ asset('vendor/almasaeed2010/adminlte/dist/js/app.min.js') }}"></script>
|
||||
|
||||
<!-- Select2 -->
|
||||
<script src="{{ asset('vendor/almasaeed2010/adminlte/plugins/select2/select2.min.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('public/js/app.js?v=1.0') }}"></script>
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
var url_search = '{{ url("search/search/search") }}';
|
||||
//--></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('select[name=\'category\']').on('change', function() {
|
||||
url = '{{ url('modules/category') }}';
|
||||
|
||||
var value = $(this).val();
|
||||
|
||||
if (value) {
|
||||
url += '/' + encodeURIComponent(value);
|
||||
} else {
|
||||
url = '{{ url('modules/home') }}';
|
||||
}
|
||||
|
||||
location = url;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@yield('js')
|
||||
|
||||
@yield('scripts')
|
||||
</head>
|
||||
33
resources/views/partials/modules/item.blade.php
Normal file
33
resources/views/partials/modules/item.blade.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<div class="col-md-3 no-padding-left">
|
||||
<div class="box box-success">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><a href="{{ url('modules/item/' . $module->slug) }}">{{ $module->name }}</a></h3>
|
||||
<!-- /.box-tools -->
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
|
||||
<div class="box-body">
|
||||
<a href="{{ url('modules/item/' . $module->slug) }}">
|
||||
<img src="{{ $module->files[0]->path_string }}" alt="{{ $module->name }}" width="280" height="140">
|
||||
<br>
|
||||
{!! str_limit($module->description, 70) !!}
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
|
||||
<div class="box-footer">
|
||||
<div class="pull-left">
|
||||
{{ $module->category->name }}
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
@if ($module->price == '0.0000')
|
||||
{{ trans('modules.free') }}
|
||||
@else
|
||||
{{ $module->price }}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-footer -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
Reference in New Issue
Block a user