File tree Expand file tree Collapse file tree 9 files changed +79
-16
lines changed Expand file tree Collapse file tree 9 files changed +79
-16
lines changed Original file line number Diff line number Diff line change 1616Light Orange #ffe7c9  
1717	  Orange #ff9000 
1818	  Red 	 #c93d3d 
19+ Light Red  #c97474 
1920*/  
2021
2122/* Navbar */ 
Original file line number Diff line number Diff line change 33Light Orange #ffe7c9  
44	  Orange #ff9000 
55	  Red 	 #c93d3d 
6- 	   
6+ Light Red	 #c97474 
77*/ 
88
99# temp-logged-in-notice  {
Original file line number Diff line number Diff line change 33Light Orange #ffe7c9  
44	  Orange #ff9000 
55	  Red 	 #c93d3d 
6- 	   
6+ Light Red	 #c97474 	  
77*/ 
88
99# outside-panel  {
Original file line number Diff line number Diff line change 1+ /*  
2+ Light Orange #ffe7c9  
3+ 	  Orange #ff9000 
4+ 	  Red 	 #c93d3d 
5+ Light Red	 #c97474 
6+ */ 
7+ 
8+ # container-spacing  {
9+ 	margin-top :  10%  ;
10+ 	padding-top : 10px  ;
11+ 	padding-bottom : 10px  ;
12+ 	background-color :  # c97474
13+ 	text-align :  center;
14+ }
15+ 
16+ # post  {
17+ 	padding-top : -5px  ;
18+ 	padding-bottom :  2%  ;
19+ 	background-color :  white;
20+ }
21+ # post-title  {
22+ 	font-size :  45px  ;
23+ 
24+ }
25+ # post-time  {
26+ 	font-size :  12px  ;
27+ }
28+ 
29+ 
30+ # comments-label  {
31+ 	padding-top :  5%  ;
32+ 	padding-bottom :  5px  ;
33+ 	color :  white;
34+ 	font-size :  24px  ;
35+ 	text-decoration :  underline;
36+ }
37+ 
38+ .comment  {
39+ 	padding-bottom :  2%  ;
40+ }
41+ # comment-data  {
42+ 	font-size :  15px  ;
43+ 	color :  white;
44+ }
45+ # comment-name  {
46+ 	font-size :  13px  ;
47+ 	color :  # ffe7c9
48+ }
49+ # comment-time  {
50+ 	font-size :  10px  ;
51+ }
52+ 
53+ # comment-button  {
54+ 	background-color :  # ff9000
55+ 	border-color :  white;
56+ }
Original file line number Diff line number Diff line change 33Light Orange #ffe7c9  
44	  Orange #ff9000 
55	  Red 	 #c93d3d 
6- 	   
6+ Light Red	 #c97474 	  
77*/ 
88
99.user-name  {
Original file line number Diff line number Diff line change 33Light Orange #ffe7c9  
44	  Orange #ff9000 
55	  Red 	 #c93d3d 
6- 	   
6+ Light Red	 #c97474 	  
77*/ 
88
99# outside-panel  {
Original file line number Diff line number Diff line change 33Light Orange #ffe7c9  
44	  Orange #ff9000 
55	  Red 	 #c93d3d 
6- 	   
6+ Light Red	 #c97474 	  
77*/ 
88
99# outside-panel  {
Original file line number Diff line number Diff line change 33Light Orange #ffe7c9  
44	  Orange #ff9000 
55	  Red 	 #c93d3d 
6- 	   
6+ Light Red	 #c97474 	  
77*/ 
88
99# temp-logged-in-notice  {
Original file line number Diff line number Diff line change 11@extends (' layouts.master' 
2- 
2+ < link   rel = " stylesheet "   href = " {{  URL :: asset ( ' /css/newspost.css ' )  } } " > 
33@section (' content' 
4+ <div  class =" container" id =" container-spacing" 
45
5- <h4 >{{ $post -> title } }h4 ><br >
6- {{ $post -> created_at } }br ><br >
7- <?php  echo  $post -> info ;  ? >br >
8- 
6+ <div  id =" post" 
7+   <div  id =" post-title" {{ $post -> title } }div >
8+   <div  id =" post-time" {{ $post -> created_at } }div >
9+   <div  id =" post-info" <?php  echo  $post -> info ;  ? >div >
10+ </div >
911
10- <h2 >Comments:</h2 >
12+ <div   id = " comments-label " div >
1113
1214@foreach  ($post -> comments  as  $comment 
13-     <a  href =" /members/{{ $comment -> user -> id } }" {{ $comment -> user -> name } }a ><br >
14-     {{ $comment -> created_at } }br >
15-     {{ $comment -> data } }br ><br >
15+   <div  class =" comment" 
16+     <span  id =" comment-data" {{ $comment -> data } }span > - 
17+     <a  href =" /members/{{ $comment -> user -> id } }" id =" comment-name" {{ $comment -> user -> name } }a >
18+     <span  id =" comment-time" {{ $comment -> created_at } }span >
19+     
20+   </div >
1621@endforeach  
1722
1823@if (Auth:: User () )
2126    <div  class =" form-group" 
2227       <textarea  class =" form-control" name =" data" id =" new-project" rows =" 5" placeholder =" Post a comment here." textarea >
2328   </div >
24-    <button  type =" submit" class =" btn btn-primary" button >
29+    <button  type =" submit" class =" btn btn-primary"   id = " comment-button " button >
2530   <input  type =" hidden" value =" {{  Session:: token ()  } }" name =" _token" 
2631     {{  csrf_field ()  } }
2732</form >
3035    Please <a  href =" {{  url (' /login'  } }" a > if you want to post a comment.
3136@endif 
3237
38+ </div >
3339@endsection 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments