コード例 #1
0
ファイル: mkeventd.py プロジェクト: fmarino/check_mk-1
 def command_mkeventd_action(cmdtag, spec, row):
     for action_id, title in mkeventd.action_choices(omit_hidden = True):
         if html.var("_action_" + action_id):
             return "ACTION;%s;%s;%s" % (row["event_id"], config.user_id, action_id), \
               (_("execute that action "%s&quot") % title)
コード例 #2
0
 def command_mkeventd_action(cmdtag, spec, row):
     for action_id, title in mkeventd.action_choices(omit_hidden=True):
         if html.var("_action_" + action_id):
             return "ACTION;%s;%s;%s" % (row["event_id"], config.user_id, action_id), \
               (_("execute that action "%s&quot") % title)
コード例 #3
0
ファイル: mkeventd.py プロジェクト: fmarino/check_mk-1
 def render_mkeventd_actions():
     for action_id, title in mkeventd.action_choices(omit_hidden = True):
         html.button("_action_" + action_id, title)
         html.write("<br>")
コード例 #4
0
 def render_mkeventd_actions():
     for action_id, title in mkeventd.action_choices(omit_hidden=True):
         html.button("_action_" + action_id, title)
         html.write("<br>")