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.

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