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.

177 lines
7.6 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
8 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. {% 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/icomoon.css' %}" type="text/css">
  15. <link rel="stylesheet" href="{% static 'css/nouislider.min.css' %}" type="text/css">
  16. <link rel="stylesheet" href="{% static 'css/nouislider.pips.css' %}" type="text/css">
  17. <link rel="stylesheet" href="{% static 'css/selectize.bootstrap3.css' %}" type="text/css">
  18. <link rel="stylesheet" href="{% static 'css/snippet-copy.css' %}" type="text/css">
  19. <link rel="stylesheet" href="{% static 'css/base.css' %}" type="text/css">
  20. <link rel="stylesheet" href="{% static 'css/docs.css' %}" type="text/css">
  21. <link rel="stylesheet" href="{% static 'css/docs_cron.css' %}" type="text/css">
  22. <link rel="stylesheet" href="{% static 'css/welcome.css' %}" type="text/css">
  23. <link rel="stylesheet" href="{% static 'css/my_checks.css' %}" type="text/css">
  24. <link rel="stylesheet" href="{% static 'css/my_checks_mobile.css' %}" type="text/css">
  25. <link rel="stylesheet" href="{% static 'css/my_checks_desktop.css' %}" type="text/css">
  26. <link rel="stylesheet" href="{% static 'css/pricing.css' %}" type="text/css">
  27. <link rel="stylesheet" href="{% static 'css/syntax.css' %}" type="text/css">
  28. <link rel="stylesheet" href="{% static 'css/channels.css' %}" type="text/css">
  29. <link rel="stylesheet" href="{% static 'css/channel_checks.css' %}" type="text/css">
  30. <link rel="stylesheet" href="{% static 'css/log.css' %}" type="text/css">
  31. <link rel="stylesheet" href="{% static 'css/add_pushover.css' %}" type="text/css">
  32. <link rel="stylesheet" href="{% static 'css/settings.css' %}" type="text/css">
  33. <link rel="stylesheet" href="{% static 'css/last_ping.css' %}" type="text/css">
  34. {% endcompress %}
  35. </head>
  36. <body class="page-{{ page }}">
  37. <nav class="navbar navbar-default">
  38. <div class="container">
  39. <div class="navbar-header">
  40. <button
  41. type="button"
  42. class="navbar-toggle collapsed"
  43. data-toggle="collapse"
  44. data-target="#navbar"
  45. aria-expanded="false"
  46. aria-controls="navbar">
  47. <span class="sr-only">Toggle navigation</span>
  48. <span class="icon-bar"></span>
  49. <span class="icon-bar"></span>
  50. <span class="icon-bar"></span>
  51. </button>
  52. <a class="navbar-brand"
  53. href="{% url 'hc-index' %}"
  54. title="healthchecks.io - Monitor Cron Jobs">
  55. {% if request.user.is_authenticated %}
  56. <img
  57. id="logo"
  58. height="50"
  59. width="59"
  60. src="{% static 'img/logo.png'%}"
  61. srcset="{% static 'img/logo.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  62. alt="healthchecks.io">
  63. {% else %}
  64. <img
  65. id="logo"
  66. height="50"
  67. width="200"
  68. src="{% static 'img/logo-full.png'%}"
  69. srcset="{% static 'img/logo-full.png'%} 1x, {% static 'img/[email protected]'%} 2x"
  70. alt="healthchecks.io">
  71. {% endif %}
  72. </a>
  73. </div>
  74. <div id="navbar" class="navbar-collapse collapse">
  75. <ul id="nav-main-sections" class="nav navbar-nav">
  76. {% if request.user.is_authenticated %}
  77. <li {% if page == 'checks' %} class="active" {% endif %}>
  78. <a href="{% url 'hc-checks' %}">Checks</a>
  79. </li>
  80. <li {% if page == 'channels' %} class="active" {% endif %}>
  81. <a href="{% url 'hc-channels' %}">Integrations</a>
  82. </li>
  83. {% endif %}
  84. {% if show_pricing %}
  85. <li {% if page == 'pricing' %} class="active" {% endif %}>
  86. <a href="{% url 'hc-pricing' %}">Pricing</a>
  87. </li>
  88. {% endif %}
  89. <li {% if page == 'docs' %} class="active" {% endif %}>
  90. <a href="{% url 'hc-docs' %}">Docs</a>
  91. </li>
  92. <li {% if page == 'about' %} class="active" {% endif %}>
  93. <a href="{% url 'hc-about' %}">About</a>
  94. </li>
  95. </ul>
  96. {% if request.user.is_authenticated %}
  97. {% else %}
  98. <ul class="nav navbar-nav navbar-right">
  99. <li><a href="{% url 'hc-login' %}">Log In</a></li>
  100. </ul>
  101. {% endif %}
  102. {% if request.user.is_authenticated %}
  103. <ul class="nav navbar-nav navbar-right">
  104. <li class="dropdown">
  105. <a id="nav-email" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">
  106. {{ request.team }} <span class="caret"></span>
  107. </a>
  108. <ul class="dropdown-menu">
  109. {% if request.teams %}
  110. <li class="dropdown-header">{{ request.user.profile }}</li>
  111. <li>
  112. <a href="{% url 'hc-switch-team' request.user.username %}" class="active">Checks</a>
  113. </li>
  114. {% endif %}
  115. <li><a href="{% url 'hc-profile' %}">Account Settings</a></li>
  116. <li role="separator" class="divider"></li>
  117. {% for team in request.teams %}
  118. <li class="dropdown-header">{{ team }}</li>
  119. <li>
  120. <a href="{% url 'hc-switch-team' team.user.username %}">Checks</a>
  121. </li>
  122. <li role="separator" class="divider"></li>
  123. {% endfor %}
  124. <li><a href="{% url 'hc-logout' %}">Log Out</a></li>
  125. </ul>
  126. </li>
  127. </ul>
  128. {% endif %}
  129. </div>
  130. </div>
  131. </nav>
  132. {% block containers %}
  133. <div class="container">
  134. {% block content %}{% endblock %}
  135. </div>
  136. {% endblock %}
  137. <footer class="footer">
  138. <div class="container">
  139. <ul>
  140. <li>&copy; 2015-2017 Monkey See Monkey Do SIA</li>
  141. <li><a href="{% url 'hc-terms' %}">Terms</a></li>
  142. <li><a href="{% url 'hc-privacy' %}">Privacy</a></li>
  143. {% if show_pricing %}
  144. <li><a href="{% url 'hc-pricing' %}">Pricing</a></li>
  145. {% endif %}
  146. <li><a href="{% url 'hc-about' %}">Contact</a></li>
  147. </ul>
  148. </div>
  149. </footer>
  150. {% block scripts %}
  151. {% compress js %}
  152. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  153. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  154. {% endcompress %}
  155. {% endblock %}
  156. </body>
  157. </html>