replace path modules to apps
This commit is contained in:
		@@ -4,14 +4,14 @@
 | 
			
		||||
 | 
			
		||||
            <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>
 | 
			
		||||
                <a href="{{ url('apps/paid') }}" class="btn btn-sm btn-default btn-flat margin" style="margin-left: 20px;">Top Paid</a>
 | 
			
		||||
                <a href="{{ url('apps/new') }}" class="btn btn-sm btn-default btn-flat margin">New</a>
 | 
			
		||||
                <a href="{{ url('apps/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']) !!}
 | 
			
		||||
                    {!! Form::open(['url' => 'apps/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() !!}
 | 
			
		||||
 
 | 
			
		||||
@@ -64,14 +64,14 @@
 | 
			
		||||
    <script type="text/javascript">
 | 
			
		||||
        $(document).ready(function() {
 | 
			
		||||
            $('select[name=\'category\']').on('change', function() {
 | 
			
		||||
                url = '{{ url('modules/category') }}';
 | 
			
		||||
                url = '{{ url('apps/categories') }}';
 | 
			
		||||
 | 
			
		||||
                var value = $(this).val();
 | 
			
		||||
 | 
			
		||||
                if (value) {
 | 
			
		||||
                    url += '/' + encodeURIComponent(value);
 | 
			
		||||
                } else {
 | 
			
		||||
                    url = '{{ url('modules/home') }}';
 | 
			
		||||
                    url = '{{ url('apps/home') }}';
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                location = url;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,13 +1,13 @@
 | 
			
		||||
<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/' . $module->slug) }}">{{ $module->name }}</a></h3>
 | 
			
		||||
            <h3 class="box-title"><a href="{{ url('apps/' . $module->slug) }}">{{ $module->name }}</a></h3>
 | 
			
		||||
            <!-- /.box-tools -->
 | 
			
		||||
        </div>
 | 
			
		||||
        <!-- /.box-header -->
 | 
			
		||||
 | 
			
		||||
        <div class="box-body text-center">
 | 
			
		||||
            <a href="{{ url('modules/' . $module->slug) }}">
 | 
			
		||||
            <a href="{{ url('apps/' . $module->slug) }}">
 | 
			
		||||
                <img src="{{ $module->files[0]->path_string }}" alt="{{ $module->name }}" class="item-image">
 | 
			
		||||
            </a>
 | 
			
		||||
        </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user