CDTS GoC Centrally Deployed Templates Solution

https://cenw-wscoe.github.io/sgdc-cdts/docs/index-en.html

CLF - CommonLookAndFeel

CLFPagePlugin is a utility that facilitates the creation and customization of the GoC web templates for applications. The utility can be configured using custom HTML tags found within the web page. This utility runs at the core server level, outside of the application’s domain. This allows any application (or static file) regardless of the programming language to use CLFPagePlugin. Note that the templates used, while included in the CLFPagePlugin installer, are updated independently from the CLFPagePlugin itself

CLFPagePlugin 1.1 doc:

Attachments - ARASS - SNARA - BSD - Civil Aviation - Confluence (atlassian.net)

OLD Icons in WET legacy

Web Experience Toolkit (WET)

https://wet-boew.github.io/wet-boew-legacy/v3.0/demos/grids/grid-icon-en.html

Migration

Migration: CLFPagePlugin to CDTS - OPP_PPO - Confluence (atlassian.net)

https://tcmarin.atlassian.net/wiki/spaces/OP/pages/676266354/Migration+CLFPagePlugin+to+CDTS

https://wiki.gccollab.ca/Transport_Canada_(TC)_Infrastructure_Modernization_-_Cloud_/_DR_/_Workload_Migration

WET - Web Experience Toolkit/ BOEW - Boîte à outils d'expérience Web

Migration from GCWeb CLF Pages to GoC Centrally Deployed Templates Solution (CDTS) based on Web Experience Toolkit (WET) and

wet-boew Public

Web Experience Toolkit (WET): Open source code library for building innovative websites that are accessible, usable, interoperable, mobile-friendly and multilingual. This collaborative open source project is led by the Government of Canada.

Centrally Deployed Templates Solution (CDTS) / Solution de gabarits à déploiement centralisé (SGDC)

Transport Canada Operations Management System (TCOMS) team summary:

Migration: CLFPagePlugin to CDTS - OPP_PPO - Confluence (atlassian.net)

Web Experience Toolkit (WET) URLs

BOEW - Boîte à outils d'expérience Web

https://wet-boew.github.io/wet-boew/index-en.html

https://wet-boew.github.io/GCWeb/index-en.html

Examples:

Working examples - Web Experience Toolkit (wet-boew.github.io)

Documentation:

Plugins - Documentation - Web Experience Toolkit (wet-boew.github.io)

Tables - Plugins - Documentation - Web Experience Toolkit (wet-boew.github.io)
Tabbed Interface - Plugins - Documentation - Web Experience Toolkit (wet-boew.github.io)

Versioning

https://cenw-wscoe.github.io/sgdc-cdts/docs/index-en.html#Current_CDTS_supported_versions

5.0

Home - Centrally Deployed Templates Solution (CDTS) (cenw-wscoe.github.io)

Centrally Deployed Templates Solution (CDTS) version v5.0.0 has now been released. This will support version 4.0.70.1 of the Web Experience Toolkit (WET). https://github.com/wet-boew/wet-boew/releases/tag/v4.0.70.1 Important: This version has updated the exitscript (breaking change) to address the open redirect vulnerability that was discussed in the previous email. Follow this link to see a list of changes to the latest CDTS version. https://github.com/wet-boew/cdts-sgdc/blob/master/CHANGELOG.md Remember that you can start testing your existing web assets against the new version right away. Should you find any issue with the CDTS, please open a issue on GitHub. https://github.com/wet-boew/cdts-sgdc/issues Feel free to forward this email to interested or impacted development teams! The .NET and JAVA templates and their sample code will be released shortly after and will support the latest version of the CDTS. The Web Template allows you to rapidly integrate the target solution for centralized presentation layer components of Canada.ca. For documentation and how to install it please read the Web Template Guide. https://cenw-wscoe.github.io/sgdc-cdts/docs/templates-en.html Should you stumble across any issue with the templates, please open a ticket with the .NET templates project on GitHub here, https://github.com/wet-boew/cdts-DotNetTemplates/issues or with the Java templates project on GitHub here. Thank you very much for choosing the Centrally Deployed Templates Solution!

 

Tabbed Pane

https://wet-boew.github.io/wet-boew/demos/tabs/tabs-en.html

<div class="wet-boew-tabbedinterface">

<div id="tabPolicy"> ---> <details id="details-panel22">

Tables

https://wet-boew.github.io/wet-boew/demos/tables/tables-en.html

https://www.datatables.net/reference/option/

Common Look And Feel

Web Experience Toolkit

Common Look And Feel

Web Experience Toolkit

<table class="wet-boew-tables tabbedinterface-table table-accent">

<table class="wb-tables table table-striped table-hover" data-wb-tables='{ "ordering" : false, "paging": false, "searching": false, "info": false}'>

<table class="wet-boew-tables dataTable table-accent" data-wet-boew='{"aaSorting": [[0, "asc"]]}'>

<table class="wb-tables table table-striped table-hover" data-wb-tables='{ "ordering" : true }'>

<table class="wet-boew-tables tabbedinterface-table table-accent" data-wet-boew='{"aaSorting": [[0, "asc"]]}'>

<table class="wb-tables table table-striped table-hover" data-wb-tables='{ "ordering" : true }'>

<table class="wet-boew-tables tabbedinterface-table table-accent" data-wet-boew='{"aaSorting": [[0, "desc"]]}'>

 

<table class="wet-boew-tables tabbedinterface-table table-accent" data-wet-boew='{"aaSorting": [[0, "asc"],[2, "asc"]]}'>

 

<table class="wet-boew-tables tabbedinterface-table table-accent" data-wet-boew='@inventorySort' >

var inventorySort = reportType == "3" ? "{'aaSorting': [[4, 'desc']]}" : "{'aaSorting': [[0, 'asc']]}";

<table class="wb-tables table table-striped table-hover" data-wb-tables='{ "ordering" : true }'>

<table class="wet-boew-tables table-accent" data-wet-boew='{"bPaginate": false, "bSearch": false}'>

 

<table class="wet-boew-tables dataTable table-accent span-3" data-wet-boew='{"bSearch": false, "aaSorting": [[0, "desc"]]}'>

 

5.0 Installation

https://github.com/wet-boew/cdts-DotNetTemplates/wiki/installation#for-mvc

Select "Manage NuGet Packages...";

For MVC: Select the package named GoC.WebTemplate-MVC for the template only (This will require the package named GoC.WebTemplate-Components.Framework and GoC.WebTemplate-Components as well);

For MVC:

  • Added a reference to the GoC.WebTemplate.Components.dll, GoC.WebTemplate.Components.Framework.dll and GoC.WebTemplate.MVC.dll

  • Added a folder Views\GoC.WebTemplate with 9 layout pages, added a folder StaticFallbackFiles containing the Static backup files for the version of the template release

  • Added entries to your web.config.

Copy C:\github\cdts-DotNetTemplates\cdts-DotNetTemplates\MVC\Views\GoC.WebTemplate to C:\github\DotNet MVC Sample\dotnet-mvc-sample\Views

Sample does'not work repro

 

86913 - Security Web

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=86913

86913:Implement CDTS web template in the security website

https://cenw-wscoe.github.io/sgdc-cdts/docs/index-en.html#Current_CDTS_supported_versions

Used Version: CDTS: v4.0.47 (Release Release v4.0.70.1 · wet-boew/wet-boew · GitHub)

DotNetTemplates v2.8.0 (Feb 15, 2023)

https://github.com/wet-boew/cdts-DotNetTemplates

https://github.com/wet-boew/cdts-DotNetTemplates/releases

URLS

 

 

 

For MVC: Select the package named GoC.WebTemplate-MVC for the template only

(This will require the package named GoC.WebTemplate-Components.Framework and

GoC.WebTemplate-Components as well);

After three packages has added it will be automatically added to the Reference section

.\Development\LEIS.Security.Web\Views\GoC.WebTemplate and .\Development\LEIS.Security.Web\Views\GoC.WebTemplate\StaticFallbackFiles are added automatically.

.\Development\LEIS.Security.Web\Web.config is updated

C:\github\DSD-RAIL-LEIS\86913\DSD-RAIL-LEIS\Development\LEIS.Security.Web\Web.config

 

GoC.Web Template Versions

 

Implementation

https://gccode.ssc-spc.gc.ca/iitb-dgiit/sds/GOCWebTemplates/DotNetTemplates/-/wikis/Documentation/Implementation

Well

Splash Screen

Adding a land Break on the splash screen (LEIS Welcome banner modification)

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=266776

 

Attachments

  File Modified

PNG File image-20230413-210236.png

May 14, 2023 by Tsizis, Mark (TC TC)

PNG File image-20230413-210131.png

May 14, 2023 by Tsizis, Mark (TC TC)

PNG File image-20230413-210103.png

May 14, 2023 by Tsizis, Mark (TC TC)

PNG File image-20230413-205713.png

May 14, 2023 by Tsizis, Mark (TC TC)

PNG File image-20230312-010215.png

May 14, 2023 by Tsizis, Mark (TC TC)

PNG File image-20230711-150011.png

Jul 11, 2023 by Tsizis, Mark (TC TC)

PNG File image-20230711-150019.png

Jul 11, 2023 by Tsizis, Mark (TC TC)

PNG File image-20230711-151408.png

Jul 11, 2023 by Tsizis, Mark (TC TC)

Microsoft Word Document Fixing CLF Pages4.docx

Jan 06, 2024 by Tsizis, Mark (TC TC)