phpldapadmin/resources/views/home.blade.php

74 lines
2.3 KiB
PHP
Raw Permalink Normal View History

2020-09-05 23:46:27 +00:00
@extends('architect::layouts.app')
2020-08-20 12:33:13 +00:00
{{--
2020-08-20 12:33:13 +00:00
@section('htmlheader_title')
@lang('Home')
2020-08-20 12:33:13 +00:00
@endsection
2020-09-13 11:30:04 +00:00
@section('page_title')
@endsection
@section('page_icon')
2020-08-20 12:33:13 +00:00
@endsection
--}}
2020-08-20 12:33:13 +00:00
@section('main-content')
2020-08-22 12:26:06 +00:00
<div class="card card-solid">
<div class="card-body">
<div class="row">
2020-08-23 02:30:18 +00:00
<div class="col-12 col-sm-4">
2020-08-22 12:26:06 +00:00
<h3 class="d-inline-block d-sm-none">phpLDAPadmin</h3>
<img src="{{ url('/images/logo.png') }}" class="logo-image col-12" alt="PLA Logo">
2020-08-22 12:26:06 +00:00
</div>
2020-08-23 02:30:18 +00:00
<div class="col-12 col-sm-8">
2020-08-23 01:37:08 +00:00
<h3 class="mb-1">Welcome to phpLDAPadmin</h3>
<h4 class="mb-3"><small>{{ config('app.version') }}</small></h4>
2020-08-22 12:26:06 +00:00
<p>phpLDAPadmin (or PLA for short) is an LDAP data management tool for administrators.</p>
2020-08-31 14:13:27 +00:00
<p>PLA aims to adhere to the LDAP standards so that it can interact with any LDAP server that implements those standards.</p>
2020-08-23 02:30:18 +00:00
</div>
</div>
<div class="row">
<div class="col-12">
2020-08-22 12:26:06 +00:00
<hr>
<p>Version 2 is a complete re-write of PLA, leveraging the advancements and modernisation of web tools and methods, libraries since version 1 was released.</p>
<p>You can support this application by letting us know which LDAP server you use (including version and platform).</p>
</div>
</div>
</div>
</div>
@if(file_exists('home-note.html'))
<hr>
2023-04-11 22:17:57 +00:00
<div class="row">
<div class="col-12 offset-lg-2 col-lg-8">
<div class="mx-auto card text-white card-body bg-primary">
<h5 class="text-white card-title"><i class="icon fa-2x fas fa-info pe-3"></i><span class="font-size-xlg">NOTE</span></h5>
<span class="w-100 pb-0">
{!! file_get_contents('home-note.html') !!}
</span>
</div>
</div>
</div>
@endif
2020-08-20 12:33:13 +00:00
@endsection
2020-09-13 11:30:04 +00:00
@section('page-scripts')
2023-02-14 10:38:42 +00:00
<script type="text/javascript">
2020-09-13 11:30:04 +00:00
var basedn = {!! $bases->toJson() !!};
var subpage = window.location.hash;
$(document).ready(function() {
// Enable navigating to a page via a URL fragment, and that fragment is defined with a server-icon
var valid = Object.values($('.server-icon > a').map(function(item) {
return $(this).attr('id');
})).indexOf(subpage.substring(1));
if (valid !== -1 && subpage) {
// The click() event wont have been registered yet, so we need to delay us clicking it
setTimeout(function() { $(subpage).click(); },250);
}
});
2020-09-13 11:30:04 +00:00
</script>
2023-02-14 10:38:42 +00:00
@append