Brak opisu

teamcreate.blade.php 2.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @extends('admin/master')
  2. @section('content')
  3. <body>
  4. @if(count($errors) > 0)
  5. <div class="Huialert Huialert-info" id="error">
  6. @foreach($errors->all() as $error)
  7. <li>{{$error}}</li>
  8. @endforeach
  9. </div>
  10. @endif
  11. <div class="page-container">
  12. <form action="/admin/admin/teamstore" method="post" class="form form-horizontal">
  13. <input type="hidden" name="_token" value="{{ csrf_token() }}" />
  14. <div class="row cl">
  15. <label class="form-label col-xs-4 col-sm-2">
  16. 团队名:</label>
  17. <div class="formControls col-xs-6 col-sm-6">
  18. <input type="text" class="input-text" value="{{old('name')}}" placeholder="" name="name">
  19. </div>
  20. </div>
  21. <div class="row cl">
  22. <label class="form-label col-xs-4 col-sm-2">
  23. <font color='red'>* </font>团队类型:</label>
  24. <div class="formControls col-xs-6 col-sm-6">
  25. <input type="radio" name="type" value="1" @if(old('type')==='1') checked @endif>
  26. <label for="status-1" style="margin-right: 27px;">销售团队</label>
  27. <input type="radio" name="type" value="0" @if(old('type')==='0') checked @endif>
  28. <label for="status-0" style="margin-right: 27px;">其他</label>
  29. </div>
  30. </div>
  31. <div class="row cl">
  32. <div class="col-9 col-offset-2">
  33. <button class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>&nbsp;
  34. <button class="btn btn-default" type="reset" onclick="return_index();">&nbsp;&nbsp;返回&nbsp;&nbsp;</button>&nbsp;
  35. {{--<a href="javascript:void(0)" class="btn btn-default radius" onclick="redirect('{{url('/admin/admin/all')}}')">返回并查看结果</a>--}}
  36. </div>
  37. </div>
  38. </form>
  39. </div>
  40. <!--_footer 作为公共模版分离出去-->
  41. <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
  42. <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
  43. <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
  44. <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
  45. <!--/_footer 作为公共模版分离出去-->
  46. <!--请在下方写此页面业务相关的脚本-->
  47. <script type="text/javascript">
  48. $(function(){
  49. setTimeout("$('#error').hide()",3000);
  50. });
  51. /*返回*/
  52. function return_index(){
  53. location.href='/admin/admin/teamindex';
  54. }
  55. </script>
  56. </body>
  57. @endsection