Browse Source

New styling for integrations on the Welcome page.

pull/193/head
Pēteris Caune 6 years ago
parent
commit
1b962efe41
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 89 additions and 113 deletions
  1. +25
    -6
      static/css/welcome.css
  2. +64
    -107
      templates/front/welcome.html

+ 25
- 6
static/css/welcome.css View File

@ -61,17 +61,36 @@
.tour-section {
margin-bottom: 50px;
margin-bottom: 80px;
}
.welcome-integrations img {
width: 22px;
height: 22px;
#welcome-integrations h1 {
text-align: center;
margin-bottom: 20px;
}
.welcome-integrations span {
#welcome-integrations .integration {
display: inline-block;
font-size: 22px;
border: 1px solid #ddd;
border-radius: 3px;
padding: 20px 0;
margin: 0 20px 20px 0;
text-align: center;
width: 175px;
}
#welcome-integrations img {
width: 48px;
height: 48px;
}
#welcome-integrations h3 {
font-size: 18px;
margin-bottom: 0;
}
#welcome-integrations h3 small {
font-size: 12px;
}
.page-welcome .tab-content {


+ 64
- 107
templates/front/welcome.html View File

@ -283,7 +283,7 @@
<div class="col-sm-4">
<p>
You can add a longer, free-form description to each
check. Leave notes and pointers for your future self and
check. Leave notes and pointers for yourself and
for your team.
</p>
<p>
@ -293,112 +293,6 @@
</div>
</div>
<div class="row tour-section">
<div class="col-sm-8">
<img
class="img-responsive"
src="{% static 'img/channels.png' %}"
srcset="{% static 'img/channels.png'%} 1x, {% static 'img/[email protected]'%} 2x"
alt="Channels page" />
</div>
<div class="col-sm-4">
<p>
You can set up additional ways to get notified:
</p>
<table class="table welcome-integrations">
<tr>
<td><span class="icon-email"></span></td>
<td>Good old email messages.</td>
</tr>
{% if enable_sms %}
<tr>
<td><span class="icon-sms"></span></td>
<td>SMS text messages.</td>
</tr>
{% endif %}
<tr>
<td>
<img width="22" height="22" alt="Webhook icon" src="data:image/gif;base64,R0lGODdhLAAsAOMQAEBCQEpMS8s8aF5gXmxubtRkhoWIhp2gnuGRqLi6uOm3yfHJ1tja2PHZ4+/s6/3//CwAAAAALAAsAAAE/vDJSau9OOvNu/+gtyBFWSBLGDqF4L5u0aidAt8vQmv23eK6ncUBKygoi5/LIawgXgXM0xVsPogxCcMQCBgYEuXM2hMcHQGAGhAAl6tC8cOwXg+uUOtDKRnU10x5VkpMfn8AgVlWUwIzdH93e4pNbw8MaXUHSGNWMDMMBJhsehdljRMMawakFkoCCGMEa2CsE1gvKVeqtRQNghIHs1YJtBOEFA6GAwwHBs4HxRsJaZoTlRXBh3bRF48ABBR8F4baaqsY5AADTA+MnBWpa12i5t2ZtL5UGnQEDAwODrZkqoBmTQJbcjIwu5CNDTtgBiUw0sfBgYEBAwgcfNCwmgRMtuAk3fCQDkA1WaMkOFijaQEOMxwzEnBG0xnKP0wasosH4KCpPAnKCe35IKiajTx9voxidOihg003rlSjKd+NFI8CHNjKtdmhNhyFfVQTaeIrXWpCWih5cg2FjhKSlDgyhyUGi2wGbGzq8YqovhMaBrjgj7C8hxDXaGTiIMFNANwspfmCiotdC96GnqPAU02AAfTUZWhYDrDKzNo2332sGLGFaeU2cmD2LIFrhTadyebFu7dvGhEAADs=" />
</td>
<td>HTTP webhooks.</td>
</tr>
<tr>
<td>
<img width="22" height="22" alt="Slack icon" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAUEBAQEAwUEBAQGBQUGCA0ICAcHCBALDAkNExAUExIQEhIUFx0ZFBYcFhISGiMaHB4fISEhFBkkJyQgJh0gISD/2wBDAQUGBggHCA8ICA8gFRIVICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICD/wgARCAAsACwDAREAAhEBAxEB/8QAGQAAAgMBAAAAAAAAAAAAAAAABAYABQcD/8QAGgEAAgMBAQAAAAAAAAAAAAAAAAUCAwQGAf/aAAwDAQACEAMQAAAB2UOJARfs41Ss22Hp5McqzefOsPjVPQ6tG6TPc52C3rUo9St+HNHw/XGddBlsVElWaSFebYdX1rFFbqDHk4GcTfAnDarkdgYL7hvjgQAig0vgQP/EAB8QAAMAAwABBQAAAA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zsA0+8GEgySST//EACQRAQACAQMCBwEAAAAAAAAAAAEAESExQVGh8BAgYXGBkcGx/9oACAEDAQE/EIugNcIza4FxsxrpNAH2b8FPasf5Lx03ho0+4FZRnvYi7BZVeFFBdld8yoVOsXha8874hRWbURtWhtbl+C+sGiuzqZgK0QHhMN606YP2tZlIzJeDhwfG8Ka+iUP0ZYaazdwfWr0i0dn4YmCbsNezccehvQDtpd59peqa0mGH116wA8webrefJTZ7caeT/8QAJBEBAAIBAwMEAwAAAAAAAAAAAQARMRAhYVFxoTBBkdGxwfD/2gAIAQIBAT8Q0EZ1q+mYnF+YePriYRWhvEVYm/21Z3NyMrQ/JjzUCNDfjTLjKbcNQ2XNnZ3PjEB6lC+/vqyqFulw6MfX7nOq+f7zM6FGyZCE61eHmAQVKAvqPuHT0P/EACAQAQEAAgICAgMAAAAAAAAAAAERACExQVFhcYEQIKH/2gAIAQEAAT8QUCrAzT10q/KOsBoEgvFbPOu81qm0Fl29aTryYWqmRR8z8b4ujKUGNxK7TRt4gx+sBWPQNsnRxOO8vFSuU6PQWYxqyFPI1muv7+GSDQA1uzu36mCaldF6JrmnPWGz0bgaNGpR5uplxDFAjsnxx9Zt5VqzbKl34p7xSlfESKKPIiPsw6BqiAeXD6yIbHZvBKOy851y5ooA4A0Ogdu85adDtAdXbVxOZOhTztCJ75zaxe6lVU+VVfbnzfRrq/uOBjvabqBtPOFlFIlfA2FHjrIlIUaMaa8YzrTakUa0PH6Lzi8kOwqH2F/T/9k=" />
</td>
<td>Notifications in <a href="https://slack.com/">Slack</a> channel.</td>
</tr>
{% if enable_pushover %}
<tr>
<td><span class="icon-po"></span></td>
<td>Instant push notifications with <a href="https://pushover.net/">Pushover</a>.</td>
</tr>
{% endif %}
{% if enable_pushbullet %}
<tr>
<td>
<img width="22" height="22" alt="Pushbullet icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OH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KZBOWkvrAYtYGHH/sGLojbNQ6jayVw/AfYnv1CNEN9mR3DNKZmjDrGtV1tBZqMscb392B7X0F4aIjAaHTnofJUC5DqvvETLQWauLGxXXsxyosyyJDMVFdMXhBhQlUTTVRP/tr2bUFV3Ni5IArm+poJaRPCqE87xsmRhP3e2pKuATz2livm4vmY7DsIwvBu4SS2zQ6KX24mCsede94T7QHHwlOQwrrr8Gkqp42fPzoOB21YmFarPXv8j9a2lvQEwFWOaIu5LNj1JaS2rujv79vbh7t6evqH2yfaJybahy93NjdHI1sVl/TgAnLFONaCra0tumhuamrqyczM7BkcPIHS2hyNbD5YsSO5Zlw8HWJjYwEX3dGAzLQkWhIzo8m0mMGK85KSHDxdyMXhFLgQdKyyqOhiQqLFkpuba7EkQszmdHNCfr4YsF+gfe9SnNfEKpXKryBVQFNTU+FnbkICyLTISLABztO7DqM8vEapJHleaklJSRpKfiREDMkLeIgyc+dSnBcqS0uPHCktLc0r+QKCXGSFuKKioj7Pz5kye5tTVjl0A0ZJInGFOKIior6+PtJhFeWeZ4r3uk+7gfb29oKOIHNrNM1vnbfbvU8gVy+f3QG9lb2VlZWj4IxGY8Qt47u7fbxc53y2OXkFHg468El9d+Wo0ViS+vGBoMOBXk73fWw6Ubx9nA8e+vDtdz46dNDZx5sym/4Hf8sasXN/S2oAAAAASUVORK5CYII=" />
</td>
<td>Instant push notifications with <a href="https://www.pushbullet.com/">Pushbullet</a>.</td>
</tr>
{% endif %}
{% if enable_telegram %}
<tr>
<td>
<img width="22" height="22" alt="Telegram icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAAwFBMVEUApN8ArOEAreIWp90AruMAr+QAsOYdqd8kq+Ilr98oseEVuOcrsuIvtOQauugeu+oytuY3uek3vOZHuuU6vudBw+1PwOtivOJXwOVTx+tgxetlyvBtyepxze100fF31PSC0u2A1fCL1vKzz+eH3Pev0+mW2/Ks2e291eeb3vWq4PPE3O6l5fav5fi35PnQ5PDB6vnS5vPI7fbZ6fDh6fLR7vjd7fTV8v3n8Pjb9Pjn+P7y+Prt+vv2+/75/v/+//ywoHJtAAACaElEQVQ4y4WV4XaiMBCFwyFHBZMsItgFwRW1VrRUEBE1Bt//rTYKmKhY7w8I3I+BkMwMON+pYPl3MHRs23GC75wV9y6QL1g+swkxTdOy+IEQe5azFzCLR38I54Q4P4pZE5wH1iXog4gV5M9w5DSgV9yJHuGZRV7Kmt3DAflVgQxPyBvNBBxZ72ArquHcJm9l5yXMxsZ7mPxjVzh+TXQNx64jxReY+d1m0kC9cXxcVnDXpxzOcCOKsb088lcvaxtnZ1BMkNEkP7tuOXazUVAAZuEnkFjzU7VoR6+2sclA3rrjMDYsPy534Z5/xUHEamUgRFgIof5wfijTgO4oP2WSGQIfSagziWn5erpLL6Mi0oTtA6eCkYb96FDlUbFPUlbOTxewA6wKNsPDLSdomqTlY9SVvtIEBroKi+TkYZNd/TNMJGTUMFoWRTWxdH1jzwdFgjEw9XIEyXjDV4zt1+tkf8u6JRSsboKBXo+h1p9kyTqR2PNYk2AbDDX9Jk1x+dSoVHMGsjsEIdQkoTRZS4EL2YNzkHXkG62vdLXYilqiSF4nA8yALUnedjWdrm/zU4QDDQaKkfy0hreL6eJjUG06T/pGZVTwzQ9l6V+r6V8IUXz9633JUTY8U06uIt3S3M+P63nOF7+QHMU9XRL2R7sLXUfzcr4kQq2oLAWeHBrWF0rfM8TdtkfLIpP1lEa1O2Lcy+ryFWrKG8FQFMbRO9iXS673O+vdF/ORpr4iVeg/tonQUNV2g1TVCJ8bUDbsqA3qDDdNrY3+uM+sG9EXTZPGfgsIEEA/pi877KUdbyZuX2+39b472Ty24/+iGdn8sw214gAAAABJRU5ErkJggg==" />
</td>
<td>Notifications to a <a href="https://telegram.org/">Telegram</a> group or user.</td>
</tr>
{% endif %}
{% if enable_pd %}
<tr>
<td><span class="icon-pd"></span></td>
<td>Open and resolve incidents in <a href="https://www.pagerduty.com/">PagerDuty</a>.</td>
</tr>
{% endif %}
<tr>
<td><span class="icon-pagertree"></span></td>
<td>Open and resolve incidents in <a href="https://pagertree.com/">PagerTree</a>.</td>
</tr>
<tr>
<td><span class="icon-hipchat"></span></td>
<td>Notifications in <a href="https://hipchat.com/">HipChat</a> channel.</td>
</tr>
<tr>
<td><span class="icon-victorops"></span></td>
<td>Open and resolve incidents in <a href="https://victorops.com/">VictorOps</a>.</td>
</tr>
{% if enable_discord %}
<tr>
<td><span class="icon-discord"></span></td>
<td>Notifications in <a href="https://discordapp.com/">Discord</a> channel.</td>
</tr>
{% endif %}
<tr>
<td><span class="icon-opsgenie"></span></td>
<td>Open and resolve incidents in <a href="https://www.opsgenie.com/">OpsGenie</a>.</td>
</tr>
</table>
</div>
</div>
<div class="row tour-section">
<div class="col-sm-8">
<img
@ -420,6 +314,69 @@
</div>
</div>
<div id="welcome-integrations" class="row tour-section">
<div class="col-sm-12">
<h1>Integrations<br>
<small>Set up additional ways to get notified:</small>
</div>
<div class="col-sm-12">
<div class="integration">
<img src="{% static 'img/integrations/email.png' %}" class="icon" alt="Email icon" />
<h3>Email<br><small>&nbsp;</small>
</h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/sms.png' %}" class="icon" alt="SMS icon" />
<h3>SMS<br><small>&nbsp;</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/webhook.png' %}" class="icon" alt="Webhook icon" />
<h3>Webhooks<br><small>&nbsp;</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/slack.png' %}" class="icon" alt="Slack icon" />
<h3>Slack<br><small>Chat</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/telegram.png' %}" class="icon" alt="Telegram icon" />
<h3>Telegram<br><small>Chat</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/po.png' %}" class="icon" alt="Pushover icon" />
<h3>Pushover<br><small>Push Notifications</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/pushbullet.png' %}" class="icon" alt="Pushbullet icon" />
<h3>Pushbullet<br><small>Push Notifications</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/pd.png' %}" class="icon" alt="PagerDuty icon" />
<h3>PagerDuty<br><small>Incident Management</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/hipchat.png' %}" class="icon" alt="HipChat icon" />
<h3>HipChat<br><small>Chat</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/victorops.png' %}" class="icon" alt="VictorOps icon" />
<h3>VictorOps<br><small>Incident Management</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/discord.png' %}" class="icon" alt="Discord icon" />
<h3>Discord<br><small>Chat</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/opsgenie.png' %}" class="icon" alt="OpsGenie icon" />
<h3>OpsGenie<br><small>Incident Management</small></h3>
</div>
<div class="integration">
<img src="{% static 'img/integrations/pagertree.png' %}" class="icon" alt="PagerTree icon" />
<h3>PagerTree<br><small>Incident Management</small></h3>
</div>
</div>
</div>
<div class="row">


Loading…
Cancel
Save