Quantcast
Channel: Symantec Connect - Endpoint Management
Viewing all articles
Browse latest Browse all 7217

Workflow - Include Stylesheets and Javascript libraries Project wide

$
0
0

I'd like to be able to include, for example, bootstrap as a theme to my Web Form Project.

Would it be possible to have a Project wide setting where you either add the .css and .js files as resources then link to them using

<link rel="stylesheet" type="text/css" href="theme.css">
<script src="myscripts.js"></script>

Or have a place to add scripts and styles with a list of URLs and these be added to the <head> (or footer for js) to every Form.

With css3.pngCSS3 and HTML5.pngHTML5 there are a lot of new feature rich things that the Theme Editor doesn't support in the GUI.

We can't add border-radius or animation properties.

There are various articles from Andrew that show you can make your Workflow look awesome but there is a lot of work involved using the IncludeHTML.

One idea I had was to create a Theme, then add a Template. Within the Template add an IncludeHTML which contained the links to the CSS and JS then add that Template to each Form but seems a bit cumbersome. Why not have an extra tab in the Properties to take care of this.

Links

Concepts Primer – Applying Custom CSS to Workflow Forms

Theme Builder

Convert a CSS file to an xTheme

Add a Custom Font

Modify DOCTYPE


Viewing all articles
Browse latest Browse all 7217

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>