index.blade.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. @extends('layouts.app')
  2. @section('content')
  3. @if (session('status'))
  4. <div class="alert alert-primary px-3 h6 font-weight-bold text-center">
  5. {{ session('status') }}
  6. </div>
  7. @endif
  8. @if ($errors->any())
  9. <div class="alert alert-danger px-3 h6 text-center">
  10. @foreach($errors->all() as $error)
  11. <p class="font-weight-bold mb-1">{{ $error }}</p>
  12. @endforeach
  13. </div>
  14. @endif
  15. @if (session('error'))
  16. <div class="alert alert-danger px-3 h6 text-center">
  17. {{ session('error') }}
  18. </div>
  19. @endif
  20. <div class="container">
  21. <div class="col-12">
  22. <div class="card shadow-none border mt-5">
  23. <div class="card-body">
  24. <div class="row">
  25. <div class="col-12 p-3 p-md-5">
  26. <div class="title">
  27. <div class="d-flex justify-content-between align-items-center">
  28. <h3 class="font-weight-bold">Account Migration</h3>
  29. <a class="font-weight-bold" href="/settings/home">
  30. <i class="far fa-long-arrow-left"></i>
  31. Back to Settings
  32. </a>
  33. </div>
  34. <hr />
  35. </div>
  36. <div>
  37. @if($hasExistingMigration)
  38. <div class="row">
  39. <div class="col-12 mt-5">
  40. <p class="lead text-center">You have migrated your account already.</p>
  41. <p>You can only migrate your account once per 30 days. If you want to migrate your followers back to this account, follow this process in reverse.</p>
  42. </div>
  43. </div>
  44. @else
  45. <div class="row">
  46. <div class="col-12">
  47. <p class="lead">If you want to move this account to another account, please read the following carefully.</p>
  48. <ul class="text-danger lead">
  49. <li class="font-weight-bold">Only followers will be transferred; no other information will be moved automatically.</li>
  50. <li>This process will transfer all followers from your existing account to your new account.</li>
  51. <li>A redirect notice will be added to your current account's profile, and it will be removed from search results.</li>
  52. <li>You must set up the new account to link back to your current account before proceeding.</li>
  53. <li>Once the transfer is initiated, there will be a waiting period during which you cannot initiate another transfer.</li>
  54. <li>After the transfer, your current account will be limited in functionality, but you will retain the ability to export data and possibly reactivate the account.</li>
  55. </ul>
  56. <p class="mb-0">For more information on Aliases and Account Migration, visit the <a href="/site/kb/your-profile">Help Center</a>.</p>
  57. <hr>
  58. <form method="post" autocomplete="off">
  59. @csrf
  60. <div class="row">
  61. <div class="col-12 col-md-6">
  62. <div class="form-group">
  63. <label class="font-weight-bold mb-0">New Account Handle</label>
  64. <p class="small text-muted">Enter the username@domain of the account you want to move to</p>
  65. <input
  66. type="email"
  67. class="form-control"
  68. name="acct"
  69. placeholder="username@domain.tld"
  70. role="presentation"
  71. autocomplete="new-user-email"
  72. />
  73. </div>
  74. </div>
  75. <div class="col-12 col-md-6">
  76. <div class="form-group">
  77. <label class="font-weight-bold mb-0">Account Password</label>
  78. <p class="small text-muted">For security purposes please enter the password of the current account</p>
  79. <input
  80. type="password"
  81. class="form-control"
  82. name="password"
  83. role="presentation"
  84. placeholder="Your account password"
  85. autocomplete="new-password"
  86. />
  87. </div>
  88. </div>
  89. </div>
  90. <button class="btn btn-primary btn-block font-weight-bold btn-lg rounded-pill">Move Followers</button>
  91. </form>
  92. </div>
  93. </div>
  94. @endif
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. @endsection