Browse Source

Link to GitHub on Integrations page.

pull/81/head
Pēteris Caune 8 years ago
parent
commit
71769e2c14
3 changed files with 18 additions and 4 deletions
  1. +9
    -1
      static/css/channels.css
  2. BIN
      static/img/integrations/missing.png
  3. +9
    -3
      templates/front/channels.html

+ 9
- 1
static/css/channels.css View File

@ -120,7 +120,7 @@ table.channels-table > tbody > tr > th {
margin-left: 72px; margin-left: 72px;
} }
.add-integration a {
.add-integration a.btn {
position: absolute; position: absolute;
right: 16px; right: 16px;
top: 50%; top: 50%;
@ -172,4 +172,12 @@ table.channels-table > tbody > tr > th {
.variable-column { .variable-column {
width: 160px; width: 160px;
}
.add-integration li.link-to-github {
padding: 16px 8px;
}
.link-to-github p {
margin-bottom: 0;
} }

BIN
static/img/integrations/missing.png View File

Before After
Width: 200  |  Height: 200  |  Size: 4.7 KiB

+ 9
- 3
templates/front/channels.html View File

@ -201,10 +201,16 @@
<a href="{% url 'hc-add-pushover' %}" class="btn btn-primary">Add Integration</a> <a href="{% url 'hc-add-pushover' %}" class="btn btn-primary">Add Integration</a>
</li> </li>
{% endif %} {% endif %}
</ul>
<li class="link-to-github">
<img src="{% static 'img/integrations/missing.png' %}"
class="icon" alt="Suggest New Integration" />
<p>
Your favorite service or notification method not listed? <br />
Please <a href="https://github.com/healthchecks/healthchecks/issues">file an issue on GitHub</a>!
</p>
</li>
</ul>
</div> </div>
</div> </div>


Loading…
Cancel
Save