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.

169 lines
7.2 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 USE_PAYMENTS %}
  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.user.profile.current_team }} <span class="caret"></span>
  102. </a>
  103. <ul class="dropdown-menu">
  104. <li class="dropdown-header">{{ request.user.profile }}</li>
  105. <li>
  106. <a href="{% url 'hc-switch-team' request.user.username %}" class="active">Checks</a>
  107. </li>
  108. <li><a href="{% url 'hc-profile' %}">Account Settings</a></li>
  109. <li role="separator" class="divider"></li>
  110. {% for m in request.user.member_set.all %}
  111. <li class="dropdown-header">{{ m.team }}</li>
  112. <li>
  113. <a href="{% url 'hc-switch-team' m.team.user.username %}">Checks</a>
  114. </li>
  115. <li role="separator" class="divider"></li>
  116. {% endfor %}
  117. <li><a href="{% url 'hc-logout' %}">Log Out</a></li>
  118. </ul>
  119. </li>
  120. </ul>
  121. {% endif %}
  122. </div>
  123. </div>
  124. </nav>
  125. {% block containers %}
  126. <div class="container">
  127. {% block content %}{% endblock %}
  128. </div>
  129. {% endblock %}
  130. <footer class="footer">
  131. <div class="container">
  132. <ul>
  133. <li>&copy; 2015-2016 Monkey See Monkey Do SIA</li>
  134. <li><a href="{% url 'hc-privacy' %}">Privacy</a></li>
  135. {% if USE_PAYMENTS %}
  136. <li><a href="{% url 'hc-pricing' %}">Pricing</a></li>
  137. {% endif %}
  138. <li><a href="{% url 'hc-about' %}">Contact</a></li>
  139. </ul>
  140. </div>
  141. </footer>
  142. {% block scripts %}
  143. {% compress js %}
  144. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  145. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  146. {% endcompress %}
  147. {% endblock %}
  148. </body>
  149. </html>