Skip to content

Commit a755932

Browse files
authored
Merge pull request #4263 from DewGew/patch-1
Better look in notifications tab
2 parents 74c0c9f + a5073ea commit a755932

File tree

1 file changed

+50
-49
lines changed

1 file changed

+50
-49
lines changed

www/views/setup.html

Lines changed: 50 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -386,11 +386,24 @@ <h2><span data-i18n="Prowl (iPhone/iPad)"></span>:</h2>
386386
<br>
387387
</div>
388388
<div class="span6">
389+
<h2><span data-i18n="IFTTT">IFTTT</span>:</h2>
390+
<table class="display" id="ifttttable" border="0" cellpadding="0" cellspacing="0">
391+
<tr>
392+
<td align="right" style="width:80px"><span data-i18n="Enabled"></span>:</td>
393+
<td><input type="checkbox" id="IFTTTEnabled" name="IFTTTEnabled" /><label for="IFTTTEnabled"/></td>
394+
</tr>
395+
<tr>
396+
<td align="right"><label><span data-i18n="API Key">API Key</span>: </label></td>
397+
<td><input type="input" id="IFTTTAPI" name="IFTTTAPI" style="width: 356px; padding: .2em;" class="text ui-widget-content ui-corner-all" /></td>
398+
</tr>
399+
</table>
400+
<span data-i18n="Create a Maker/Webhook">Create a Maker/Webhook</span> <a class="norm-link" href="https://ifttt.com/maker_webhooks" target="_blank"><span class="norm-link" data-i18n="Here"></span></a><br>
401+
<br>
389402
</div>
390403
</div>
391404
<div class="row-fluid">
392405
<div class="span6">
393-
<h2>Pushbullet (iOS/Android/Windows):</h2>
406+
<h2><span data-i18n="Pushbullet (iOS/Android/Windows)"></span>:</h2>
394407
<table class="display" id="pushbullettable" border="0" cellpadding="0" cellspacing="0">
395408
<tr>
396409
<td align="right" style="width:80px"><span data-i18n="Enabled"></span>:</td>
@@ -405,7 +418,7 @@ <h2>Pushbullet (iOS/Android/Windows):</h2>
405418
<br>
406419
</div>
407420
<div class="span6">
408-
<h2>Pushsafer (iOS/Android/Windows) + <span data-i18n="ImageURL"></span>:</h2>
421+
<h2><span data-i18n="Pushsafer (iOS/Android/Windows)"></span>:</h2>
409422
<table class="display" id="pushsafertable" border="0" cellpadding="0" cellspacing="0">
410423
<tr>
411424
<td align="right" style="width:80px"><span data-i18n="Enabled"></span>:</td>
@@ -459,8 +472,8 @@ <h2><span data-i18n="Pushalot (Windows/Windows Phone)"></span>:</h2>
459472
<span data-i18n="To get a free account/API key click"></span> <a class="norm-link" href="https://pushalot.com/" target="_blank"><span class="norm-link" data-i18n="Here"></span></a><br>
460473
<br>
461474
</div>
462-
</div>
463-
<div class="row-fluid">
475+
</div>
476+
<div class="row-fluid">
464477
<div class="span6">
465478
<h2><span data-i18n="Clickatell SMS">Clickatell SMS</span>:</h2>
466479
<table class="display" id="smstable" border="0" cellpadding="0" cellspacing="0">
@@ -483,22 +496,42 @@ <h2><span data-i18n="Clickatell SMS">Clickatell SMS</span>:</h2>
483496
</table>
484497
<span data-i18n="To get a free account/API key click"></span> <a class="norm-link" href="http://www.clickatell.com/" target="_blank"><span class="norm-link" data-i18n="Here"></span></a><br>
485498
<br />
486-
<br />
487-
<h2><span>IFTTT</span>:</h2>
488-
<table class="display" id="ifttttable" border="0" cellpadding="0" cellspacing="0">
489-
<tr>
490-
<td align="right" style="width:80px"><span data-i18n="Enabled"></span>:</td>
491-
<td><input type="checkbox" id="IFTTTEnabled" name="IFTTTEnabled" /><label for="IFTTTEnabled"/></td>
492-
</tr>
493-
<tr>
494-
<td align="right"><label><span data-i18n="API Key">API Key</span>: </label></td>
495-
<td><input type="input" id="IFTTTAPI" name="IFTTTAPI" style="width: 356px; padding: .2em;" class="text ui-widget-content ui-corner-all" /></td>
496-
</tr>
499+
</div>
500+
<div class="span6">
501+
<h2><span data-i18n="Telegram">Telegram</span>:</h2>
502+
<table class="display" id="telegramtable" border="0" cellpadding="0" cellspacing="0">
503+
<tr>
504+
<td align="right" style="width:80px"><span data-i18n="Enabled"></span>:</td>
505+
<td><input type="checkbox" id="TelegramEnabled" name="TelegramEnabled"/><label for="TelegramEnabled"/></td>
506+
</tr>
507+
<tr>
508+
<td align="right"><label for="TelegramAPI"><span data-i18n="API Key"></span>: </label></td>
509+
<td><input type="input" id="TelegramAPI" name="TelegramAPI" style="width: 356px; padding: .2em;" class="text ui-widget-content ui-corner-all" /> <button data-i18n="Test" class="btn btn-info" ng-click="TestNotification('telegram')">Test</button></td>
510+
</tr>
511+
<tr>
512+
<td align="right"><label for="TelegramChat"><span data-i18n="Chat ID">Chat ID</span>: </label></td>
513+
<td><input type="input" id="TelegramChat" name="TelegramChat" style="width: 356px; padding: .2em;" class="text ui-widget-content ui-corner-all" /> </td>
514+
</tr>
515+
</table>
516+
<span data-i18n="To get a free account/API key click"></span> <a href="https://telegram.org/" class="norm-link" target="_blank"><span class="norm-link" data-i18n="Here"></span></a><br>
517+
<br>
518+
</div>
519+
</div>
520+
<div class="row-fluid">
521+
<div class="span6">
522+
<h2><span data-i18n="Google Cloud Messaging"></span>:</h2>
523+
<table class="display" id="gcmtable" border="0" cellpadding="0" cellspacing="0">
524+
<tr>
525+
<td align="right" style="width:80px"><span data-i18n="Enabled"></span>:</td>
526+
<td><input type="checkbox" id="FCMEnabled" name="FCMEnabled"/><label for="FCMEnabled"/></td>
527+
<td><button data-i18n="Test" class="btn btn-info" ng-click="TestNotification('fcm')">Test</button></td>
528+
</tr>
497529
</table>
498-
<span data-i18n="Create a Maker/Webhook">Create a Maker/Webhook</span> <a class="norm-link" href="https://ifttt.com/maker_webhooks" target="_blank"><span class="norm-link" data-i18n="Here"></span></a><br>
499530
<br>
500531
</div>
501-
<div class="span6">
532+
</div>
533+
<div class="row-fluid">
534+
<div class="span12">
502535
<h2><span data-i18n="Custom HTTP">Custom HTTP</span>/<span data-i18n="Action">Action</span>:</h2>
503536
<table class="display" id="httptable" border="0" cellpadding="0" cellspacing="0">
504537
<tr>
@@ -621,38 +654,6 @@ <h2><span data-i18n="Logitech Media Server"></span>:</h2>
621654
<br>
622655
</div>
623656
</div>
624-
<div class="row-fluid">
625-
<div class="span6">
626-
<h2><span data-i18n="Google Cloud Messaging"></span>:</h2>
627-
<table class="display" id="gcmtable" border="0" cellpadding="0" cellspacing="0">
628-
<tr>
629-
<td align="right" style="width:80px"><span data-i18n="Enabled"></span>:</td>
630-
<td><input type="checkbox" id="FCMEnabled" name="FCMEnabled"/><label for="FCMEnabled"/></td>
631-
<td><button data-i18n="Test" class="btn btn-info" ng-click="TestNotification('fcm')">Test</button></td>
632-
</tr>
633-
</table>
634-
<br>
635-
</div>
636-
<div class="span6">
637-
<h2><span>Telegram</span>:</h2>
638-
<table class="display" id="telegramtable" border="0" cellpadding="0" cellspacing="0">
639-
<tr>
640-
<td align="right" style="width:80px"><span data-i18n="Enabled"></span>:</td>
641-
<td><input type="checkbox" id="TelegramEnabled" name="TelegramEnabled"/><label for="TelegramEnabled"/></td>
642-
</tr>
643-
<tr>
644-
<td align="right"><label for="TelegramAPI"><span data-i18n="API Key"></span>: </label></td>
645-
<td><input type="input" id="TelegramAPI" name="TelegramAPI" style="width: 356px; padding: .2em;" class="text ui-widget-content ui-corner-all" /> <button data-i18n="Test" class="btn btn-info" ng-click="TestNotification('telegram')">Test</button></td>
646-
</tr>
647-
<tr>
648-
<td align="right"><label for="TelegramChat"><span data-i18n="Chat ID">Chat ID</span>: </label></td>
649-
<td><input type="input" id="TelegramChat" name="TelegramChat" style="width: 356px; padding: .2em;" class="text ui-widget-content ui-corner-all" /> </td>
650-
</tr>
651-
</table>
652-
<span data-i18n="To get a free account/API key click"></span> <a href="https://telegram.org/" class="norm-link" target="_blank"><span class="norm-link" data-i18n="Here"></span></a><br>
653-
<br>
654-
</div>
655-
</div>
656657
<br>
657658
<div class="row-fluid">
658659
<div class="span12">

0 commit comments

Comments
 (0)