Files
MyX/resources/views/accounts/view.blade.php

58 lines
2.4 KiB
PHP

@extends('layouts.app')
@section('content')
<div class="bg-body-light">
<div class="content content-full">
<div class="d-flex flex-column flex-sm-row justify-content-sm-between align-items-sm-center">
<h1 class="flex-grow-1 fs-3 fw-semibold my-2 my-sm-3">{{$account->name}}</h1>
<nav class="flex-shrink-0 my-2 my-sm-0 ms-sm-3" aria-label="breadcrumb">
<ol class="breadcrumb">
</ol>
</nav>
</div>
</div>
</div>
<div class="content">
<div class="block">
<div class="block-content table-responsive">
<p>
<strong>ID: </strong> {{$account->id}}
</p>
<p>
<strong>Nom: </strong> {{$account->name}}
</p>
<p>
<strong>Accès: </strong>
@if(str_contains($browser['os_family'], 'android'))
<a href="intent://x.com?auth_token={{$account->auth_token}}#Intent;package=com.kiwibrowser.browser;scheme=https;end" target="_blank" class="btn btn-alt-info me-1 mb-3">
<i class="fa fa-fw fa-lock opacity-50 me-1"></i>
</a>
@else
<a href="https://x.com?auth_token={{$account->auth_token}}" target="_blank" class="btn btn-alt-info me-1 mb-3">
<i class="fa fa-fw fa-lock opacity-50 me-1"></i>
</a>
@endif
</p>
<p>
<strong>Webmail: </strong>
<a href="https://mail.myx.ovh/?postlogin&Email={{$account->rambler_email}}&Password={{$account->rambler_password}}" target="_blank" class="btn btn-alt-info me-1 mb-3">
<i class="fa fa-fw fa-mail-bulk opacity-50 me-1"></i>
</a>
</p>
<P>
<strong>Voir: </strong>
<a href="https://myx.ovh/nova/resources/accounts/{{$account->id}}" target="_blank" class="btn btn-alt-info me-1 mb-3">
<i class="fa fa-fw fa-eye opacity-50 me-1"></i>
</a>
</P>
<p>
<strong>Auth Token:</strong> {{$account->auth_token}}
</p>
</div>
</div>
</div>
@endsection