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.

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