PHP Classes

File: resources/views/user/activity.blade.php

Recommend this page to a friend!
  Classes of saber tabatabaee   Laravel PHP Task Manager   resources/views/user/activity.blade.php   Download  
File: resources/views/user/activity.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel PHP Task Manager
Application to manage project tasks
Author: By
Last change:
Date: 4 years ago
Size: 3,535 bytes
 

Contents

Class file image Download
@extends('layouts.app')

@section('content')
<div class="profile-con" style="padding-left: 10px !important; padding-top: 60px !important; padding-right: 10px; padding-bottom: 0px;">
    @include('layouts.partials.profileintro')
    <div class="container">
        <div class="row" style="margin-top: 15px;">
            <div class="col-lg-5 col-lg-offset-3">
                <ul class="nav nav-tabs" role="tablist" style="padding-left: 150px;">
                    <li role="presentation" @if($page=='activity') class="active" @endif>
                        <a href="{{ route('user.activity') }}"><span class="glyphicon glyphicon-fire" aria-hidden="true"></span> {{ trans('board.Activity') }}</a>
                    </li>
                    <li role="presentation" @if($page=='profile') class="active" @endif>
                        <a href="{{ route('user.profile') }}"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span> {{ trans('board.Profile') }}</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="row" style="margin-top: 15px;">
            <div class="col-lg-8 col-lg-offset-2">
                <ul>
                    @foreach($userActivity as $activity)
                        <li>
                            <div class="media">
                                <div class="pull-right" style="display: block; border: 1px solid #DCDCDC; border-radius: 4px; box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.17); padding: 3px;">
                                    <img class="media-object" src="{{ asset('img/user_1.jpg') }}" style="width: 35px;">
                                </div>
                                <div class="media-body" style="padding-left: 15px; padding-top: 1px;">
                                    <p style="margin-bottom: 1px;"><b><span style="text-transform: capitalize;">{{ Auth::user()->name }}</span></b> @if($activity->activity_description == "created a board") created a board @elseif($activity->activity_description == "un-fav a board") Un Favourite a board @elseif($activity->activity_description == "fav a board") Favourite a board @elseif($activity->activity_description == "created a list") created a list @elseif($activity->activity_description == "deleted a list") Deleted a list @elseif($activity->activity_description == "created a card") Created a Card @elseif($activity->activity_description == "deleted a card") Deleted a Card @elseif($activity->activity_description == "edit list name") Edit List Name @elseif($activity->activity_description == "deleted a list") Deleted a List @elseif($activity->activity_description == "card is edited") Edit the Card @elseif($activity->activity_description == "task is added") Added a task @elseif($activity->activity_description == "task is deleted") Task is Deleted @elseif($activity->activity_description == "posted a comment") Posted a Comment on a card @endif </p>
                                    <p style="margin-bottom: 1px;"><span class="glyphicon glyphicon-time" aria-hidden="true"></span> {{ Carbon\Carbon::parse($activity->created_at)->toDayDateTimeString() }}</p>
                                    <p style="margin-bottom: 1px;"><span class="glyphicon glyphicon-time" aria-hidden="true"></span> {{ verta($activity->created_at) }}</p>

                                </div>
                            </div>
                        </li>
                        <hr>
                    @endforeach
                </ul>
            </div>
        </div>
    </div>
</div>
@endsection