Source code for cock.li
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.blade.php 3.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>@yield('title')&mdash; Cock.li E-mail Hosting</title>
  8. <link href="{{ asset('/css/app.css') }}" rel="stylesheet">
  9. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  10. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  11. <!--[if lt IE 9]>
  12. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  13. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  14. <![endif]-->
  15. </head>
  16. <body>
  17. <div class="container">
  18. <img src="/img/cock.svg" class="logo" />
  19. <h1 class="title hidden-xs">Cock.li &mdash; Yeah it's mail with cocks</h1>
  20. <nav class="navbar navbar-default">
  21. <div class="container-fluid">
  22. <div class="navbar-header">
  23. <div class="navbar-brand visible-xs">Cock.li &mdash; Yeah it's mail with cocks</div>
  24. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  25. <span class="sr-only">Toggle Navigation</span>
  26. <span class="icon-bar"></span>
  27. <span class="icon-bar"></span>
  28. <span class="icon-bar"></span>
  29. </button>
  30. </div>
  31. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  32. <ul class="nav navbar-nav">
  33. <li><a href="{{ url('/') }}">Home</a></li>
  34. <li><a href="{{ url('/server') }}">Server Info</a></li>
  35. <li><a href="{{ url('/mailinglist') }}">Mailing List</a></li>
  36. <li><a href="{{ url('/donate') }}">Donate</a></li>
  37. <li><a href="{{ url('https://mail.cock.li/') }}">Webmail</a></li>
  38. <li><a href="{{ url('/xmpp') }}">XMPP</a></li>
  39. <li><a href="{{ url('https://twitter.com/gexcolo') }}">Twitter</a></li>
  40. </ul>
  41. <ul class="nav navbar-nav navbar-right">
  42. @if (Auth::guest())
  43. <li><a href="{{ url('/auth/login') }}">Login</a></li>
  44. <li><a href="{{ url('/auth/register') }}">Register</a></li>
  45. @else
  46. <li class="dropdown">
  47. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ Auth::user()->email }} <span class="caret"></span></a>
  48. <ul class="dropdown-menu" role="menu">
  49. <li><a href="{{ url('/user/changepass') }}">Change Password</a></li>
  50. <li><a href="{{ url('/auth/logout') }}">Logout</a></li>
  51. </ul>
  52. </li>
  53. @endif
  54. </ul>
  55. </div>
  56. </div>
  57. </nav>
  58. <div class="panel panel-default">
  59. <div class="panel-heading">
  60. @yield('title')
  61. </div>
  62. <div class="panel-body">
  63. @yield('content')
  64. </div>
  65. <div class="panel-footer clearfix">
  66. <div class="pull-left">
  67. Service provided for fun by <strong><a href="https://vc.gg/">Vincent Canfield</a></strong>
  68. </div>
  69. <div class="pull-right">
  70. <strong><a href="/abuse">Report Abuse</a></strong> |
  71. <strong><a href="/tos">Terms of Service</a></strong> |
  72. <strong><a href="/privacy">Privacy Policy</a></strong>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <script src='/js/jquery.js'></script>
  78. <script src='/js/bootstrap.js'></script>
  79. </body>
  80. </html>