Skip to content

Commit

Permalink
Merge pull request #405 from arvanus/master
Browse files Browse the repository at this point in the history
Table/view triggers: add enable/disable button
  • Loading branch information
arvanus authored Jan 3, 2025
2 parents 031ad5f + 160c9b5 commit e9bcf2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions html-templates/TABLEtriggers.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
<br><br>
<table cellspacing=1 cellpadding=2 border=0 bgcolor=black width="98%">
<tr bgcolor="navy">
<td nowrap><font color=white><b>{%object_name%}</b>
<td nowrap><a href="fr://{%ifeq:{%triggerinfo:is_active%}:true:deactivate_trigger:activate_trigger%}?parent_window={%parent_window%}&amp;object_handle={%object_handle%}">
<img src="{%template_root%}{%ifeq:{%triggerinfo:is_active%}:true:ok.png:redx.png%}"></a> <font color=white><b>{%object_name%}</b>
[<a href="fr://edit_trigger?parent_window={%parent_window%}&amp;object_handle={%object_handle%}"><font
color="yellow">edit</font></a>] {%triggerinfo:type%}</font></td>
</tr>
Expand All @@ -100,7 +101,8 @@
<br><br>
<table cellspacing=1 cellpadding=2 border=0 bgcolor=black width="98%">
<tr bgcolor="navy">
<td nowrap><font color=white><b>{%object_name%}</b>
<td nowrap><a href="fr://{%ifeq:{%triggerinfo:is_active%}:true:deactivate_trigger:activate_trigger%}?parent_window={%parent_window%}&amp;object_handle={%object_handle%}">
<img src="{%template_root%}{%ifeq:{%triggerinfo:is_active%}:true:ok.png:redx.png%}"></a> <font color=white><b>{%object_name%}</b>
[<a href="fr://edit_trigger?parent_window={%parent_window%}&amp;object_handle={%object_handle%}"><font
color="yellow">edit</font></a>] {%triggerinfo:type%}</font></td>
</tr>
Expand Down
6 changes: 4 additions & 2 deletions html-templates/VIEWtriggers.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
<br><br>
<table cellspacing=1 cellpadding=2 border=0 bgcolor=black width="98%">
<tr bgcolor="navy">
<td nowrap><font color=white><b>{%object_name%}</b>
<td nowrap><a href="fr://{%ifeq:{%triggerinfo:is_active%}:true:deactivate_trigger:activate_trigger%}?parent_window={%parent_window%}&amp;object_handle={%object_handle%}">
<img src="{%template_root%}{%ifeq:{%triggerinfo:is_active%}:true:ok.png:redx.png%}"></a> <font color=white><b>{%object_name%}</b>
[<a href="fr://edit_trigger?parent_window={%parent_window%}&amp;object_handle={%object_handle%}"><font
color="yellow">edit</font></a>]</font></td>
</tr>
Expand All @@ -99,7 +100,8 @@
<br><br>
<table cellspacing=1 cellpadding=2 border=0 bgcolor=black width="98%">
<tr bgcolor="navy">
<td nowrap><font color=white><b>{%object_name%}</b>
<td nowrap><a href="fr://{%ifeq:{%triggerinfo:is_active%}:true:deactivate_trigger:activate_trigger%}?parent_window={%parent_window%}&amp;object_handle={%object_handle%}">
<img src="{%template_root%}{%ifeq:{%triggerinfo:is_active%}:true:ok.png:redx.png%}"></a> <font color=white><b>{%object_name%}</b>
[<a href="fr://edit_trigger?parent_window={%parent_window%}&amp;object_handle={%object_handle%}"><font
color="yellow">edit</font></a>]</font></td>
</tr>
Expand Down

0 comments on commit e9bcf2e

Please sign in to comment.