templates.blade.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {{--@extends('layouts.app')--}}
  2. {{--@section('content')--}}
  3. {{--<link href="{{ asset('css/item_info_page.css') }}" rel="stylesheet">--}}
  4. {{--<link href="{{ asset('css/bootstrap.4.min.css') }}" rel="stylesheet">--}}
  5. {{--<script src="{{ asset('js/bootstrap.4.min.js') }}"></script>--}}
  6. <style>
  7. .wraper-top {
  8. min-height: 50px;
  9. }
  10. .item-small-view {
  11. margin-top: 20px;
  12. max-width: 600px;
  13. min-width: 600px;
  14. height: 175px;
  15. }
  16. .item-small-view .description {
  17. overflow: hidden;
  18. max-height: 110px;
  19. text-align: left;
  20. }
  21. #item-small-view img {
  22. width: 100%;
  23. height: 100%;
  24. }
  25. #item-small-view div {
  26. min-height: 100px;
  27. max-height: 100px;
  28. overflow: hidden;
  29. }
  30. #item-small-preview {
  31. padding: 5px;
  32. background-color: #cccccc;
  33. max-width: 100px;
  34. min-width: 100px;
  35. }
  36. #item-small-information {
  37. padding: 5px;
  38. background-color: lightgoldenrodyellow;
  39. }
  40. .card-body .card-text {
  41. font-size: 15px;
  42. }
  43. #item-small-manipulate {
  44. padding: 5px;
  45. background-color: #cccccc;
  46. max-width: 50px;
  47. min-width: 50px;
  48. }
  49. .user-r {
  50. padding-left: 6px;
  51. }
  52. .user-l >img,
  53. .user-r >img {
  54. width: 150px;
  55. }
  56. .redes >ul li a {
  57. width: 42px;
  58. margin-left: 5px;
  59. margin-right: 5px;
  60. text-align: center;
  61. border-radius: 10em;
  62. border: #EEE 1px solid;
  63. }
  64. .redes >ul li span {
  65. color: #CCC;
  66. font-size: 18px;
  67. }
  68. .footer {
  69. padding: 16px 0;
  70. }
  71. </style>
  72. <div class="wraper-top">
  73. </div>
  74. @foreach($itemsList as $item)
  75. <div class="col-md-12 item-small-view">
  76. <div class="card">
  77. <h4 class="card-header text-right bg-dark text-white">{{ $item->caption }}
  78. <div class="float-left small">
  79. <a class="btn btn-raised btn-danger" href="#" data-toggle="tooltip" data-placement="top">
  80. <i class="fa fa-user" aria-hidden="true"></i>
  81. </a>
  82. <a class="btn btn-raised btn-danger" href="#" title="Отправить">
  83. <i class="fa fa-envelope" aria-hidden="true"></i>
  84. </a>
  85. <a class="btn btn-raised btn-danger" href="#" title="Детально">
  86. <i class="fa fa-eye" aria-hidden="true"></i>
  87. </a>
  88. </div>
  89. </h4>
  90. <div class="card-body">
  91. <div class="image float-right user-r">
  92. <img src="image/{{ $item->picture[0]->path }}" class="img-thumbnail">
  93. </div>
  94. {{--<h4 class="card-title">{{ $item->caption }}</h4>--}}
  95. <div class="description">
  96. <p class="card-text">{{ $item->description }}</p>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. @endforeach
  102. {{--@endsection--}}