beremiz

SVGHMI: add static file serving feature.

17 months ago, Edouard Tisserant
4ce63b8647d7
SVGHMI: add static file serving feature.

Added two buttons to add and remove files.
Files are stored in project inside a directory named "static",
itself located in svghmi CTN instance files. Exemple :
exemples/svghmi_csv_json_img_table/svghmi_0@svghmi/static/
Files are transfered as "extra_files", but with a prefix
added to their name to avoid conflics.
body {
background-color: #f5faff;
}
* {
font-family: Tahoma, Verdana, sans-serif;
}
h1, h2 {
color: darkslateblue;
}
fieldset {
color: #424242;
border: 1px solid gray;
border-radius: 4px;
}
input, select, button, a {
font-size: 14px;
}
button,
input,
select,
textarea {
color: inherit;
}
legend, .freeform-form-label {
color: darkslateblue;
}
.freeform-label {
float: left;
width: 30%;
}
a {
background-color: #e9e9ed;
color: #424242;
padding: 2px 6px;
text-align: center;
text-decoration: none;
display: inline-block;
border: 1px solid gray;
border-radius: 4px;
}
a:hover, a:active {
background-color: silver;
}