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.

183 lines
8.1 KiB

10 years ago
9 years ago
10 years ago
8 years ago
10 years ago
8 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
  1. {% load hc_extras %}
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <title>{% block title %}{% site_name %} - Monitor Cron Jobs. Get Notified When Your Cron Jobs Fail{% endblock %}</title>
  7. <meta name="description" content="Monitor and Get Notified When Your Cron Jobs Fail. Free alternative to Cronitor and Dead Man's Snitch.">
  8. <meta name="keywords" content="monitor cron jobs daemon background worker service cronjob monitoring crontab alert notify cronitor deadmanssnitch webhook">
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <meta name="apple-mobile-web-app-title" content="{% site_name %}">
  11. <meta name="application-name" content="{% site_name %}">
  12. {% load compress staticfiles %}
  13. <link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}">
  14. <link rel="apple-touch-icon" sizes="180x180" href="{% static 'img/apple-touch-180.png' %}">
  15. {% compress css %}
  16. <link rel="stylesheet" href="{% static 'css/bootstrap.css' %}" type="text/css">
  17. <link rel="stylesheet" href="{% static 'css/icomoon.css' %}" type="text/css">
  18. <link rel="stylesheet" href="{% static 'css/nouislider.min.css' %}" type="text/css">
  19. <link rel="stylesheet" href="{% static 'css/nouislider.pips.css' %}" type="text/css">
  20. <link rel="stylesheet" href="{% static 'css/selectize.bootstrap3.css' %}" type="text/css">
  21. <link rel="stylesheet" href="{% static 'css/snippet-copy.css' %}" type="text/css">
  22. <link rel="stylesheet" href="{% static 'css/base.css' %}" type="text/css">
  23. <link rel="stylesheet" href="{% static 'css/docs.css' %}" type="text/css">
  24. <link rel="stylesheet" href="{% static 'css/docs_cron.css' %}" type="text/css">
  25. <link rel="stylesheet" href="{% static 'css/welcome.css' %}" type="text/css">
  26. <link rel="stylesheet" href="{% static 'css/my_checks.css' %}" type="text/css">
  27. <link rel="stylesheet" href="{% static 'css/my_checks_mobile.css' %}" type="text/css">
  28. <link rel="stylesheet" href="{% static 'css/my_checks_desktop.css' %}" type="text/css">
  29. <link rel="stylesheet" href="{% static 'css/pricing.css' %}" type="text/css">
  30. <link rel="stylesheet" href="{% static 'css/syntax.css' %}" type="text/css">
  31. <link rel="stylesheet" href="{% static 'css/channels.css' %}" type="text/css">
  32. <link rel="stylesheet" href="{% static 'css/channel_checks.css' %}" type="text/css">
  33. <link rel="stylesheet" href="{% static 'css/log.css' %}" type="text/css">
  34. <link rel="stylesheet" href="{% static 'css/add_pushover.css' %}" type="text/css">
  35. <link rel="stylesheet" href="{% static 'css/settings.css' %}" type="text/css">
  36. <link rel="stylesheet" href="{% static 'css/last_ping.css' %}" type="text/css">
  37. <link rel="stylesheet" href="{% static 'css/profile.css' %}" type="text/css">
  38. <link rel="stylesheet" href="{% static 'css/checkbox.css' %}" type="text/css">
  39. <link rel="stylesheet" href="{% static 'css/radio.css' %}" type="text/css">
  40. {% endcompress %}
  41. </head>
  42. <body class="page-{{ page }}">
  43. <nav class="navbar navbar-default">
  44. <div class="container">
  45. <div class="navbar-header">
  46. <button
  47. type="button"
  48. class="navbar-toggle collapsed"
  49. data-toggle="collapse"
  50. data-target="#navbar"
  51. aria-expanded="false"
  52. aria-controls="navbar">
  53. <span class="sr-only">Toggle navigation</span>
  54. <span class="icon-bar"></span>
  55. <span class="icon-bar"></span>
  56. <span class="icon-bar"></span>
  57. </button>
  58. <a class="navbar-brand"
  59. href="{% url 'hc-index' %}"
  60. title="healthchecks.io - Monitor Cron Jobs">
  61. {% if request.user.is_authenticated %}
  62. <img
  63. id="logo"
  64. height="50"
  65. width="59"
  66. src="{% static 'img/logo.png'%}"
  67. srcset="{% static 'img/logo.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  68. alt="healthchecks.io">
  69. {% else %}
  70. <img
  71. id="logo"
  72. height="50"
  73. width="200"
  74. src="{% static 'img/logo-full.png'%}"
  75. srcset="{% static 'img/logo-full.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  76. alt="healthchecks.io">
  77. {% endif %}
  78. </a>
  79. </div>
  80. <div id="navbar" class="navbar-collapse collapse">
  81. <ul id="nav-main-sections" class="nav navbar-nav">
  82. {% if request.user.is_authenticated %}
  83. <li {% if page == 'checks' %} class="active" {% endif %}>
  84. <a href="{% url 'hc-checks' %}">Checks</a>
  85. </li>
  86. <li {% if page == 'channels' %} class="active" {% endif %}>
  87. <a href="{% url 'hc-channels' %}">Integrations</a>
  88. </li>
  89. {% endif %}
  90. {% if show_pricing %}
  91. <li {% if page == 'pricing' %} class="active" {% endif %}>
  92. <a href="{% url 'hc-pricing' %}">Pricing</a>
  93. </li>
  94. {% endif %}
  95. <li {% if page == 'docs' %} class="active" {% endif %}>
  96. <a href="{% url 'hc-docs' %}">Docs</a>
  97. </li>
  98. <li {% if page == 'about' %} class="active" {% endif %}>
  99. <a href="{% url 'hc-about' %}">About</a>
  100. </li>
  101. </ul>
  102. {% if request.user.is_authenticated %}
  103. {% else %}
  104. <ul class="nav navbar-nav navbar-right">
  105. <li><a href="{% url 'hc-login' %}">Log In</a></li>
  106. </ul>
  107. {% endif %}
  108. {% if request.user.is_authenticated %}
  109. <ul class="nav navbar-nav navbar-right">
  110. <li class="dropdown">
  111. <a id="nav-email" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">
  112. {{ request.team }} <span class="caret"></span>
  113. </a>
  114. <ul class="dropdown-menu">
  115. {% if request.teams %}
  116. <li class="dropdown-header">{{ request.user.profile }}</li>
  117. <li>
  118. <a href="{% url 'hc-switch-team' request.user.username %}" class="active">Checks</a>
  119. </li>
  120. {% endif %}
  121. <li><a href="{% url 'hc-profile' %}">Account Settings</a></li>
  122. <li role="separator" class="divider"></li>
  123. {% for team in request.teams %}
  124. <li class="dropdown-header">{{ team }}</li>
  125. <li>
  126. <a href="{% url 'hc-switch-team' team.user.username %}">Checks</a>
  127. </li>
  128. <li role="separator" class="divider"></li>
  129. {% endfor %}
  130. <li><a href="{% url 'hc-logout' %}">Log Out</a></li>
  131. </ul>
  132. </li>
  133. </ul>
  134. {% endif %}
  135. </div>
  136. </div>
  137. </nav>
  138. {% block containers %}
  139. <div class="container">
  140. {% block content %}{% endblock %}
  141. </div>
  142. {% endblock %}
  143. <footer class="footer">
  144. <div class="container">
  145. <ul>
  146. <li class="hidden-xs">&copy; 2015-2018 Monkey See Monkey Do SIA</li>
  147. <li><a href="{% url 'hc-terms' %}">Terms</a></li>
  148. <li><a href="{% url 'hc-privacy' %}">Privacy</a></li>
  149. {% if show_pricing %}
  150. <li><a href="{% url 'hc-pricing' %}">Pricing</a></li>
  151. {% endif %}
  152. <li><a href="{% url 'hc-about' %}">Contact</a></li>
  153. </ul>
  154. </div>
  155. </footer>
  156. {% block scripts %}
  157. {% compress js %}
  158. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  159. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  160. {% endcompress %}
  161. {% endblock %}
  162. </body>
  163. </html>