diff options
author | albertogp <albertogp@uma.es> | 2012-05-14 09:50:12 +0000 |
---|---|---|
committer | albertogp <albertogp@uma.es> | 2012-05-14 09:50:12 +0000 |
commit | da31ceef80233214a7e6a5f2f089cc1751e16e38 (patch) | |
tree | 4bddd54745abd5596ec9264d4dd4b39bca93c8a2 /client/shared/lib/httpd | |
parent | 4ee35bfe486fe1d48db54a4de6012409e65d6714 (diff) |
VersiĆ³n 1.0.4, #491: Integrar ticket en rama de desarrollo.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3019 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/lib/httpd')
-rw-r--r-- | client/shared/lib/httpd/cache.sh | 22 | ||||
-rw-r--r-- | client/shared/lib/httpd/httpd-log.sh | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/client/shared/lib/httpd/cache.sh b/client/shared/lib/httpd/cache.sh new file mode 100644 index 00000000..a2e40093 --- /dev/null +++ b/client/shared/lib/httpd/cache.sh @@ -0,0 +1,22 @@ +#!/bin/bash +echo "Content-type: text/html" +echo "" +echo "<html><head> <meta http-equiv='Refresh' content='5,URL=./cache.sh'> <title>Listado de la Cache" +echo "</title>" +echo "<style type='text/css'>" +echo "<!--" +echo "TEXTAREA {" +echo "background-color: navy;" +echo "border: black 2px solid;" +echo "color: white;" +echo "font-family: arial, verdana, ms sans serif;" +echo "font-size: 8pt;" +echo "font-weight: normal" +echo "} " +echo "-->" +echo "</style>" +echo "</head><body>" +echo "<TEXTAREA NAME='contenido' ROWS='30' COLS='150' >" +echo "$(ls -lh /opt/opengnsys/cache/opt/opengnsys/images )" +echo "</TEXTAREA>" +echo "</body></html>"
\ No newline at end of file diff --git a/client/shared/lib/httpd/httpd-log.sh b/client/shared/lib/httpd/httpd-log.sh index ae76b5fe..58ee6ec6 100644 --- a/client/shared/lib/httpd/httpd-log.sh +++ b/client/shared/lib/httpd/httpd-log.sh @@ -8,7 +8,7 @@ echo "<html><head><title>OpenGnsys Client</title></head><body>" echo "<h1> $(./httpd-runengine.sh 'ogEcho $MSG_HTTPLOG_NOUSE' ) . host $(hostname -s)</h1> " echo "<IFRAME SRC='bandwidth.sh' WIDTH=250 HEIGHT=80> <A HREF="bandwidth.sh">link</A> </IFRAME> " - +echo "<IFRAME SRC='cache.sh' WIDTH=590 HEIGHT=90><A HREF="cache.sh">link</a> </IFRAME><br>" echo "<IFRAME SRC='LogSession.sh' WIDTH=850 HEIGHT=230> <A HREF="LogSession.sh">link</A> </IFRAME>" echo "<IFRAME SRC='LogCommand.sh' WIDTH=850 HEIGHT=250> <A HREF="LogCommand.sh">link</A> </IFRAME>" |