FabioFratini пре 1 година
родитељ
комит
fb74e333e4
2 измењених фајлова са 21 додато и 10 уклоњено
  1. 11 5
      resources/views/news.blade.php
  2. 10 5
      resources/views/page.blade.php

+ 11 - 5
resources/views/news.blade.php

@@ -32,19 +32,25 @@
 @stop
 @stop
 
 
 @section('content')
 @section('content')
+<style>
+        .single-news p{
+            margin-left:15px;
+        }
+</style>
 
 
     <div class="container" style="min-height: 450px;margin-top:50px;">
     <div class="container" style="min-height: 450px;margin-top:50px;">
         <div class="row single-news">
         <div class="row single-news">
 
 
                 <div class="col-sm-9 single-news">
                 <div class="col-sm-9 single-news">
 
 
-                    <div class="row">
-                        <img src="/files/news/{{$news->image}}" align="left" style="width:95%; margin-left:15px;">
+                    <div class="row" style="margin-right:15px;">
+                        <img src="/files/news/{{$news->image}}" align="left" class="img-responsive" style="margin-left:15px; margin-right:15px;">
+                        <h1 style="font-size:30px;margin-left:15px;">{{$news->title}}</h1>
+                        <p style="font-size:16px;">{!!$news->text!!}</p>
+
                     </div>
                     </div>
-                    <p>{{date("d/m/Y H:i", strtotime($news->date))}}</p>
-                    <h1 style="font-size:30px;margin-top:20px;">{{$news->title}}</h1>
+                    <p style="margin-left:0!important;">{{date("d/m/Y H:i", strtotime($news->date))}}</p>
                     <h4>{!!$news->text_short!!}</h4>
                     <h4>{!!$news->text_short!!}</h4>
-                    <p style="font-size:16px">{!!$news->text!!}</p>
 
 
                     @if(sizeof($aImages) > 0)
                     @if(sizeof($aImages) > 0)
                         <br>
                         <br>

+ 10 - 5
resources/views/page.blade.php

@@ -24,6 +24,11 @@
 @stop
 @stop
 
 
 @section('content')
 @section('content')
+<style>
+    .single-page p{
+        margin-left:15px;
+    }
+</style>
 
 
     <div class="container" style="min-height: 450px;margin-top:50px;">
     <div class="container" style="min-height: 450px;margin-top:50px;">
         <div class="row">
         <div class="row">
@@ -32,14 +37,14 @@
 
 
                 @if(isset($news))
                 @if(isset($news))
                     @if($news->image != '')
                     @if($news->image != '')
-                    <div class="row">
-                        <img src="/files/news/{{$news->image}}" align="left" style="width:95%;margin-left:15px;">
+                    <div class="row" style="margin-right: 15px;">
+                        <img src="/files/news/{{$news->image}}" align="left" class="img-responsive" style="margin-left:15px;">
+                        <h1 style="font-size:30px;margin-left:15px;">{{$news->title}}</h1>
+                        <p>{!!$news->text!!}</p>
                     </div>
                     </div>
                     @endif
                     @endif
-                    <p>{{date("d/m/Y H:i", strtotime($news->date))}}</p>
-                    <h1 style="font-size:30px;margin-top:20px;">{{$news->title}}</h1>
+                    <p style="margin-left:0!important;">{{date("d/m/Y H:i", strtotime($news->date))}}</p>
                     <h5>{!!$news->text_short!!}</h5>
                     <h5>{!!$news->text_short!!}</h5>
-                    <p>{!!$news->text!!}</p>
 
 
                     @if(sizeof($aImages) > 0)
                     @if(sizeof($aImages) > 0)
                         <br>
                         <br>