FIX EMAILS
This commit is contained in:
@@ -7,36 +7,28 @@ Subject: System Alert : {{subject}}
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<title>{{subject}}</title>
|
<title>{{subject}}</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
.content {width: 100%; max-width: 600px;}
|
hr{
|
||||||
.header {padding: 40px 30px 20px 30px;}
|
height: 1px;
|
||||||
.innerpadding {padding: 30px 30px 30px 30px;}
|
background-color: #f1fcff;
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
border: none;
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
}
|
||||||
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.h2 {padding: 0 0 15px 0; font-size: 24px; line-height: 28px; font-weight: bold;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
.bodycopy {font-size: 14px; line-height: 20px;}
|
.cent{ text-align:center; }
|
||||||
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.footer {padding: 20px 30px 15px 30px;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
body[yahoo] .hide {display: none!important;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
body[yahoo] .buttonwrapper {background-color: transparent!important;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
body[yahoo] .button {padding: 0px!important;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
body[yahoo] .button a {background-color: #e05443; padding: 15px 15px 13px!important;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
body[yahoo] .unsubscribe {display: block; margin-top: 20px; padding: 10px 50px; background: #2f3942; border-radius: 5px; text-decoration: none!important; font-weight: bold;}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*@media only screen and (min-device-width: 601px) {
|
|
||||||
.content {width: 600px !important;}
|
|
||||||
.col425 {width: 425px!important;}
|
|
||||||
.col380 {width: 380px!important;}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -8,19 +8,25 @@ Subject: System Alert-WrenchBoard Report {{site_name}}
|
|||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
|
hr{
|
||||||
|
height: 1px;
|
||||||
|
background-color: #f1fcff;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
.content {width: 100%; max-width: 600px;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.header {padding: 10px 10px 10px 10px;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.innerpadding {padding: 10px 10px 10px 10px;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
|
.cent{ text-align:center; }
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.h2, h2 {color: #153643; font-family: sans-serif;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
.h1, h1 {font-size: 15px; line-height: 10px; font-weight: bold;}
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.bodycopy {font-size: 10px; line-height: 10px; text-align: center;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
.trColor { background-color:#D2F7F4;}
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
.footer {padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -9,35 +9,26 @@ Subject: System Alert : {{subject}}
|
|||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
|
hr{
|
||||||
|
height: 1px;
|
||||||
|
background-color: #f1fcff;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
.content {width: 100%; max-width: 600px;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.header {padding: 40px 30px 20px 30px;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.innerpadding {padding: 10px 10px 10px 10px;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
|
.cent{ text-align:center; }
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
.h2 {padding: 0 0 15px 0; font-size: 24px; line-height: 28px; font-weight: bold;}
|
|
||||||
.bodycopy {font-size: 14px; line-height: 20px;}
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
.footer {padding: 20px 30px 15px 30px;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
|
|
||||||
@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
|
|
||||||
body[yahoo] .hide {display: none!important;}
|
|
||||||
body[yahoo] .buttonwrapper {background-color: transparent!important;}
|
|
||||||
body[yahoo] .button {padding: 0px!important;}
|
|
||||||
body[yahoo] .button a {background-color: #e05443; padding: 15px 15px 13px!important;}
|
|
||||||
body[yahoo] .unsubscribe {display: block; margin-top: 20px; padding: 10px 50px; background: #2f3942; border-radius: 5px; text-decoration: none!important; font-weight: bold;}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*@media only screen and (min-device-width: 601px) {
|
|
||||||
.content {width: 600px !important;}
|
|
||||||
.col425 {width: 425px!important;}
|
|
||||||
.col380 {width: 380px!important;}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@@ -9,18 +9,25 @@ Subject: System Alert-WrenchBoard Signup Pending ALERT
|
|||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
|
hr{
|
||||||
|
height: 1px;
|
||||||
|
background-color: #f1fcff;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
.content {width: 100%; max-width: 600px;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.header {padding: 10px 10px 10px 10px;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.innerpadding {padding: 10px 10px 10px 10px;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
|
.cent{ text-align:center; }
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
.bodycopy {font-size: 14px; line-height: 20px;}
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
.footer {padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -9,36 +9,27 @@ Subject: System Alert-{{site_name}} - Completed Signup ALERT
|
|||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
|
hr{
|
||||||
|
height: 1px;
|
||||||
|
background-color: #f1fcff;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
.content {width: 100%; max-width: 600px;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.header {padding: 40px 30px 20px 30px;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.innerpadding {padding: 30px 30px 30px 30px;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
|
.cent{ text-align:center; }
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
.h2 {padding: 0 0 15px 0; font-size: 24px; line-height: 28px; font-weight: bold;}
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
.h3 {padding: 0 0 15px 0; font-size: 20px; line-height: 20px; font-weight: bold;}
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
.bodycopy {font-size: 16px; line-height: 22px;}
|
|
||||||
.button {text-align: center; font-size: 18px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
.footer {padding: 20px 30px 15px 30px;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
|
|
||||||
@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
|
|
||||||
body[yahoo] .hide {display: none!important;}
|
|
||||||
body[yahoo] .buttonwrapper {background-color: transparent!important;}
|
|
||||||
body[yahoo] .button {padding: 0px!important;}
|
|
||||||
body[yahoo] .button a {background-color: #e05443; padding: 15px 15px 13px!important;}
|
|
||||||
body[yahoo] .unsubscribe {display: block; margin-top: 20px; padding: 10px 50px; background: #2f3942; border-radius: 5px; text-decoration: none!important; font-weight: bold;}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*@media only screen and (min-device-width: 601px) {
|
|
||||||
.content {width: 600px !important;}
|
|
||||||
.col425 {width: 425px!important;}
|
|
||||||
.col380 {width: 380px!important;}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@@ -7,37 +7,28 @@ Subject: System Alert-{{subject}}
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<title>A Simple Responsive HTML Email</title>
|
<title>A Simple Responsive HTML Email</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
.content {width: 100%; max-width: 600px;}
|
hr{
|
||||||
.header {padding: 40px 30px 20px 30px;}
|
height: 1px;
|
||||||
.innerpadding {padding: 30px 30px 30px 30px;}
|
background-color: #f1fcff;
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
border: none;
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
}
|
||||||
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.h2 {padding: 0 0 15px 0; font-size: 24px; line-height: 28px; font-weight: bold;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
.bodycopy {font-size: 16px; line-height: 22px;}
|
.cent{ text-align:center; }
|
||||||
.button {text-align: center; font-size: 18px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.footer {padding: 20px 30px 15px 30px;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
body[yahoo] .hide {display: none!important;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
body[yahoo] .buttonwrapper {background-color: transparent!important;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
body[yahoo] .button {padding: 0px!important;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
body[yahoo] .button a {background-color: #e05443; padding: 15px 15px 13px!important;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
body[yahoo] .unsubscribe {display: block; margin-top: 20px; padding: 10px 50px; background: #2f3942; border-radius: 5px; text-decoration: none!important; font-weight: bold;}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*@media only screen and (min-device-width: 601px) {
|
|
||||||
.content {width: 600px !important;}
|
|
||||||
.col425 {width: 425px!important;}
|
|
||||||
.col380 {width: 380px!important;}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
@@ -9,18 +9,25 @@ Subject: {{subject}}
|
|||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
|
hr{
|
||||||
|
height: 1px;
|
||||||
|
background-color: #f1fcff;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
.content {width: 100%; max-width: 600px;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.header {padding: 10px 10px 10px 10px;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.innerpadding {padding: 10px 10px 10px 10px;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
|
.cent{ text-align:center; }
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
.bodycopy {font-size: 14px; line-height: 20px;}
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
.footer {padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -109,7 +116,7 @@ Please contact us at https://www.wrenchboard.com/contact if you have any questio
|
|||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" class="footercopy">
|
<td align="center" class="footercopy">
|
||||||
® {{site_name}} 2022<br/>
|
® {{site_name}} {{YYYY}}<br/>
|
||||||
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="https://{{server_name}}/contactus" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="https://{{server_name}}/contactus" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -9,35 +9,26 @@ Subject: {{subject}}
|
|||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
|
hr{
|
||||||
|
height: 1px;
|
||||||
|
background-color: #f1fcff;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
.content {width: 100%; max-width: 600px;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.header {padding: 40px 30px 20px 30px;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.innerpadding {padding: 30px 30px 30px 30px;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
|
.cent{ text-align:center; }
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
.h2 {padding: 0 0 15px 0; font-size: 24px; line-height: 28px; font-weight: bold;}
|
|
||||||
.bodycopy {font-size: 14px; line-height: 20px;}
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
.footer {padding: 20px 30px 15px 30px;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
|
|
||||||
@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
|
|
||||||
body[yahoo] .hide {display: none!important;}
|
|
||||||
body[yahoo] .buttonwrapper {background-color: transparent!important;}
|
|
||||||
body[yahoo] .button {padding: 0px!important;}
|
|
||||||
body[yahoo] .button a {background-color: #e05443; padding: 15px 15px 13px!important;}
|
|
||||||
body[yahoo] .unsubscribe {display: block; margin-top: 20px; padding: 10px 50px; background: #2f3942; border-radius: 5px; text-decoration: none!important; font-weight: bold;}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*@media only screen and (min-device-width: 601px) {
|
|
||||||
.content {width: 600px !important;}
|
|
||||||
.col425 {width: 425px!important;}
|
|
||||||
.col380 {width: 380px!important;}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -189,7 +180,7 @@ Please contact us at https://www.wrenchboard.com/contact if you have any questi
|
|||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" class="footercopy">
|
<td align="center" class="footercopy">
|
||||||
® {{site_name}} 2022<br/>
|
® {{site_name}} {{YYYY}}<br/>
|
||||||
You received this email because a subscriber to {{site_name}}. If you get this email in error, please <a href="https://{{server_name}}/contactus" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
You received this email because a subscriber to {{site_name}}. If you get this email in error, please <a href="https://{{server_name}}/contactus" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -9,35 +9,27 @@ Subject: {{subject}} - {{title}}
|
|||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
|
hr{
|
||||||
|
height: 1px;
|
||||||
|
background-color: #f1fcff;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
.content {width: 100%; max-width: 600px;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.header {padding: 40px 30px 20px 30px;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.innerpadding {padding: 30px 30px 30px 30px;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
|
.cent{ text-align:center; }
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
.h2 {padding: 0 0 15px 0; font-size: 24px; line-height: 28px; font-weight: bold;}
|
|
||||||
.bodycopy {font-size: 14px; line-height: 20px;}
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
.footer {padding: 20px 30px 15px 30px;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
|
|
||||||
@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
|
|
||||||
body[yahoo] .hide {display: none!important;}
|
|
||||||
body[yahoo] .buttonwrapper {background-color: transparent!important;}
|
|
||||||
body[yahoo] .button {padding: 0px!important;}
|
|
||||||
body[yahoo] .button a {background-color: #e05443; padding: 15px 15px 13px!important;}
|
|
||||||
body[yahoo] .unsubscribe {display: block; margin-top: 20px; padding: 10px 50px; background: #2f3942; border-radius: 5px; text-decoration: none!important; font-weight: bold;}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*@media only screen and (min-device-width: 601px) {
|
|
||||||
.content {width: 600px !important;}
|
|
||||||
.col425 {width: 425px!important;}
|
|
||||||
.col380 {width: 380px!important;}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -212,7 +204,7 @@ Please contact us at https://www.wrenchboard.com/contact if you have any questi
|
|||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" class="footercopy">
|
<td align="center" class="footercopy">
|
||||||
® {{site_name}} 2022<br/>
|
® {{site_name}} {{YYYY}}<br/>
|
||||||
You received this email because a user sent a job to you from {{site_name}}. If you get this email in error, please <a href="{{server_name}}/contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
You received this email because a user sent a job to you from {{site_name}}. If you get this email in error, please <a href="{{server_name}}/contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -7,37 +7,28 @@ Subject: {{subject}}
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<title>{{subject}}</title>
|
<title>{{subject}}</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {margin: 0; padding: 0; min-width: 100%!important;}
|
body {margin: 0; padding: 0; min-width: 100%!important;}
|
||||||
img {height: auto;}
|
img {height: auto;}
|
||||||
.content {width: 100%; max-width: 600px;}
|
hr{
|
||||||
.header {padding: 40px 30px 20px 30px;}
|
height: 1px;
|
||||||
.innerpadding {padding: 10px 10px 10px 10px;}
|
background-color: #f1fcff;
|
||||||
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
border: none;
|
||||||
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;}
|
}
|
||||||
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;}
|
.content {width: 100%; max-width: 600px;}
|
||||||
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
.header {padding: 10px 10px 10px 10px;}
|
||||||
.h2 {padding: 0 0 15px 0; font-size: 24px; line-height: 28px; font-weight: bold;}
|
.innerpadding {padding: 10px 10px 10px 10px;}
|
||||||
.bodycopy {font-size: 14px; line-height: 20px;}
|
.cent{ text-align:center; }
|
||||||
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
.borderbottom {border-bottom: 1px solid #f2eeed;}
|
||||||
.button a {color: #ffffff; text-decoration: none;}
|
.ls1{ border-color: aliceblue; color: aliceblue;}
|
||||||
.footer {padding: 20px 30px 15px 30px;}
|
.subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
|
||||||
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;}
|
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
|
||||||
.footercopy a {color: #ffffff; text-decoration: underline;}
|
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
|
||||||
|
.bodycopy {font-size: 14px; line-height: 20px;}
|
||||||
@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
|
.button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
|
||||||
body[yahoo] .hide {display: none!important;}
|
.button a {color: #ffffff; text-decoration: none;}
|
||||||
body[yahoo] .buttonwrapper {background-color: transparent!important;}
|
.footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
|
||||||
body[yahoo] .button {padding: 0px!important;}
|
.footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
|
||||||
body[yahoo] .button a {background-color: #e05443; padding: 15px 15px 13px!important;}
|
.footercopy a {color: #ffffff; text-decoration: underline;}
|
||||||
body[yahoo] .unsubscribe {display: block; margin-top: 20px; padding: 10px 50px; background: #2f3942; border-radius: 5px; text-decoration: none!important; font-weight: bold;}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*@media only screen and (min-device-width: 601px) {
|
|
||||||
.content {width: 600px !important;}
|
|
||||||
.col425 {width: 425px!important;}
|
|
||||||
.col380 {width: 380px!important;}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -171,7 +162,7 @@ You have received a messager from a <a href="{{server_name}}/eoffer?offerID={{of
|
|||||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" class="footercopy">
|
<td align="center" class="footercopy">
|
||||||
® {{site_name}} 2022<br/>
|
® {{site_name}} {{YYYY}}<br/>
|
||||||
You received this email because of your interest in a task @ {{site_name}}. If you get this email in error, please <a href="{{server_name}}/contactus" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
You received this email because of your interest in a task @ {{site_name}}. If you get this email in error, please <a href="{{server_name}}/contactus" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -99,7 +99,6 @@ abstract class BaseController extends Controller
|
|||||||
return $wrenchboard->cfgReadChar($config_item);
|
return $wrenchboard->cfgReadChar($config_item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function endPointList(){
|
public function endPointList(){
|
||||||
|
|
||||||
$endpoints = [
|
$endpoints = [
|
||||||
@@ -197,5 +196,59 @@ abstract class BaseController extends Controller
|
|||||||
];
|
];
|
||||||
return $endpoints;
|
return $endpoints;
|
||||||
}
|
}
|
||||||
|
public function procOfferInterest($in) {
|
||||||
|
$proc = $in['proc'];
|
||||||
|
$in['interest'] = 0;
|
||||||
|
switch ($proc) {
|
||||||
|
case 'ACCEPT':
|
||||||
|
$in['interest'] = JOB_INTEREST_ACCEPT;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'REJECT':
|
||||||
|
$in['interest'] = JOB_INTEREST_REJECT;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'CANCEL':
|
||||||
|
$in['interest'] = JOB_INTEREST_CANCEL;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
$in["action"] = WRENCHBOARD_JOB_PROC_INTEREST;
|
||||||
|
return $in;
|
||||||
|
|
||||||
|
}
|
||||||
|
public function processJobStatus($data) {
|
||||||
|
|
||||||
|
/*$data['member_id'] = $_SESSION['member_id']; // = $ret->email;
|
||||||
|
$data['proc'] = $this->input->get('proc');
|
||||||
|
$data['job_id'] = $this->input->get('jobID');
|
||||||
|
$data['job_contract'] = $this->input->get('job_contract');
|
||||||
|
$data['extension']
|
||||||
|
*/
|
||||||
|
|
||||||
|
$data['job_action'] = 0;
|
||||||
|
switch ($data['job_action']) {
|
||||||
|
case 'NOTIFY_COMPLETE': // notify completed
|
||||||
|
$data['job_action'] = CONTRACT_NOTIFY_COMPLETE;
|
||||||
|
break;
|
||||||
|
case 'REQUEST_CANCEL': // request cancel
|
||||||
|
$data['job_action'] = CONTRACT_REQUEST_CANCEL;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'ACCEPT_COMPLETE':
|
||||||
|
$data['job_action'] = CONTRACT_ACCEPT_COMPLETE;
|
||||||
|
break;
|
||||||
|
case 'REJECT_COMPLETE':
|
||||||
|
$data['job_action'] = CONTRACT_REJECT_COMPLETE;
|
||||||
|
break;
|
||||||
|
case 'EXTEND_TIMELINE':
|
||||||
|
$data['job_action'] = CONTRACT_EXTEND_TIMELINE;
|
||||||
|
break;
|
||||||
|
case 'CANCEL_CONTRACT':
|
||||||
|
$data['job_action'] = CONTRACT_CANCEL_CONTRACT;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
$data['action'] = WRENCHBOARD_CONTRACT_STATUS;
|
||||||
|
|
||||||
|
return $data;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,9 +15,7 @@ class WrenchApi extends BaseController
|
|||||||
}
|
}
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$data['envID'] = getenv('ENV_ID');
|
return [];
|
||||||
$data['home_background'] = getenv('HOME_PAGE_BACKGROUND');
|
|
||||||
return view('welcome_message',$data);
|
|
||||||
}
|
}
|
||||||
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
|
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
|
||||||
switch ($endpoint) {
|
switch ($endpoint) {
|
||||||
@@ -509,67 +507,5 @@ class WrenchApi extends BaseController
|
|||||||
// }
|
// }
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
private function procOfferInterest($in) {
|
|
||||||
$proc = $in['proc'];
|
|
||||||
$in['interest'] = 0;
|
|
||||||
switch ($proc) {
|
|
||||||
case 'ACCEPT':
|
|
||||||
$in['interest'] = JOB_INTEREST_ACCEPT;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'REJECT':
|
|
||||||
$in['interest'] = JOB_INTEREST_REJECT;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'CANCEL':
|
|
||||||
$in['interest'] = JOB_INTEREST_CANCEL;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
$in["action"] = WRENCHBOARD_JOB_PROC_INTEREST;
|
|
||||||
return $in;
|
|
||||||
|
|
||||||
}
|
|
||||||
private function processJobStatus($data) {
|
|
||||||
|
|
||||||
/*$data['member_id'] = $_SESSION['member_id']; // = $ret->email;
|
|
||||||
$data['proc'] = $this->input->get('proc');
|
|
||||||
$data['job_id'] = $this->input->get('jobID');
|
|
||||||
$data['job_contract'] = $this->input->get('job_contract');
|
|
||||||
$data['extension']
|
|
||||||
*/
|
|
||||||
|
|
||||||
$data['job_action'] = 0;
|
|
||||||
switch ($data['job_action']) {
|
|
||||||
case 'NOTIFY_COMPLETE': // notify completed
|
|
||||||
$data['job_action'] = CONTRACT_NOTIFY_COMPLETE;
|
|
||||||
break;
|
|
||||||
case 'REQUEST_CANCEL': // request cancel
|
|
||||||
$data['job_action'] = CONTRACT_REQUEST_CANCEL;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'ACCEPT_COMPLETE':
|
|
||||||
$data['job_action'] = CONTRACT_ACCEPT_COMPLETE;
|
|
||||||
break;
|
|
||||||
case 'REJECT_COMPLETE':
|
|
||||||
$data['job_action'] = CONTRACT_REJECT_COMPLETE;
|
|
||||||
break;
|
|
||||||
case 'EXTEND_TIMELINE':
|
|
||||||
$data['job_action'] = CONTRACT_EXTEND_TIMELINE;
|
|
||||||
break;
|
|
||||||
case 'CANCEL_CONTRACT':
|
|
||||||
$data['job_action'] = CONTRACT_CANCEL_CONTRACT;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
$data['action'] = WRENCHBOARD_CONTRACT_STATUS;
|
|
||||||
|
|
||||||
return $data;
|
|
||||||
}
|
|
||||||
private function dummyData($raw_array)
|
|
||||||
{
|
|
||||||
return [
|
|
||||||
'internal_return' => 0,
|
|
||||||
'msg' => 'Not implemented yet',
|
|
||||||
'raw_data' => $raw_array,
|
|
||||||
];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controllers;
|
||||||
|
use CodeIgniter\API\ResponseTrait;
|
||||||
|
|
||||||
|
class WrenchGetResources extends BaseController
|
||||||
|
{
|
||||||
|
protected $db;
|
||||||
|
public $con_name = 'wrench_blog';
|
||||||
|
use ResponseTrait;
|
||||||
|
protected $request;
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->request = $request = \Config\Services::request();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$envID = getenv('ENV_ID');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function apigate(){
|
||||||
|
log_message('critical', "Oauth-Gate");
|
||||||
|
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user