Cosmetic enhancements to Netmail/Echomail view. Fix route to show packets with more than 0-9a-f names.

This commit is contained in:
Deon George 2023-07-27 21:20:03 +10:00
parent e97a106178
commit ad8582ef52
3 changed files with 15 additions and 7 deletions

View File

@ -1,10 +1,14 @@
@extends('layouts.app') @extends('layouts.app')
@section('htmlheader_title') @section('htmlheader_title')
Message View Echomail {{ $o->msgid }}
@endsection @endsection
@section('content') @section('content')
<div class="row pt-3">
<div class="col-12">
<h3>Echomail</h3> <h3>Echomail</h3>
@include('widgets.message',['msg'=>$o]) @include('widgets.message',['msg'=>$o])
</div>
</div>
@endsection @endsection

View File

@ -1,10 +1,14 @@
@extends('layouts.app') @extends('layouts.app')
@section('htmlheader_title') @section('htmlheader_title')
Message View Netmail {{ $o->msgid }}
@endsection @endsection
@section('content') @section('content')
<div class="row pt-3">
<div class="col-12">
<h3>Netmail</h3> <h3>Netmail</h3>
@include('widgets.message',['msg'=>$o]) @include('widgets.message',['msg'=>$o])
</div>
</div>
@endsection @endsection

View File

@ -111,7 +111,7 @@ Route::middleware(['auth','verified','activeuser'])->group(function () {
Route::match(['get','post'],'link',[UserController::class,'link']); Route::match(['get','post'],'link',[UserController::class,'link']);
Route::post('packet/contents/{o}/{packet}',[HomeController::class,'packet_contents']) Route::post('packet/contents/{o}/{packet}',[HomeController::class,'packet_contents'])
->where('o','[0-9]+') ->where('o','[0-9]+')
->where('packet','[0-9a-f]+'); ->where('packet','[0-9a-z]+');
Route::get('permissions',[HomeController::class,'permissions']); Route::get('permissions',[HomeController::class,'permissions']);
Route::get('regions/{o}',[DomainController::class,'api_regions']) Route::get('regions/{o}',[DomainController::class,'api_regions'])
->where('o','[0-9]+'); ->where('o','[0-9]+');