Skip to content

Instantly share code, notes, and snippets.

@sminnee
Created November 5, 2009 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sminnee/226551 to your computer and use it in GitHub Desktop.
Save sminnee/226551 to your computer and use it in GitHub Desktop.
<% control SettingsForm %>
<form $FormAttributes>
<fieldset>
<h3>Page generation time</h3>
<div class="field text">
<label for="$FieldMap.PageExecTimeCritical.ID">Critical threshold (<abbr title="milliseconds">ms</abbr>)</label>
$FieldMap.PageExecTimeCritical
</div>
<div class="field text">
<label for="$FieldMap.PageExecTimeWarning.ID">Warning threshold (<abbr title="milliseconds">ms</abbr>)</label>
$FieldMap.PageExecTimeWarning
</div>
</fieldset>
<fieldset>
<h3>Send me email alerts <span>($CurrentMember.Email)</span></h3>
<div class="field checkbox">
$FieldMap.CriticalAlertNotifications
<label for="$FieldMap.CriticalAlertNotifications.ID">For critical events</label>
<br/>
$FieldMap.RegularAlertNotifications
<label for="$FieldMap.RegularAlertNotifications.ID">For warnings</label>
</div>
</fieldset>
<fieldset class="actions">
<div class="field actions">
<% control Actions %> $Field <% end_control %>
</div>
</fieldset>
</form>
<% end_control %>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment