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.

176 lines
7.6 KiB

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