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.

171 lines
7.3 KiB

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