templates.request_modified.jade Maven / Gradle / Ivy
doctype html
html
head
title
meta(http-equiv="Content-Type", content="text/html; charset=utf-8")
meta(name="viewport", content="width=320, target-densitydpi=device-dpi")
style(type='text/css').
body { margin: 0; padding: 0 }
body, * { font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; -webkit-text-size-adjust: 90% }
@media (max-width: 800px) {
#background { background: #fff !important; padding: 0 !important }
}
pre { font-size: 12px; line-height: 18px; overflow: auto; white-space: pre; }
code, pre, code *, pre * { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; }
body(style="margin: 0; padding: 0")
div#background(style="background: #eee; padding: 20px")
div(style="background: #fff; padding: 20px; width: 540px; max-width: 100%; color: #444; border-radius: 5px; margin: 0 auto")
//- Header
div(style="padding-bottom: 20px")
div(style="border-top: 10px solid #{ color }; padding: 20px; background: #eee; border-radius: 4px; text-align: center")
h1(style="font-weight: normal; margin: 0 0 12px; line-height: 1.3") #{ requestId }
if hasUser
h2(style="font-weight: normal; margin: 0 0 21px; line-height: 1") has been #{ action } by #{ user }
else
h2(style="font-weight: normal; margin: 0 0 21px; line-height: 1") has been #{ action }
if hasMessage
h2(style="font-weight: normal; margin: 0 0 21px; line-height: 1") Message: #{ message }
if singularityRequestLink
a(style="background: #08c; color: #fff; padding: 10px 20px; display: inline-block; text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px", href="#{ singularityRequestLink }") View request
div(style="padding-bottom: 20px")
div(style="padding-bottom: 12px; margin: 15px 0; border-bottom: 1px solid #eee")
h3(style="margin: 0; font-size: 20px; line-height: 1") Status
p
if requestPaused
if expiring
| #{ requestId } will not run again until #{ expireFormat }.
else
| #{ requestId } will not run again until it is manually unpaused.
if killTasks
| Existing tasks will be killed.
else
| Existing tasks will not be killed.
else if requestUnpaused
| #{ requestId } will begin scheduling and executing tasks immediately.
else if requestScaled
| #{ requestId } will attempt to schedule and run #{ newInstances } task(s). Previously, it was running #{ oldInstances } task(s).
if expiring
| It will revert to #{ oldInstances } at #{ expireFormat }.
else
| #{ requestId } will only be reactivated if it is updated via the API.