home.blade.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. @extends('admin.partial.template')
  2. @include('admin.settings.sidebar')
  3. @section('section')
  4. <div class="title">
  5. <h3 class="font-weight-bold">Settings</h3>
  6. </div>
  7. <hr>
  8. <form method="post">
  9. @csrf
  10. <div class="form-group row">
  11. <label for="app_name" class="col-sm-3 col-form-label font-weight-bold text-right">App Name</label>
  12. <div class="col-sm-9">
  13. <input type="text" class="form-control" id="app_name" name="APP_NAME" placeholder="Application Name ex: pixelfed" value="{{config('app.name')}}" autocomplete="off">
  14. <p class="text-muted small help-text font-weight-bold mb-0">Site name, default: pixelfed</p>
  15. </div>
  16. </div>
  17. <div class="form-group row">
  18. <label for="app_url" class="col-sm-3 col-form-label font-weight-bold text-right">App URL</label>
  19. <div class="col-sm-9">
  20. <input type="text" class="form-control" id="app_url" name="APP_URL" placeholder="Application URL" value="{{config('app.url')}}">
  21. <p class="text-muted small help-text font-weight-bold mb-0">App URL, used for building URLs ex: https://example.org</p>
  22. </div>
  23. </div>
  24. <div class="form-group row">
  25. <label for="app_url" class="col-sm-3 col-form-label font-weight-bold text-right">App Domain</label>
  26. <div class="col-sm-9">
  27. <input type="text" class="form-control" id="app_url" name="app_domain" placeholder="example.org" value="{{config('pixelfed.domain.app')}}">
  28. <p class="text-muted small help-text font-weight-bold mb-0">Used for routing ex: example.org</p>
  29. </div>
  30. </div>
  31. <div class="form-group row">
  32. <label for="app_url" class="col-sm-3 col-form-label font-weight-bold text-right">Admin Domain</label>
  33. <div class="col-sm-9">
  34. <input type="text" class="form-control" id="admin_domain" name="admin_domain" placeholder="admin.example.org" value="{{config('pixelfed.domain.admin')}}">
  35. <p class="text-muted small help-text font-weight-bold mb-0">Used for routing the admin dashboard ex: admin.example.org</p>
  36. </div>
  37. </div>
  38. {{-- <div class="alert alert-info border-0">
  39. <div class="media d-flex align-items-center">
  40. <div class="mr-3">
  41. <i class="fas fa-info-circle fa-2x"></i>
  42. </div>
  43. <div class="media-body">
  44. <p class="mb-0 lead">Tip:</p>
  45. <p class="mb-0">You can edit the .env file in the <a href="#" class="font-weight-bold">Configuration</a> settings.</p>
  46. </div>
  47. </div>
  48. </div>
  49. <hr>
  50. <div class="form-group row mb-0">
  51. <div class="col-12 text-right">
  52. <button type="submit" class="btn btn-primary font-weight-bold">Submit</button>
  53. </div>
  54. </div> --}}
  55. </form>
  56. @endsection