@resolveio/server-lib 3.2.11 → 3.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/collections/active-subscription.collection.d.ts +7 -0
- package/collections/active-subscription.collection.js +68 -0
- package/collections/app-status.collection.d.ts +7 -0
- package/collections/app-status.collection.js +43 -0
- package/collections/app-version.collection.d.ts +7 -0
- package/collections/app-version.collection.js +56 -0
- package/collections/billing-logged-in-users.collection.d.ts +7 -0
- package/collections/billing-logged-in-users.collection.js +73 -0
- package/collections/counter.collection.d.ts +9 -0
- package/collections/counter.collection.js +73 -0
- package/collections/cron-job-history.collection.d.ts +7 -0
- package/collections/cron-job-history.collection.js +86 -0
- package/collections/cron-job.collection.d.ts +7 -0
- package/collections/cron-job.collection.js +89 -0
- package/collections/file.collection.d.ts +9 -0
- package/collections/file.collection.js +73 -0
- package/collections/flag.collection.d.ts +7 -0
- package/collections/flag.collection.js +47 -0
- package/collections/log.collection.d.ts +7 -0
- package/collections/log.collection.js +65 -0
- package/collections/logged-in-users.collection.d.ts +7 -0
- package/collections/logged-in-users.collection.js +70 -0
- package/collections/method-call.collection.d.ts +6 -0
- package/collections/method-call.collection.js +44 -0
- package/collections/method-response.collection.d.ts +6 -0
- package/collections/method-response.collection.js +48 -0
- package/collections/notification.collection.d.ts +7 -0
- package/collections/notification.collection.js +43 -0
- package/collections/queue-flag.collection.d.ts +7 -0
- package/collections/queue-flag.collection.js +41 -0
- package/collections/queue-method.collection.d.ts +7 -0
- package/collections/queue-method.collection.js +119 -0
- package/collections/queue-response.collection.d.ts +7 -0
- package/collections/queue-response.collection.js +74 -0
- package/collections/support-ticket.collection.d.ts +7 -0
- package/collections/support-ticket.collection.js +200 -0
- package/collections/user.collection.d.ts +9 -0
- package/collections/user.collection.js +153 -0
- package/cron/cron.d.ts +5 -0
- package/cron/cron.js +160 -0
- package/fixtures/cron-jobs.d.ts +1 -0
- package/fixtures/cron-jobs.js +90 -0
- package/fixtures/init.d.ts +1 -0
- package/fixtures/init.js +67 -0
- package/http/auth.d.ts +2 -0
- package/http/auth.js +468 -0
- package/http/health.d.ts +1 -0
- package/http/health.js +8 -0
- package/index.d.ts +16 -0
- package/index.js +125 -0
- package/managers/cron.manager.d.ts +16 -0
- package/managers/cron.manager.js +202 -0
- package/managers/database.manager.d.ts +6 -0
- package/managers/database.manager.js +12 -0
- package/managers/method.manager.d.ts +28 -0
- package/managers/method.manager.js +584 -0
- package/managers/queue-method.manager.d.ts +13 -0
- package/managers/queue-method.manager.js +240 -0
- package/managers/subscription.manager.d.ts +28 -0
- package/managers/subscription.manager.js +808 -0
- package/managers/support.manager.d.ts +22 -0
- package/managers/support.manager.js +320 -0
- package/methods/accounts.d.ts +2 -0
- package/methods/accounts.js +253 -0
- package/methods/aws.d.ts +2 -0
- package/methods/aws.js +387 -0
- package/methods/cloudconvert.d.ts +2 -0
- package/methods/cloudconvert.js +37 -0
- package/methods/collections.d.ts +2 -0
- package/methods/collections.js +750 -0
- package/methods/counters.d.ts +2 -0
- package/methods/counters.js +107 -0
- package/methods/cron-jobs.d.ts +2 -0
- package/methods/cron-jobs.js +132 -0
- package/methods/flags.d.ts +2 -0
- package/methods/flags.js +6 -0
- package/methods/logs.d.ts +2 -0
- package/methods/logs.js +29 -0
- package/methods/pdf.d.ts +2 -0
- package/methods/pdf.js +303 -0
- package/models/active-subscription.model.d.ts +13 -0
- package/models/active-subscription.model.js +2 -0
- package/models/app-status.model.d.ts +4 -0
- package/models/app-status.model.js +2 -0
- package/models/app-version.model.d.ts +4 -0
- package/models/app-version.model.js +2 -0
- package/models/billing-logged-in-users.model.d.ts +7 -0
- package/models/billing-logged-in-users.model.js +2 -0
- package/models/collection-document.model.d.ts +6 -0
- package/models/collection-document.model.js +2 -0
- package/models/counter.model.d.ts +5 -0
- package/models/counter.model.js +2 -0
- package/models/cron-job-history.model.d.ts +12 -0
- package/models/cron-job-history.model.js +2 -0
- package/models/cron-job.model.d.ts +13 -0
- package/models/cron-job.model.js +2 -0
- package/models/dialog.model.d.ts +23 -0
- package/models/dialog.model.js +2 -0
- package/models/file.model.d.ts +9 -0
- package/models/file.model.js +2 -0
- package/models/flag.model.d.ts +5 -0
- package/models/flag.model.js +2 -0
- package/models/log.model.d.ts +11 -0
- package/models/log.model.js +2 -0
- package/models/logged-in-users.model.d.ts +9 -0
- package/models/logged-in-users.model.js +2 -0
- package/models/method-call.model.d.ts +7 -0
- package/models/method-call.model.js +2 -0
- package/models/method-response.model.d.ts +8 -0
- package/models/method-response.model.js +2 -0
- package/models/method.model.d.ts +10 -0
- package/models/method.model.js +2 -0
- package/models/notification.model.d.ts +4 -0
- package/models/notification.model.js +2 -0
- package/models/pagination.model.d.ts +11 -0
- package/models/pagination.model.js +20 -0
- package/models/permission.model.d.ts +12 -0
- package/models/permission.model.js +2 -0
- package/models/queue-method.model.d.ts +10 -0
- package/models/queue-method.model.js +2 -0
- package/models/queue-response.model.d.ts +10 -0
- package/models/queue-response.model.js +2 -0
- package/models/select-data-label.model.d.ts +9 -0
- package/models/select-data-label.model.js +2 -0
- package/models/server-response.model.d.ts +5 -0
- package/models/server-response.model.js +2 -0
- package/models/subscription.model.d.ts +30 -0
- package/models/subscription.model.js +2 -0
- package/models/support-method.model.d.ts +9 -0
- package/models/support-method.model.js +2 -0
- package/models/support-ticket.model.d.ts +61 -0
- package/models/support-ticket.model.js +2 -0
- package/models/user.model.d.ts +14 -0
- package/models/user.model.js +2 -0
- package/package.json +1 -1
- package/private/email-templates/enrollment.html +12 -0
- package/private/email-templates/forgot-password.html +12 -0
- package/private/email-templates/support-ticket-deleted.html +40 -0
- package/private/email-templates/support-ticket-modified.html +71 -0
- package/private/email-templates/support-ticket.html +71 -0
- package/private/images/ResolveIO.png +0 -0
- package/publications/app-status.d.ts +2 -0
- package/publications/app-status.js +14 -0
- package/publications/app-version.d.ts +2 -0
- package/publications/app-version.js +14 -0
- package/publications/billing-logged-in-users.d.ts +1 -0
- package/publications/billing-logged-in-users.js +63 -0
- package/publications/cron-jobs.d.ts +2 -0
- package/publications/cron-jobs.js +14 -0
- package/publications/files.d.ts +2 -0
- package/publications/files.js +71 -0
- package/publications/flags.d.ts +2 -0
- package/publications/flags.js +23 -0
- package/publications/logs.d.ts +2 -0
- package/publications/logs.js +26 -0
- package/publications/method-calls.d.ts +2 -0
- package/publications/method-calls.js +14 -0
- package/publications/method-responses.d.ts +2 -0
- package/publications/method-responses.js +14 -0
- package/publications/notifications.d.ts +2 -0
- package/publications/notifications.js +14 -0
- package/publications/super-admin.d.ts +2 -0
- package/publications/super-admin.js +21 -0
- package/publications/support-tickets.d.ts +1 -0
- package/publications/support-tickets.js +200 -0
- package/server-app.d.ts +35 -0
- package/server-app.js +638 -0
- package/support-methods/aws.d.ts +2 -0
- package/support-methods/aws.js +276 -0
- package/support-methods/collections.d.ts +2 -0
- package/support-methods/collections.js +471 -0
- package/support-methods/counters.d.ts +2 -0
- package/support-methods/counters.js +189 -0
- package/support-methods/support.d.ts +2 -0
- package/support-methods/support.js +236 -0
- package/util/common.d.ts +14 -0
- package/util/common.js +341 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CollectionDocument } from './collection-document.model';
|
|
2
|
+
export interface CronJobHistoryModel extends CollectionDocument {
|
|
3
|
+
name: string;
|
|
4
|
+
reoccuring: boolean;
|
|
5
|
+
time_to_run: string;
|
|
6
|
+
method_name: string;
|
|
7
|
+
server_restart: boolean;
|
|
8
|
+
passed: boolean;
|
|
9
|
+
error: Object;
|
|
10
|
+
start_time: Date;
|
|
11
|
+
end_time: Date;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CollectionDocument } from './collection-document.model';
|
|
2
|
+
export interface CronJobModel extends CollectionDocument {
|
|
3
|
+
name: string;
|
|
4
|
+
repeat: boolean;
|
|
5
|
+
time_to_run: string;
|
|
6
|
+
method_run: string;
|
|
7
|
+
method_run_data?: Object;
|
|
8
|
+
method_complete?: string;
|
|
9
|
+
method_complete_data?: Object;
|
|
10
|
+
running: boolean;
|
|
11
|
+
timezone?: string;
|
|
12
|
+
next_run?: Date;
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface DialogInputFieldModel {
|
|
2
|
+
label: string;
|
|
3
|
+
form: string;
|
|
4
|
+
data: string | number | boolean;
|
|
5
|
+
validators: any[];
|
|
6
|
+
validatorErrors: string[];
|
|
7
|
+
validatorMsg: string[];
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
type?: DialogInputFieldTypes;
|
|
12
|
+
options?: DialogInputFieldSelectOptions[];
|
|
13
|
+
}
|
|
14
|
+
export interface DialogInputFieldSelectOptions {
|
|
15
|
+
value: string | number;
|
|
16
|
+
text: string;
|
|
17
|
+
}
|
|
18
|
+
declare type DialogInputFieldTypes = 'text' | 'number' | 'select' | 'state' | 'textarea' | 'email' | 'password' | 'boolean';
|
|
19
|
+
export interface DialogSelectWithButtonsOptionModel {
|
|
20
|
+
value: string | number;
|
|
21
|
+
text: string;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CollectionDocument } from './collection-document.model';
|
|
2
|
+
export interface LogModel extends CollectionDocument {
|
|
3
|
+
date: Date;
|
|
4
|
+
type: string;
|
|
5
|
+
title: string;
|
|
6
|
+
message: string;
|
|
7
|
+
payload: string;
|
|
8
|
+
method: string;
|
|
9
|
+
user: string;
|
|
10
|
+
messageId: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import SimpleSchema from 'simpl-schema';
|
|
2
|
+
export interface MethodModel {
|
|
3
|
+
[key: string]: MethodAllModel;
|
|
4
|
+
}
|
|
5
|
+
export interface MethodAllModel {
|
|
6
|
+
check?: SimpleSchema;
|
|
7
|
+
function: (...parameters: any[]) => Promise<any | any[]>;
|
|
8
|
+
skipValidation?: boolean;
|
|
9
|
+
skipQueue?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var simpl_schema_1 = require("simpl-schema");
|
|
4
|
+
exports.PaginationOptionsSchema = new simpl_schema_1.default({
|
|
5
|
+
limit: {
|
|
6
|
+
type: Number
|
|
7
|
+
},
|
|
8
|
+
skip: {
|
|
9
|
+
type: Number
|
|
10
|
+
},
|
|
11
|
+
sort: {
|
|
12
|
+
type: Object,
|
|
13
|
+
blackbox: true
|
|
14
|
+
},
|
|
15
|
+
fields: {
|
|
16
|
+
type: Object,
|
|
17
|
+
optional: true,
|
|
18
|
+
blackbox: true
|
|
19
|
+
}
|
|
20
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ModulePermissionModel {
|
|
2
|
+
name: string;
|
|
3
|
+
views: ModulePermissionViewModel[];
|
|
4
|
+
approval?: ModulePermissionApprovalModel;
|
|
5
|
+
}
|
|
6
|
+
export interface ModulePermissionViewModel {
|
|
7
|
+
link: string;
|
|
8
|
+
label: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ModulePermissionApprovalModel {
|
|
11
|
+
type: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CollectionDocument } from './collection-document.model';
|
|
2
|
+
export interface QueueMethodModel extends CollectionDocument {
|
|
3
|
+
method: string;
|
|
4
|
+
method_data: any[];
|
|
5
|
+
id_ws: string;
|
|
6
|
+
messageId: number;
|
|
7
|
+
id_user: string;
|
|
8
|
+
user: string;
|
|
9
|
+
date: Date;
|
|
10
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import SimpleSchema from 'simpl-schema';
|
|
2
|
+
export interface SubscriptionModel {
|
|
3
|
+
[key: string]: SubscriptionPubModel;
|
|
4
|
+
}
|
|
5
|
+
export interface SubscriptionPubModel {
|
|
6
|
+
check?: SimpleSchema;
|
|
7
|
+
preFunction?: (...parameters: any[]) => Promise<Object>;
|
|
8
|
+
function: (...parameters: any[]) => Promise<any | any[]>;
|
|
9
|
+
collections: string[];
|
|
10
|
+
fetchFunction?: (document: Object, ...parameters: any[]) => boolean;
|
|
11
|
+
ws_specific?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface ActiveSubscriptionModel {
|
|
14
|
+
publication: string;
|
|
15
|
+
preSubscriptionData?: Object;
|
|
16
|
+
subscriptionData: any[];
|
|
17
|
+
collections: string[];
|
|
18
|
+
clients: ActiveSubscriptionClientModel[];
|
|
19
|
+
}
|
|
20
|
+
export interface ActiveSubscriptionClientModel {
|
|
21
|
+
id_user: string;
|
|
22
|
+
messageId: number;
|
|
23
|
+
id_socket: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ActiveClientSubscriptionModel {
|
|
26
|
+
messageId: number;
|
|
27
|
+
subscription: string;
|
|
28
|
+
parameters: any[];
|
|
29
|
+
subject: any;
|
|
30
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import SimpleSchema from 'simpl-schema';
|
|
2
|
+
export interface SupportMethodModel {
|
|
3
|
+
[key: string]: SupportMethodAllModel;
|
|
4
|
+
}
|
|
5
|
+
export interface SupportMethodAllModel {
|
|
6
|
+
check?: SimpleSchema;
|
|
7
|
+
function: (...parameters: any[]) => Promise<any | any[]>;
|
|
8
|
+
skipValidation?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { CollectionDocument } from './collection-document.model';
|
|
2
|
+
export interface SupportTicketModel extends CollectionDocument {
|
|
3
|
+
type: SupportTicketType;
|
|
4
|
+
priority: SupportTicketPriority;
|
|
5
|
+
issue: string;
|
|
6
|
+
support_ticket_number: number;
|
|
7
|
+
support_ticket_number_string: string;
|
|
8
|
+
status: SupportTicketStatus;
|
|
9
|
+
substatus: SupportTicketSubstatus;
|
|
10
|
+
client: string;
|
|
11
|
+
id_client: string;
|
|
12
|
+
messages: SupportTicketMessageModel[];
|
|
13
|
+
date_created: Date;
|
|
14
|
+
date_created_string: string;
|
|
15
|
+
id_user_created: string;
|
|
16
|
+
user_created: string;
|
|
17
|
+
billable: boolean;
|
|
18
|
+
date_investigation?: Date;
|
|
19
|
+
date_closed?: Date;
|
|
20
|
+
files: string[];
|
|
21
|
+
current_watchers: SupportTicketWatchersModel[];
|
|
22
|
+
client_user: SupportTicketClientUserModel;
|
|
23
|
+
id_user_assigned: string;
|
|
24
|
+
user_assigned: string;
|
|
25
|
+
resolveio_status: string;
|
|
26
|
+
estimated_billable_hours?: number;
|
|
27
|
+
billable_hours?: number;
|
|
28
|
+
bill_description: string;
|
|
29
|
+
tasks?: SupportTicketTaskModel[];
|
|
30
|
+
}
|
|
31
|
+
export interface SupportTicketClientUserModel {
|
|
32
|
+
id_user: string;
|
|
33
|
+
user: string;
|
|
34
|
+
email: string;
|
|
35
|
+
}
|
|
36
|
+
export declare type SupportTicketPriority = 'High' | 'Low';
|
|
37
|
+
export declare type SupportTicketSubstatus = 'New' | 'Work In Progress' | 'Idle' | 'Awaiting Customer Interaction';
|
|
38
|
+
export declare type SupportTicketType = 'System Impairment' | 'Request New Feature' | 'General Inquery';
|
|
39
|
+
declare type SupportTicketStatus = 'Opened' | 'Resolved';
|
|
40
|
+
export interface SupportTicketMessageModel {
|
|
41
|
+
message: string;
|
|
42
|
+
id_user: string;
|
|
43
|
+
user: string;
|
|
44
|
+
date: Date;
|
|
45
|
+
type: SupportTicketMessageType;
|
|
46
|
+
}
|
|
47
|
+
declare type SupportTicketMessageType = 'ResolveIO' | 'Client';
|
|
48
|
+
export interface SupportTicketWatchersModel {
|
|
49
|
+
user: string;
|
|
50
|
+
id_user: string;
|
|
51
|
+
email: string;
|
|
52
|
+
}
|
|
53
|
+
export interface SupportTicketTaskModel {
|
|
54
|
+
description: string;
|
|
55
|
+
completed: boolean;
|
|
56
|
+
id_user?: string;
|
|
57
|
+
user?: string;
|
|
58
|
+
date_created: Date;
|
|
59
|
+
date_completed?: Date;
|
|
60
|
+
}
|
|
61
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CollectionDocument } from './collection-document.model';
|
|
2
|
+
export interface UserModel extends CollectionDocument {
|
|
3
|
+
attempts: number;
|
|
4
|
+
last: Date;
|
|
5
|
+
services?: any;
|
|
6
|
+
fullname: string;
|
|
7
|
+
username?: string;
|
|
8
|
+
email?: string;
|
|
9
|
+
roles?: string[];
|
|
10
|
+
active?: boolean;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
phonenumber?: string;
|
|
13
|
+
other?: object;
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<style type="text/css">
|
|
2
|
+
* {
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
font-family: Arial;
|
|
5
|
+
}
|
|
6
|
+
</style>
|
|
7
|
+
|
|
8
|
+
Hello {{fullname}},
|
|
9
|
+
<br><br>
|
|
10
|
+
{{user}} has created an account for you.<br><br>
|
|
11
|
+
|
|
12
|
+
<a href="{{url}}" style="background-color:#76b530;border:1px solid #1e3650;border-radius:4px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:13px;font-weight:bold;line-height:40px;text-align:center;text-decoration:none;width:200px;-webkit-text-size-adjust:none;">Click here to enroll</a>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<style type="text/css">
|
|
2
|
+
* {
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
font-family: Arial;
|
|
5
|
+
}
|
|
6
|
+
</style>
|
|
7
|
+
|
|
8
|
+
Hello {{userToChangePassword}},
|
|
9
|
+
<br><br>
|
|
10
|
+
{{userWhoResetPassword}} has reset your password.<br><br>
|
|
11
|
+
|
|
12
|
+
<a href="{{url}}" style="background-color:#76b530;border:1px solid #1e3650;border-radius:4px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:13px;font-weight:bold;line-height:40px;text-align:center;text-decoration:none;width:200px;-webkit-text-size-adjust:none;">Click here to change your password</a>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<style type="text/css">
|
|
2
|
+
* {
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
font-family: Arial;
|
|
5
|
+
background-color: white;
|
|
6
|
+
}
|
|
7
|
+
.header {
|
|
8
|
+
font-weight: bold;
|
|
9
|
+
min-width: 20px;
|
|
10
|
+
}
|
|
11
|
+
.td {
|
|
12
|
+
border: 1px solid black;
|
|
13
|
+
}
|
|
14
|
+
.tr {
|
|
15
|
+
border: 1px solid gray;
|
|
16
|
+
}
|
|
17
|
+
.tg {border-collapse:collapse;border-spacing:0;border-color:#999;}
|
|
18
|
+
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;border-color:#999;color:#444;background-color:#F7FDFA;border-top-width:1px;border-bottom-width:1px;}
|
|
19
|
+
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;border-color:#999;color:#fff;background-color:black;border-top-width:1px;border-bottom-width:1px;}
|
|
20
|
+
.tg .tg-baqh{text-align:left;vertical-align:top}
|
|
21
|
+
.tg .tg-yw4l{vertical-align:top;}
|
|
22
|
+
</style>
|
|
23
|
+
|
|
24
|
+
Support ticket #{{support_ticket_number_string}} has been deleted.
|
|
25
|
+
|
|
26
|
+
<br><br>
|
|
27
|
+
<div id="containter">
|
|
28
|
+
<table class="tg">
|
|
29
|
+
<thead>
|
|
30
|
+
<tr>
|
|
31
|
+
<th class="tg-yw4l" style="padding: 0; margin: 0; border-left: 1px solid #999;">
|
|
32
|
+
<img src="{{logo}}" style="width: auto; height: 90px; background-color: white; margin-left: -10px; margin-bottom: -10px;" alt="Logo">
|
|
33
|
+
</th>
|
|
34
|
+
<th class="tg-yw4l" style="min-width: 800px; max-width: 800px; font-size: 20px; color: white; text-align: right; padding: 30px;">Support Ticket</th>
|
|
35
|
+
</tr>
|
|
36
|
+
</thead>
|
|
37
|
+
<tbody>
|
|
38
|
+
</tbody>
|
|
39
|
+
</table>
|
|
40
|
+
</div>
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<style type="text/css">
|
|
2
|
+
* {
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
font-family: Arial;
|
|
5
|
+
background-color: white;
|
|
6
|
+
}
|
|
7
|
+
.header {
|
|
8
|
+
font-weight: bold;
|
|
9
|
+
min-width: 20px;
|
|
10
|
+
}
|
|
11
|
+
.td {
|
|
12
|
+
border: 1px solid black;
|
|
13
|
+
}
|
|
14
|
+
.tr {
|
|
15
|
+
border: 1px solid gray;
|
|
16
|
+
}
|
|
17
|
+
.tg {border-collapse:collapse;border-spacing:0;border-color:#999;}
|
|
18
|
+
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;border-color:#999;color:#444;background-color:#F7FDFA;border-top-width:1px;border-bottom-width:1px;}
|
|
19
|
+
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:0px;overflow:hidden;word-break:normal;border-color:#999;color:#fff;background-color:black;border-top-width:1px;border-bottom-width:1px;}
|
|
20
|
+
.tg .tg-baqh{text-align:left;vertical-align:top}
|
|
21
|
+
.tg .tg-yw4l{vertical-align:top;}
|
|
22
|
+
</style>
|
|
23
|
+
|
|
24
|
+
Support ticket: #{{support_ticket_number_string}} has been modified by {{user_created}}.
|
|
25
|
+
<br><br>
|
|
26
|
+
<div id="containter">
|
|
27
|
+
<table class="tg">
|
|
28
|
+
<thead>
|
|
29
|
+
<tr>
|
|
30
|
+
<th class="tg-yw4l" style="padding: 0; margin: 0; border-left: 1px solid #999;">
|
|
31
|
+
<img src="{{logo}}" style="width: auto; height: 90px; background-color: white; margin-left: -10px; margin-bottom: -10px;" alt="Logo">
|
|
32
|
+
</th>
|
|
33
|
+
<th class="tg-yw4l" style="min-width: 800px; max-width: 800px; font-size: 20px; color: white; text-align: right; padding: 30px;">Support Ticket</th>
|
|
34
|
+
</tr>
|
|
35
|
+
</thead>
|
|
36
|
+
<tbody>
|
|
37
|
+
<tr>
|
|
38
|
+
<td class="tg-baqh" style="min-width: 30%; max-width: 30%; font-weight: bold;">Support Ticket <br>Number</td>
|
|
39
|
+
<td class="tg-baqh" style="min-width: 60%; max-width: 60%;">{{support_ticket_number_string}}</td>
|
|
40
|
+
</tr>
|
|
41
|
+
<tr>
|
|
42
|
+
<td class="tg-baqh" style="min-width: 30%; max-width: 30%; font-weight: bold;">Client</td>
|
|
43
|
+
<td class="tg-baqh" style="min-width: 60%; max-width: 60%;">{{client}}</td>
|
|
44
|
+
</tr>
|
|
45
|
+
<tr>
|
|
46
|
+
<td class="tg-baqh" style="min-width: 30%; max-width: 30%; font-weight: bold;">Type</td>
|
|
47
|
+
<td class="tg-baqh" style="min-width: 60%; max-width: 60%;">{{type}}</td>
|
|
48
|
+
</tr>
|
|
49
|
+
<tr>
|
|
50
|
+
<td class="tg-baqh" style="min-width: 30%; max-width: 30%; font-weight: bold;">Issue <br>Description</td>
|
|
51
|
+
<td class="tg-baqh" style="min-width: 60%; max-width: 60%;">{{issue}}</td>
|
|
52
|
+
</tr>
|
|
53
|
+
<tr>
|
|
54
|
+
<td class="tg-baqh" style="min-width: 30%; max-width: 30%; font-weight: bold;">Priority</td>
|
|
55
|
+
<td class="tg-baqh" style="min-width: 60%; max-width: 60%;">{{priority}}</td>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<td class="tg-baqh" style="min-width: 30%; max-width: 30%; font-weight: bold;">Status</td>
|
|
59
|
+
<td class="tg-baqh" style="min-width: 60%; max-width: 60%;">{{status}}</td>
|
|
60
|
+
</tr>
|
|
61
|
+
<tr>
|
|
62
|
+
<td class="tg-baqh" style="min-width: 30%; max-width: 30%; font-weight: bold;">Substatus</td>
|
|
63
|
+
<td class="tg-baqh" style="min-width: 60%; max-width: 60%;">{{substatus}}</td>
|
|
64
|
+
</tr>
|
|
65
|
+
<tr>
|
|
66
|
+
<td class="tg-baqh" style="min-width: 30%; max-width: 30%; font-weight: bold;">Date created</td>
|
|
67
|
+
<td class="tg-baqh" style="min-width: 60%; max-width: 60%;">{{date_created_string}}</td>
|
|
68
|
+
</tr>
|
|
69
|
+
</tbody>
|
|
70
|
+
</table>
|
|
71
|
+
</div>
|