Added My apps page, it show Purchase and installed app
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
|
||||
@section('new_button')
|
||||
<span class="new-button"><a href="{{ url('apps/token/create') }}" class="btn btn-success btn-sm"><span class="fa fa-key"></span> {{ trans('modules.api_token') }}</a></span>
|
||||
<span class="new-button"><a href="{{ url('apps/my') }}" class="btn btn-default btn-sm"><span class="fa fa-rocket"></span> {{ trans('modules.my_apps') }}</a></span>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
@section('new_button')
|
||||
<span class="new-button"><a href="{{ url('apps/token/create') }}" class="btn btn-success btn-sm"><span class="fa fa-key"></span> {{ trans('modules.api_token') }}</a></span>
|
||||
<span class="new-button"><a href="{{ url('apps/my') }}" class="btn btn-default btn-sm"><span class="fa fa-rocket"></span> {{ trans('modules.my_apps') }}</a></span>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
34
resources/views/modules/my/index.blade.php
Normal file
34
resources/views/modules/my/index.blade.php
Normal file
@ -0,0 +1,34 @@
|
||||
@extends('layouts.modules')
|
||||
|
||||
@section('title', trans_choice('general.modules', 2))
|
||||
|
||||
@section('new_button')
|
||||
<span class="new-button"><a href="{{ url('apps/token/create') }}" class="btn btn-success btn-sm"><span class="fa fa-key"></span> {{ trans('modules.api_token') }}</a></span>
|
||||
<span class="new-button"><a href="{{ url('apps/my') }}" class="btn btn-default btn-sm"><span class="fa fa-rocket"></span> {{ trans('modules.my_apps') }}</a></span>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@include('partials.modules.bar')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="content-header no-padding-left">
|
||||
<h3>{{ trans('modules.my.purchased') }}</h3>
|
||||
</div>
|
||||
|
||||
@foreach ($purchased as $module)
|
||||
@include('partials.modules.item')
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="content-header no-padding-left">
|
||||
<h3>{{ trans('modules.my.installed') }}</h3>
|
||||
</div>
|
||||
|
||||
@foreach ($modules as $module)
|
||||
@include('partials.modules.item')
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
@ -4,6 +4,7 @@
|
||||
|
||||
@section('new_button')
|
||||
<span class="new-button"><a href="{{ url('apps/token/create') }}" class="btn btn-success btn-sm"><span class="fa fa-key"></span> {{ trans('modules.api_token') }}</a></span>
|
||||
<span class="new-button"><a href="{{ url('apps/my') }}" class="btn btn-default btn-sm"><span class="fa fa-rocket"></span> {{ trans('modules.my_apps') }}</a></span>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
Reference in New Issue
Block a user