notification.blade.php 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. @extends('theme::layout.public')
  2. @section('seo_title')通知提醒 - {{ Setting()->get('website_name') }}@endsection
  3. @section('content')
  4. <div class="row">
  5. <!--左侧菜单-->
  6. @include('theme::layout.profile_menu')
  7. <div id="main" class="settings col-md-10 form-horizontal main">
  8. <h2 class="h3 post-title">通知提醒</h2>
  9. <div class="row mt-30">
  10. <form name="notify_form" method="post" action="{{ route('auth.profile.notification') }}">
  11. {{ csrf_field() }}
  12. <div class="col-md-8">
  13. <div class="form-group">
  14. <label for="" class="control-label col-sm-2">站内通知</label>
  15. <div class="col-sm-8">
  16. <div class="checkbox">
  17. <label>
  18. <input name="site_notifications[]" type="checkbox" value="answer" @if(in_array('answer',$siteNotifications))) checked @endif /> 当有人回答我问题时
  19. </label>
  20. </div>
  21. <div class="checkbox">
  22. <label>
  23. <input name="site_notifications[]" type="checkbox" value="follow_user" @if(in_array('follow_user',$siteNotifications))) checked @endif /> 当有人关注我时
  24. </label>
  25. </div>
  26. <div class="checkbox">
  27. <label>
  28. <input name="site_notifications[]" type="checkbox" value="invite_answer" @if(in_array('invite_answer',$siteNotifications))) checked @endif /> 当有人邀请我回答问题时
  29. </label>
  30. </div>
  31. <div class="checkbox">
  32. <label>
  33. <input name="site_notifications[]" type="checkbox" value="comment_question" @if(in_array('comment_question',$siteNotifications))) checked @endif> 当有人评论我的问题时
  34. </label>
  35. </div>
  36. <div class="checkbox">
  37. <label>
  38. <input name="site_notifications[]" type="checkbox" value="comment_article" @if(in_array('comment_article',$siteNotifications))) checked @endif> 当有人评论我的文章时
  39. </label>
  40. </div>
  41. <div class="checkbox">
  42. <label>
  43. <input name="site_notifications[]" type="checkbox" value="adopt_answer" @if(in_array('adopt_answer',$siteNotifications))) checked @endif> 当有人采纳我的回答时
  44. </label>
  45. </div>
  46. <div class="checkbox">
  47. <label>
  48. <input name="site_notifications[]" type="checkbox" value="comment_answer" @if(in_array('comment_answer',$siteNotifications))) checked @endif > 当有人评论我的回答时
  49. </label>
  50. </div>
  51. <div class="checkbox">
  52. <label>
  53. <input name="site_notifications[]" type="checkbox" value="reply_comment" @if(in_array('reply_comment',$siteNotifications))) checked @endif > 当有人回复我的评论时
  54. </label>
  55. </div>
  56. <div class="checkbox">
  57. <label>
  58. <input name="site_notifications[]" type="checkbox" value="remove_answer" @if(in_array('remove_answer',$siteNotifications))) checked @endif > 当有人删除我的回答时
  59. </label>
  60. </div>
  61. <div class="checkbox">
  62. <label>
  63. <input name="site_notifications[]" type="checkbox" value="remove_question" @if(in_array('remove_question',$siteNotifications))) checked @endif > 当有人删除我的问题时
  64. </label>
  65. </div>
  66. <div class="checkbox">
  67. <label>
  68. <input name="site_notifications[]" type="checkbox" value="remove_article" @if(in_array('remove_article',$siteNotifications))) checked @endif > 当有人删除我的文章时
  69. </label>
  70. </div>
  71. </div>
  72. </div>
  73. {{-- <div class="form-group">--}}
  74. {{-- <label for="" class="control-label col-sm-2">邮件通知</label>--}}
  75. {{-- <div class="col-sm-8">--}}
  76. {{-- <div class="checkbox">--}}
  77. {{-- <label>--}}
  78. {{-- <input name="email_notifications[]" type="checkbox" value="adopt_answer" @if(in_array('adopt_answer',$emailNotifications))) checked @endif > 当有人采纳我的回答时--}}
  79. {{-- </label>--}}
  80. {{-- </div>--}}
  81. {{-- <div class="checkbox">--}}
  82. {{-- <label>--}}
  83. {{-- <input name="email_notifications[]" type="checkbox" value="invite_answer" @if(in_array('invite_answer',$emailNotifications))) checked @endif > 当有人邀请我回答问题时--}}
  84. {{-- </label>--}}
  85. {{-- </div>--}}
  86. {{-- </div>--}}
  87. {{-- </div>--}}
  88. <div class="form-action row mb-30">
  89. <label for="" class="control-label col-sm-2"></label>
  90. <div class="col-sm-8">
  91. <button class="btn btn-xl btn-primary" type="submit">提交</button>
  92. </div>
  93. </div>
  94. </div>
  95. </form>
  96. </div>
  97. </div>
  98. </div>
  99. @endsection