Skip to content

Commit

Permalink
Merge pull request #6 from ProcessMaker/new_templates_112024
Browse files Browse the repository at this point in the history
New templates 112024
  • Loading branch information
giovani-lv authored Nov 20, 2024
2 parents a9fcb61 + b9c0a54 commit 7662029
Show file tree
Hide file tree
Showing 38 changed files with 221 additions and 14 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<screen-template
name="Dashboard Screen"
description="Default dashboard screen template"
screen_type="FORM"
version="1.0.0"
unique_template_id="dashboard_screen_template"
></screen-template>

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<screen-template
name="Email Screen"
description="Default email screen template"
screen_type="FORM"
version="1.0.0"
unique_template_id="email_screen_template"
></screen-template>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"screen_templates_package","version":"2","root":"9d8940f1-6709-4db9-9bc2-3c051214d6cf","name":"Email Screen","export":{"9d8940f1-6709-4db9-9bc2-3c051214d6cf":{"exporter":"ProcessMaker\\ImportExport\\Exporters\\ScreenTemplatesExporter","type":"ScreenTemplates","type_human":"Screen Template","type_plural":"ScreenTemplates","type_human_plural":"Screen Templates","last_modified_by":"","last_modified_by_id":null,"model":"ProcessMaker\\Models\\ScreenTemplates","force_password_protect":false,"hidden":false,"mode":"update","saveAssetsMode":"saveAllAssets","explicit_discard":false,"dependents":[],"name":"Email Screen","description":"Email Screen","process_manager":"","process_manager_id":null,"attributes":{"id":12,"uuid":"9d8940f1-6709-4db9-9bc2-3c051214d6cf","unique_template_id":null,"name":"Email Screen","description":"Email Screen","version":"1.0.0","user_id":36,"editing_screen_uuid":null,"screen_category_id":1,"screen_type":"EMAIL","manifest":"{\"name\": \"Welcome email screen\", \"root\": \"9d191765-337b-459b-ac5a-7fc175b814ed\", \"type\": \"screen_package\", \"export\": {\"9d191765-337b-459b-ac5a-7fc175b814ed\": {\"mode\": \"update\", \"name\": \"Welcome email screen\", \"type\": \"Screen\", \"model\": \"ProcessMaker\\\\Models\\\\Screen\", \"hidden\": false, \"exporter\": \"ProcessMaker\\\\ImportExport\\\\Exporters\\\\ScreenExporter\", \"attributes\": {\"id\": 1912, \"key\": null, \"type\": \"EMAIL\", \"uuid\": \"9d191765-337b-459b-ac5a-7fc175b814ed\", \"title\": \"Welcome email screen\", \"config\": \"[{\\\"name\\\": \\\"Invoice Approval Email New\\\", \\\"items\\\": [{\\\"label\\\": \\\"Rich Text\\\", \\\"config\\\": {\\\"icon\\\": \\\"fas fa-pencil-ruler\\\", \\\"label\\\": null, \\\"content\\\": \\\"<table style=\\\\\\\"width: 100%; border-collapse: collapse; border: 0; border-spacing: 0;\\\\\\\" role=\\\\\\\"presentation\\\\\\\">\\\\n <tbody>\\\\n <tr>\\\\n <td style=\\\\\\\"padding: 0;\\\\\\\" align=\\\\\\\"center\\\\\\\">\\\\n <br />\\\\n <br />\\\\n <table style=\\\\\\\"width: 80%; border-collapse: collapse; border-spacing: 0; text-align: left; border-radius: 8px;\\\\\\\" role=\\\\\\\"presentation\\\\\\\">\\\\n <tbody>\\\\n <tr>\\\\n <td style=\\\\\\\"padding: 40px 0 30px 0; background: #2F343B; text-align: center; border-radius: 10px 10px 0 0;\\\\\\\">\\\\n <a><img src=\\\\\\\"https://plg-winter.dev.cloud.processmaker.net/public-files/PM%20Isologo.png\\\\\\\" alt=\\\\\\\"#\\\\\\\" width=\\\\\\\"224px\\\\\\\" /></a>\\\\n </td>\\\\n </tr>\\\\n <tr>\\\\n <td style=\\\\\\\"padding: 10px 30px;\\\\\\\">\\\\n <br />\\\\n <br />\\\\n <table style=\\\\\\\"width: 100%; border-collapse: collapse; border: 0; border-spacing: 0;\\\\\\\" role=\\\\\\\"presentation\\\\\\\">\\\\n <tbody>\\\\n <tr>\\\\n <td>\\\\n <p style=\\\\\\\"margin: 0 0 10px 0; font-family: Arial,sans-serif;\\\\\\\"><span style=\\\\\\\"color: #20242a; font-family: Slack-Lato, appleLogo, sans-serif; font-size: 24px; font-weight: 600;\\\\\\\">Dear Jose Maldonado,</span></p>\\\\n <br />\\\\n <p><span style=\\\\\\\"font-size: 18px; color: #20242a; font-family: Arial,sans-serif;\\\\\\\">We hope this message finds you well. We&rsquo;re excited to announce the launch of our new Expense Report Process, design to streamline and simplify your expense management.</span></p>\\\\n <p><span style=\\\\\\\"font-size: 18px; color: #20242a; font-family: Arial,sans-serif;\\\\\\\">With our new solution, you can effortlessly track expenses, submit reimbursement request ans stay on budget.</span></p>\\\\n </td>\\\\n </tr>\\\\n </tbody>\\\\n </table>\\\\n </td>\\\\n </tr>\\\\n <tr>\\\\n \\\\t\\\\n <tr>\\\\n <td style=\\\\\\\"padding: 10px 10px 10px 10px;\\\\\\\">\\\\n <table style=\\\\\\\"width: 100%; border-collapse: collapse; border: 0; border-spacing: 0;\\\\\\\" role=\\\\\\\"presentation\\\\\\\">\\\\n <tbody>\\\\n <tr>\\\\n <td style=\\\\\\\"text-align: right; padding-right:20px;\\\\\\\">\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t<p><a class=\\\\\\\"btn\\\\\\\" style=\\\\\\\"text-decoration: none; color: #333333; font-weight: 500; font-size: 16px; line-height: 24px; background-color: #ffffff; border: 1px solid #c6c6c6; padding: 15px 20px; display:inline-flex;\\\\\\\" href=\\\\\\\"#\\\\\\\"><img src=\\\\\\\"https://plg-winter.dev.cloud.processmaker.net/public-files/mobile.png\\\\\\\">Click here for mobile</a></p>\\\\n </td>\\\\n <td style=\\\\\\\"text-align: left; padding-left:20px;\\\\\\\">\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t<p><a class=\\\\\\\"btn\\\\\\\" style=\\\\\\\"text-decoration: none; color: #333333; font-weight: 500; font-size: 16px; line-height: 24px; background-color: #ffffff; border: 1px solid #c6c6c6; padding: 15px 20px; display:inline-flex;\\\\\\\" href=\\\\\\\"#\\\\\\\"><img src=\\\\\\\"https://plg-winter.dev.cloud.processmaker.net/public-files/Desktop.png\\\\\\\">Click here for mobile</a></p>\\\\n </td>\\\\n </tr>\\\\n </tbody>\\\\n </table>\\\\n </td>\\\\n </tr>\\\\n <tr>\\\\t\\\\n \\\\t<br />\\\\n <br />\\\\n <br />\\\\n <td style=\\\\\\\"padding: 30px; background: #F3F7FE; border-radius: 10px 10px 0 0;\\\\\\\">\\\\n <table style=\\\\\\\"width: 100%; border-collapse: collapse; border: 0; border-spacing: 0; font-size: 9px; font-family: Arial,sans-serif;\\\\\\\">\\\\n <tbody>\\\\n <tr>\\\\n <td style=\\\\\\\"padding: 0; width: 100%;\\\\\\\" align=\\\\\\\"center\\\\\\\">\\\\n <p><span style=\\\\\\\"font-family: Arial,sans-serif; color: #20242a; font-size: 20px; font-weight: 500;\\\\\\\"> If you don’t want to receive this kind of emails, you can update your preferences or Unsubscribe from this type of email Read our </span><span style=\\\\\\\"font-family: Arial,sans-serif; font-size: 20px; font-weight: 500; color: #2773f3;\\\\\\\"> Privacy Policy </span>\\\\n <span style=\\\\\\\"font-family: Arial,sans-serif; color: #20242a; font-size: 20px; font-weight: 500;\\\\\\\"> and </span> <span style=\\\\\\\"font-family: Arial,sans-serif; font-size: 20px; font-weight: 500; color: #2773f3;\\\\\\\"> Terms of Use </span>\\\\n </p>\\\\n </td>\\\\n </tr>\\\\n </tbody>\\\\n </table>\\\\n </td>\\\\n </tr>\\\\n </tbody>\\\\n </table>\\\\n </td>\\\\n </tr>\\\\n </tbody>\\\\n</table>\\\", \\\"interactive\\\": true, \\\"renderVarHtml\\\": true, \\\"customCssSelector\\\": \\\"body-container\\\"}, \\\"component\\\": \\\"FormHtmlViewer\\\", \\\"inspector\\\": [{\\\"type\\\": \\\"FormTextArea\\\", \\\"field\\\": \\\"content\\\", \\\"config\\\": {\\\"rows\\\": 5, \\\"label\\\": \\\"Content\\\", \\\"value\\\": null, \\\"helper\\\": \\\"The HTML text to display\\\"}}, {\\\"type\\\": \\\"FormCheckbox\\\", \\\"field\\\": \\\"renderVarHtml\\\", \\\"config\\\": {\\\"label\\\": \\\"Render HTML from a Variable\\\", \\\"value\\\": null, \\\"helper\\\": null}}, {\\\"type\\\": \\\"FormInput\\\", \\\"field\\\": \\\"conditionalHide\\\", \\\"config\\\": {\\\"label\\\": \\\"Visibility Rule\\\", \\\"helper\\\": \\\"This control is hidden until this expression is true\\\"}}, {\\\"type\\\": \\\"FormInput\\\", \\\"field\\\": \\\"customFormatter\\\", \\\"config\\\": {\\\"label\\\": \\\"Custom Format String\\\", \\\"helper\\\": \\\"Use the Mask Pattern format <br> Date ##/##/#### <br> SSN ###-##-#### <br> Phone (###) ###-####\\\", \\\"validation\\\": null}}, {\\\"type\\\": \\\"FormInput\\\", \\\"field\\\": \\\"customCssSelector\\\", \\\"config\\\": {\\\"label\\\": \\\"CSS Selector Name\\\", \\\"helper\\\": \\\"Use this in your custom css rules\\\", \\\"validation\\\": \\\"regex: [-?[_a-zA-Z]+[_-a-zA-Z0-9]*]\\\"}}, {\\\"type\\\": \\\"FormInput\\\", \\\"field\\\": \\\"ariaLabel\\\", \\\"config\\\": {\\\"label\\\": \\\"Aria Label\\\", \\\"helper\\\": \\\"Attribute designed to help assistive technology (e.g. screen readers) attach a label\\\"}}, {\\\"type\\\": \\\"FormInput\\\", \\\"field\\\": \\\"tabindex\\\", \\\"config\\\": {\\\"label\\\": \\\"Tab Order\\\", \\\"helper\\\": \\\"Order in which a user will move focus from one control to another by pressing the Tab key\\\", \\\"validation\\\": \\\"regex: [0-9]*\\\"}}], \\\"editor-control\\\": \\\"FormHtmlEditor\\\", \\\"editor-component\\\": \\\"FormHtmlEditor\\\"}], \\\"order\\\": 1}]\", \"status\": \"ACTIVE\", \"computed\": \"[]\", \"watchers\": \"[]\", \"asset_type\": null, \"created_at\": \"2024-09-26 00:35:22\", \"custom_css\": \"[selector='body-container'] p {\\n color: #556271;\\n}\\n\\n.center-block {\\n width: auto;\\n max-width: 80% !important;\\n}\", \"updated_at\": \"2024-09-26 02:02:18\", \"description\": \"Welcome email screen\", \"is_template\": 0, \"translations\": null}, \"dependents\": [], \"references\": {\"uncategorized-category\": true}, \"type_human\": \"Screen\", \"description\": \"Welcome email screen\", \"type_plural\": \"Screens\", \"saveAssetsMode\": \"saveAllAssets\", \"extraAttributes\": {\"translatedLanguages\": []}, \"process_manager\": \"\", \"explicit_discard\": false, \"last_modified_by\": \"milton magne\", \"type_human_plural\": \"Screens\", \"process_manager_id\": null, \"last_modified_by_id\": 4, \"force_password_protect\": false}}, \"version\": \"2\"}","screen_custom_css":"[selector='body-container'] p {\n color: #556271;\n}\n\n.center-block {\n width: auto;\n max-width: 80% !important;\n}","media_collection":"st-9d8940f1-6709-4db9-9bc2-3c051214d6cf-media","is_public":0,"is_default_template":0,"is_system":0,"asset_type":null,"created_at":"2024-11-20 18:44:16","updated_at":"2024-11-20 18:44:16"},"extraAttributes":{"translatedLanguages":[]},"references":[]}}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<screen-template
name="Welcome Page"
description="Default welcome page template"
screen_type="FORM"
version="1.0.0"
unique_template_id="welcome_page_template"
></screen-template>
Loading

0 comments on commit 7662029

Please sign in to comment.