Databases Reference
In-Depth Information
The XML would render this panel:
This approach has the advantage that no other files are needed. The disadvantage,
however, is that you cannot build the HTML document in an external program and
upload it untouched.
You could also reference custom CSS using this method by adding classes to
application.css
and then referencing those classes in your HTML block.
Using ServerSideInclude in a complex dashboard
You can also develop static pages as HTML documents, referencing other files in the
same directory. Let's build a slightly more complicated page using
graph.png
, but
also a style from
application.css
as follows:
1. Place
graph.png
and
application.css
into a directory.
2. Create a new HTML file. Let's name it
intro.html
.
3. Add any styles for your page to
application.css
.
4. Upload the new HTML file and modified CSS file.
5. Create the dashboard referencing the HTML file.
Starting with the HTML from our previous example, let's make it a complete
document: move the image to a CSS style and add a class to our text, like this:
<html>
<head>
<link rel="stylesheet" type="text/css"
href="application.css" />
Search WWH ::
Custom Search