This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('master') | |
@section('title', 'Edit a ticket') | |
@section('content') | |
<div class="container col-md-8 col-md-offset-2"> | |
<div class="well well bs-component"> | |
<form class="form-horizontal" method="post"> | |
@foreach ($errors->all() as $error) | |
<p class="alert alert-danger">{{ $error }}</p> | |
@endforeach | |
@if (session('status')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('master') | |
@section('title', 'View a ticket') | |
@section('content') | |
<div class="container col-md-8 col-md-offset-2"> | |
<div class="well well bs-component"> | |
<div class="content"> | |
<h2 class="header">{!! $ticket->title !!}</h2> | |
<p> <strong>Status</strong>: {!! $ticket->status ? 'Pending' : 'Answered' !!}</p> | |
<p> {!! $ticket->content !!} </p> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('master') | |
@section('title', 'View all tickets') | |
@section('content') | |
<div class = "container col-md-8 col-md-offset-2"> | |
<div class = "panel panel-default"> | |
<div class = "panel-heading"> | |
<h2> Tickets </h2> | |
</div> | |
@if ($tickets->isEmpty()) | |
<p> There is no ticket.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Doubly Linked List implementation */ | |
#include<stdio.h> | |
#include<stdlib.h> | |
struct Node { | |
int data; | |
struct Node* next; | |
struct Node* prev; | |
}; |