Skip to content

Commit cfb365e

Browse files
committed
Make the document images responsive
1 parent fc262e1 commit cfb365e

11 files changed

+38
-44
lines changed

docs/archiveviewer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ <h3>Retrieving data using the ArchiveViewer</h3>
4949
To retrieve data, start the Archive Viewer and connect to the EPICS Archiver Appliance using a URL that looks like so <code>pbraw://archiver.slac.stanford.edu/retrieval</code>.
5050
This URL is generated by replacing the string <i>http</i> with the string <i>pbraw</i> in the <code>data_retrieval_url</code> element of your <code>appliances.xml</code>.
5151
<figure>
52-
<img src="images/av_connect.png" alt="Connecting using pbraw"/>
52+
<img class="img-responsive" src="images/av_connect.png" alt="Connecting using pbraw"/>
5353
</figure>
5454

5555
Once you have established a connection to the server, you should be able to use the Archive Viewer as before to retrieve and display data.
5656
<figure>
57-
<img src="images/av_plot.png" alt="Plotting"/>
57+
<img class="img-responsive" src="images/av_plot.png" alt="Plotting"/>
5858
</figure>
5959

6060
The Archive Viewer is also used to retrieve data from the Channel Archiver; this has a concept of indexes that form part of the data retrieval request.

docs/csstudio.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ <h5>Configuring CS-Studio</h5>
5858
</ul>
5959
Example:
6060
<figure>
61-
<img src="images/csstudio_config.png" alt="Connecting using pbraw"/>
61+
<img class="img-responsive" src="images/csstudio_config.png" alt="Connecting using pbraw"/>
6262
</figure>
6363

6464
Once the URL has been added to the preferences, the archiver appliance can be used in the databrowser like any other data source.
6565
Users can search the archive for PV’s, retrieve data and plot it, etc.
6666

6767
<figure>
68-
<img src="images/csstudio_plot.jpg" alt="Plotting"/>
68+
<img class="img-responsive" src="images/csstudio_plot.jpg" alt="Plotting"/>
6969
</figure>
7070

7171
</section>

docs/customization.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h3>Site specific builds</h3>
7979
<li>There is also a site specific properties file called <code>archappl.properties</code> that is discovered in a similar fashion. The properties in this file are used to control some of the other customizations of the archiver appliance.</li>
8080
</ol>
8181
<figure>
82-
<img src="images/archappl_siteid.png"/>
82+
<img class="img-responsive" src="images/archappl_siteid.png"/>
8383
<figcaption>Using the ARCHAPPL_SITEID to customize the contents of the generated WAR files.</figcaption>
8484
</figure>
8585
</li>

docs/details.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ <h3>Architecture</h3>
134134
<li>A NAS/SAN for the long term store - in this storage stage, we'd store data at a granularity of a year.</li>
135135
</ol>
136136
<figure>
137-
<img src="images/applarch.png"/>
137+
<img class="img-responsive" src="images/applarch.png"/>
138138
<figcaption>Architecture of a single appliance</figcaption>
139139
</figure>
140140
<div>
@@ -146,11 +146,11 @@ <h3>Architecture</h3>
146146
The long term store is shown outside the appliance as an example of a commonly deployed configuration.
147147
There is no necessity for the appliances to share any storage; so both of these configurations are possible.
148148
<figure>
149-
<img src="images/clusterinto1lts.png" alt="Multiple appliances into one long term store"/>
149+
<img class="img-responsive" src="images/clusterinto1lts.png" alt="Multiple appliances into one long term store"/>
150150
<figcaption>Multiple appliances sending data into one long term store</figcaption>
151151
</figure>
152152
<figure>
153-
<img src="images/clusterintodifflts.png" alt="Multiple appliances into different long term stores"/>
153+
<img class="img-responsive" src="images/clusterintodifflts.png" alt="Multiple appliances into different long term stores"/>
154154
<figcaption>Multiple appliances sending data into different long term stores</figcaption>
155155
</figure>
156156
</div>
@@ -192,7 +192,7 @@ <h3>Clustering</h3>
192192
</p>
193193

194194
<figure>
195-
<img src="images/proxyrequest.png"/>
195+
<img class="img-responsive" src="images/proxyrequest.png"/>
196196
<figcaption>Appliance 1 proxies data retrieval request for PV being archived by appliance 2.</figcaption>
197197
</figure>
198198
In addition, users do not need to allocate PVs to appliances when requesting for new PVs be archived.
@@ -205,7 +205,7 @@ <h3>Scripting</h3>
205205
The web interface communicates with the server principally using JSON/HTTP.
206206
The same web service calls are also available for use from external scripting tools like Python.
207207
<figure>
208-
<img src="images/pythonscript.png"/>
208+
<img class="img-responsive" src="images/pythonscript.png"/>
209209
<figcaption>A sample python script that prints out all the PVs in the cluster of appliances.</figcaption>
210210
</figure>
211211
Click <a href="api/mgmt_scriptables.html" target="_blank">here</a> for a list of business logic accesible thru scripting.
@@ -214,22 +214,22 @@ <h3>Scripting</h3>
214214
<section>
215215
<h3>Screenshots</h3>
216216
<figure>
217-
<img src="images/homepage.png"/>
217+
<img class="img-responsive" src="images/homepage.png"/>
218218
<figcaption>A screenshot of the home page.</figcaption>
219219
</figure>
220220

221221
<figure>
222-
<img src="images/reportspage.png"/>
222+
<img class="img-responsive" src="images/reportspage.png"/>
223223
<figcaption>We offer a wide variety of reports.</figcaption>
224224
</figure>
225225

226226
<figure>
227-
<img src="images/metricspage.png"/>
227+
<img class="img-responsive" src="images/metricspage.png"/>
228228
<figcaption>Metrics maintained by the appliances.</figcaption>
229229
</figure>
230230

231231
<figure>
232-
<img src="images/appliancespage.png"/>
232+
<img class="img-responsive" src="images/appliancespage.png"/>
233233
<figcaption>The appliances page offers a quick view of some JVM parameters.</figcaption>
234234
</figure>
235235

docs/developersguide.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h3>Prerequisites</h3>
4646
An installation of Tomcat is required to build successfully; this is located using the environment variable <code>TOMCAT_HOME</code>.
4747
Use something like
4848
<figure>
49-
<img src="images/tomcathome.png"/>
49+
<img class="img-responsive" src="images/tomcathome.png"/>
5050
</figure>
5151
By default, Tomcat sets up a HTTP listener on port 8080.
5252
You can change this in the Tomcat server.xml to avoid collision with other folks running Tomcat.
@@ -76,14 +76,14 @@ <h3>Building</h3>
7676
If you have a Eclipse workspace called <code>workspace</code> and the EPICS archiver appliance code checked out into a folder called <code>epicsarchiverap</code>,
7777
then the build script is run by calling ant from within <code>workspace/epicsarchiverap</code>.
7878
<figure>
79-
<img src="images/build_ant.png"/>
79+
<img class="img-responsive" src="images/build_ant.png"/>
8080
<figcaption>Using ant to initiate a build.</figcaption>
8181
</figure>
8282

8383

8484
The default target builds the install package and the various wars and places them into the parent folder.
8585
<figure>
86-
<img src="images/built_wars.png"/>
86+
<img class="img-responsive" src="images/built_wars.png"/>
8787
</figure>
8888
</section>
8989

docs/installguide.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h3>Create an <code>appliances.xml</code></h3>
120120
The details of the file are outlined in the <a href="api/org/epics/archiverappliance/config/ConfigService.html#ARCHAPPL_APPLIANCES">ConfigService</a> javadoc.
121121
A sample <code>appliances.xml</code> with two appliances looks like
122122
<figure>
123-
<img src="images/appliancesxml.png"/>
123+
<img class="img-responsive" src="images/appliancesxml.png"/>
124124
<figcaption>The <code>appliances.xml</code> lists all the appliances in the cluster.</figcaption>
125125
</figure>
126126

@@ -168,7 +168,7 @@ <h3>Create an <code>appliances.xml</code></h3>
168168
In this case, we are pointing all clients to a single load-balancer on <code>archiver.slac.stanford.edu</code> on port 80.
169169
One can use the <a href="http://httpd.apache.org/docs/2.4/mod/mod_proxy_balancer.html">mod_proxy_balancer</a> of Apache to load-balance among any of the appliances in the cluster.
170170
<figure>
171-
<img src="images/ApacheasLB.png"/>
171+
<img class="img-responsive" src="images/ApacheasLB.png"/>
172172
<figcaption>Using Apache HTTP on <code>archiver</code> to load balance data retrieval between <code>appliance0</code> and <code>appliance1</code>.</figcaption>
173173
</figure>
174174
<ul>
@@ -221,7 +221,7 @@ <h3>Installing Tomcat and setting up Apache Commons Daemon</h3>
221221
<li>By default, the connector port for the HTTP connector is set to 8080.
222222
Change this to the port used by the <code>mgmt</code> webapp for this appliance, in this example, 17665.
223223
<figure>
224-
<img src="images/tomcathttpconnector.png"/>
224+
<img class="img-responsive" src="images/tomcathttpconnector.png"/>
225225
<figcaption>Change 8080 to the port used by the <code>mgmt</code> webapp for this appliance.</figcaption>
226226
</figure>
227227
</li>
@@ -260,7 +260,7 @@ <h3>Installing Tomcat and setting up Apache Commons Daemon</h3>
260260
Once you have built this, copy the <code>jsvc</code> binary to the Tomcat <code>bin</code> folder for convenience.
261261
Note, it's not required that you use <code>Apache Commons Daemon</code> especially, if you are already using system monitoring and management tools like <a href="http://www.nagios.org/">Nagios</a> or <a href="http://www.hyperic.com/">Hyperic</a>.
262262
<figure>
263-
<img src="images/buildingjsvc.png"/>
263+
<img class="img-responsive" src="images/buildingjsvc.png"/>
264264
<figcaption>Building Apache Commons Daemon.</figcaption>
265265
</figure>
266266
</li>
@@ -301,7 +301,7 @@ <h3>Installing MySQL</h3>
301301
In addition to the log4j.properties file, you should have a <code>mysql-connector-java-XXX.jar</code> as show here.
302302

303303
<figure>
304-
<img src="images/tomcatlib1.png"/>
304+
<img class="img-responsive" src="images/tomcatlib1.png"/>
305305
<figcaption>Tomcat lib after copying over MySQL jar</figcaption>
306306
</figure>
307307
</li>
@@ -340,7 +340,7 @@ <h3>Installing MySQL</h3>
340340
The only parameter that is fixed is the name of the pool and this needs to be <code>jdbc/archappl</code>.
341341
All other parameters are left to your discretion.
342342
<figure>
343-
<img src="images/connpool.png"/>
343+
<img class="img-responsive" src="images/connpool.png"/>
344344
</figure>
345345
<ul>
346346
<li>Note for Debian/Ubuntu users: The Tomcat packages shipped with Debian/Ubuntu do not include the Tomcat JDBC Connection Pool. Download it from the web and drop the <code>tomcat-jdbc.jar</code> file into <code>/usr/share/tomcat7/lib</code>.</li>
@@ -358,7 +358,7 @@ <h3>Setting up storage</h3>
358358
A useful way to do this is to create a folder called <code>/arch</code> and then create soft links in this folder to the actual physical location.
359359
For example,
360360
<figure>
361-
<img src="images/slasharch.png"/>
361+
<img class="img-responsive" src="images/slasharch.png"/>
362362
<figcaption><code>/arch</code> showing soft links to actual storage locations.</figcaption>
363363
</figure>
364364
We then set environment variables in the startup script that point to the locations within <code>/arch</code>.
@@ -388,7 +388,7 @@ <h3>Create individual Tomcat containers for each of the web apps</h3>
388388
</ol>
389389
and then run the <code>deployMultipleTomcats.py</code> script passing in one argument that identifies the parent folder of the individual Tomcat containers.
390390
<figure>
391-
<img src="images/deployMultiple.png"/>
391+
<img class="img-responsive" src="images/deployMultiple.png"/>
392392
<figcaption>Using the <code>deployMultipleTomcats.py</code> script to create individual containers for each WAR file.</figcaption>
393393
</figure>
394394
This is the last of the steps that are install specific; that is, you'll execute these only on installation of a new appliance.

docs/matlab.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h3>Retrieving data using Matlab</h3>
7676

7777
Here's a screenshot of this sample code being executed in a Matlab environment.
7878
<figure>
79-
<img src="images/matlab1.png"/>
79+
<img class="img-responsive" src="images/matlab1.png"/>
8080
</figure>
8181
</section>
8282
<div>

docs/pb_pbraw.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h3>The <code>.pb</code> file format</h3>
4848
PB files contain serialized PB messages; one per sample; a sample per line.
4949
The first line in a PB file is a header (<code>PayloadInfo</code> PB message) that contains some basic information like the PV name, its DBR type and so on.
5050
<figure>
51-
<img src="images/pbfile.png"/>
51+
<img class="img-responsive" src="images/pbfile.png"/>
5252
</figure>
5353
As serialized PB messages are binary data; after serialization, newline characters are escaped to maintain a "sample per line" constraint.
5454
<ol>
@@ -98,7 +98,7 @@ <h3>The PB/HTTP protocol</h3>
9898
There is no strict formula on how many chunks there will per data retrieval request; the server chunks data based on data source/partition/other parameters.
9999
Both <a href="https://github.com/slacmshankar/epicsarchiverap_pbrawclient/">pbrawclient</a> and <a href="https://github.com/epicsdeb/carchivetools">carchivetools</a> handle the multiple chunks in a seamless fashion and present the data to the caller as a single event stream.
100100
<figure>
101-
<img src="images/pbhttp.png"/>
101+
<img class="img-responsive" src="images/pbhttp.png"/>
102102
</figure>
103103
</section>
104104

docs/quickstart.html

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
<link type="text/css" href="docs.css" rel="Stylesheet" />
88
<title>EPICS Archiver Appliance -- Quickstart</title>
99

10-
<style type="text/css">
11-
img.imageshowingstep {
12-
max-width: 75%;
13-
}
14-
</style>
15-
1610
</head>
1711
<body>
1812
<!-- Header starts here -->
@@ -65,20 +59,20 @@ <h3>Quickstart Guide</h3>
6559
Here are the steps to get started quickly.
6660
<ol>
6761
<li>Make sure you have a recent version of Sun Java 1.8 from Oracle by running <code>java -version</code>. You should see something like so
68-
<img class="imageshowingstep" src="images/javaversion.png"/>
62+
<img class="img-responsive" class="imageshowingstep" src="images/javaversion.png"/>
6963
</li>
7064
<li>Download the installation package to a Linux machine into a brand new folder. This should give you a tar.gz file like <code>archappl_vx.x.x.tar.gz</code>.</li>
7165
<li>Download a recent version of Tomcat 7.x. into the same folder. You should now have two files in this folder like so
72-
<img class="imageshowingstep" src="images/targzs.png"/>
66+
<img class="img-responsive" class="imageshowingstep" src="images/targzs.png"/>
7367
</li>
7468
<li>Untar the <code>archappl_vx.x.x.tar.gz</code>. This should untar into 4 WAR files and a bash script like so
75-
<img class="imageshowingstep" src="images/expandedtargz.png"/>
69+
<img class="img-responsive" class="imageshowingstep" src="images/expandedtargz.png"/>
7670
</li>
7771
<li>Run the script like so
78-
<img class="imageshowingstep" src="images/runqascript.png"/>
72+
<img class="img-responsive" class="imageshowingstep" src="images/runqascript.png"/>
7973
</li>
8074
<li>This should start the Tomcat process in the foreground. Once all the webapps have been initialized (it takes about 2-5 minutes), you should see a log message in the console <samp>All components in this appliance have started up. We should be ready to start accepting UI requests</samp> like so
81-
<img class="imageshowingstep" src="images/readyforUIrequests.png"/>
75+
<img class="img-responsive" class="imageshowingstep" src="images/readyforUIrequests.png"/>
8276
</li>
8377
<li>Open a browser to <code>http://&lt;&lt;<i>machinename</i>&gt;&gt;:17665/mgmt/ui/index.html</code> and you should see the home screen for your archiver appliance.</li>
8478
<li>If your EPICS environment variables are set up correctly, you should be able to start archiving PV's right away.

docs/site_specific_content_changes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h3>Making simple site-specific content changes</h3>
9797
</pre>
9898
to generate
9999
<figure>
100-
<img src="images/simple_static_content.png"/>
100+
<img class="img-responsive" src="images/simple_static_content.png"/>
101101
</figure>
102102
</div>
103103

0 commit comments

Comments
 (0)