diff options
Diffstat (limited to 'predPy')
-rw-r--r-- | predPy/templates/meterSamples.html | 12 | ||||
-rw-r--r-- | predPy/templates/source.html | 15 |
2 files changed, 27 insertions, 0 deletions
diff --git a/predPy/templates/meterSamples.html b/predPy/templates/meterSamples.html new file mode 100644 index 0000000..63c460d --- /dev/null +++ b/predPy/templates/meterSamples.html @@ -0,0 +1,12 @@ +$def with (count) + +$if count: + <h2>Well done! Collection is completed.</h2> + <h2><em style="color: green;">$count</em> rows of meter samples have been written in the file named "collectMeterSamples.arff" in your current directory.</h2> + <h2>Please check!</h2> +$else: + <h2><em>That's too bad! The meter samples are not successfully generated. Please try again!</em></h2> + +<form action="/" method="GET"> + <button style="color: blue; font-size: 2em;" type="submit">Try again!</button> +</form> diff --git a/predPy/templates/source.html b/predPy/templates/source.html new file mode 100644 index 0000000..b9b0699 --- /dev/null +++ b/predPy/templates/source.html @@ -0,0 +1,15 @@ +<h2>Set environment variables using the OpenStack RC file</h2> + +<p>To set the required environment variables for the OpenStack command-line clients, you must create an environment file +called an OpenStack rc file, or <code class="filename">openrc.sh</code> file. This project-specific environment +file contains the credentials that all OpenStack services use.</p> + +<p>When you source the file, environment variables are set for your current shell. The variables enable the OpenStack client +commands to communicate with the OpenStack services that run in the cloud.</p> + +<h2>source your openrc file in a fixed form: source openrc [username] [projectname]</h2> + +<form action="/" method="POST" height=29px> + <input type="text" name="content" class="input-box"> + <input type="submit" value="Submit" class="button"> +</form> |