From 1ed02931b951dadfd4980dd185b86fbe5bc30071 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Sat, 28 Oct 2017 01:23:44 +0300 Subject: [PATCH] apps style --- public/css/addons.css | 5 -- public/css/modules.css | 3 + resources/lang/en-GB/modules.php | 4 +- resources/views/modules/item/show.blade.php | 61 ++++++++----------- .../views/partials/modules/head.blade.php | 8 +-- .../views/partials/modules/item.blade.php | 10 ++- 6 files changed, 39 insertions(+), 52 deletions(-) delete mode 100644 public/css/addons.css create mode 100644 public/css/modules.css diff --git a/public/css/addons.css b/public/css/addons.css deleted file mode 100644 index 6d14a754f..000000000 --- a/public/css/addons.css +++ /dev/null @@ -1,5 +0,0 @@ -.item-image { - width: 100%; - max-height: 150px; - margin-bottom: 15px; -} \ No newline at end of file diff --git a/public/css/modules.css b/public/css/modules.css new file mode 100644 index 000000000..a00599e0a --- /dev/null +++ b/public/css/modules.css @@ -0,0 +1,3 @@ +.item-image { + max-width: 225px; +} \ No newline at end of file diff --git a/resources/lang/en-GB/modules.php b/resources/lang/en-GB/modules.php index 4a5e3e92c..771c64dbb 100644 --- a/resources/lang/en-GB/modules.php +++ b/resources/lang/en-GB/modules.php @@ -16,8 +16,8 @@ return [ 'uninstalled' => 'Uninstalled', 'token_link' => 'Click here to get your API token.', - 'enabled' => ':module module enabled', - 'disabled' => ':module module disabled', + 'enabled' => ':module app enabled', + 'disabled' => ':module app disabled', 'installation' => [ 'header' => 'Module Installation', diff --git a/resources/views/modules/item/show.blade.php b/resources/views/modules/item/show.blade.php index da22dbdb0..a0a3bb613 100644 --- a/resources/views/modules/item/show.blade.php +++ b/resources/views/modules/item/show.blade.php @@ -11,37 +11,28 @@

{{ $module->name }}

-
-
-
- {{ $module->name }} +
@@ -55,11 +46,11 @@ Price - + @if ($module->price == '0.0000') {{ trans('modules.free') }} @else - {{ $module->price }} + {{ $module->price . ' / month' }} @endif @@ -100,27 +91,27 @@ Vendor - {{ $module->vendor->first_name . ' ' . $module->vendor->last_name }} + {{ $module->vendor_name }} Version - {{ $module->version }} + {{ $module->version }} Added - {{ Date::parse($module->created_at)->format($date_format) }} + {{ Date::parse($module->created_at)->format($date_format) }} Updated - {{ Date::parse($module->updated_at)->diffForHumans() }} + {{ Date::parse($module->updated_at)->diffForHumans() }} Compatibility - {{ $module->compatibility }} + {{ $module->compatibility }} Category - {{ $module->category->name }} + {{ $module->category->name }} diff --git a/resources/views/partials/modules/head.blade.php b/resources/views/partials/modules/head.blade.php index cad501f1a..2076aa9d2 100644 --- a/resources/views/partials/modules/head.blade.php +++ b/resources/views/partials/modules/head.blade.php @@ -19,14 +19,14 @@ @else - + @endif - - - + + + diff --git a/resources/views/partials/modules/item.blade.php b/resources/views/partials/modules/item.blade.php index 10c090427..9b1121830 100644 --- a/resources/views/partials/modules/item.blade.php +++ b/resources/views/partials/modules/item.blade.php @@ -6,24 +6,22 @@
-
+