2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

Styling reworked

git-svn-id: https://svn.fhem.de/fhem/trunk@1119 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-11-26 11:15:49 +00:00
parent 36da612025
commit 59e7411d63
8 changed files with 41 additions and 34 deletions

View File

@ -11,8 +11,8 @@
<body> <body>
<div id="left"> <div id="logo"></div>
<img src="fhem.png"> <div id="menu">
<h3>FHEM Howto</h3> <h3>FHEM Howto</h3>
</div> </div>
@ -114,8 +114,10 @@
Just wait for a while, watch the log and re-check your browser for newly Just wait for a while, watch the log and re-check your browser for newly
appeared devices. You can use <a href="commandref.html#rename"> appeared devices. You can use <a href="commandref.html#rename">
rename</a> to rename the automatically created device, e.g. type in the rename</a> to rename the automatically created device, e.g. type in the
input field of the web frontend:<pre> input field of the web frontend:
<ul><code>
rename FHT_1234 fht.kitchen</pre> rename FHT_1234 fht.kitchen</pre>
</code></ul>
<b>Note</b>: if you rename the device itself, the attached FileLog <b>Note</b>: if you rename the device itself, the attached FileLog
and weblink will be renamed automatically. The other way round (renaming and weblink will be renamed automatically. The other way round (renaming
@ -125,14 +127,20 @@
If you want to do the same manually:<br> If you want to do the same manually:<br>
Wait a while, until the transmitter sent some data. In the logfile Wait a while, until the transmitter sent some data. In the logfile
(Browser window: "Unsorted -> Logs / Fhemlog / text) a line (Browser window: "Unsorted -> Logs / Fhemlog / text) a line
will appear:<pre> will appear:
FS20 Unknown device &lt;HOUSECODE&gt;, Button &lt;BTN&gt; Code &lt;CDE&gt;, please define it</pre> <ul><code>
FS20 Unknown device &lt;HOUSECODE&gt;, Button &lt;BTN&gt; Code &lt;CDE&gt;, please define it
</code></ul>
Now define the fhem device:<pre> Now define the fhem device:
define piri1 FS20 &lt;HOUSECODE&gt; &lt;BTN&gt;</pre> <ul><code>
define piri1 FS20 &lt;HOUSECODE&gt; &lt;BTN&gt;
</code></ul>
Set the model attribute of the device:<pre> Set the model attribute of the device:
attr piri1 model fs20piri</pre> <ul><code>
attr piri1 model fs20piri
</code></ul>
to get only the commands available for this device. to get only the commands available for this device.
<a href="commandref.html#model">Here</a> is a complete list of FS20 <a href="commandref.html#model">Here</a> is a complete list of FS20

View File

@ -11,8 +11,8 @@
<body> <body>
<div id="left"> <div id="logo"></div>
<img src="fhem.png"> <div id="menu">
<h3>USB compendium</h3> <h3>USB compendium</h3>
</div> </div>

View File

@ -12,8 +12,8 @@
<body> <body>
<div id="left"> <div id="logo"></div>
<img src="fhem.png" alt="fhem-logo"/> <div id="menu">
<h3>fhem.pl reference</h3> <h3>fhem.pl reference</h3>
</div> </div>
@ -496,14 +496,13 @@ A line ending with \ will be concatenated with the next one, so long lines
Output a short space seperated status for &lt;devspec&gt;. It is useful for Output a short space seperated status for &lt;devspec&gt;. It is useful for
monitoring the device in e.g. Cacti.<br> monitoring the device in e.g. Cacti.<br>
Examples: Examples:
<ul> <ul><code>
<pre><code> getstate lamp getstate lamp<br>
state:1 state:1<br>
<br>
getstate fl getstate fl<br>
ack:0 actuator:2 day-temp:21.5 desired-temp:22.5 [...] measured-temp:22.9 [...] ack:0 actuator:2 day-temp:21.5 desired-temp:22.5 [...] measured-temp:22.9 [...]
</code></pre> <code></ul>
</ul>
Note: to use this command copy the file contrib/getstate/99_getstate.pm into Note: to use this command copy the file contrib/getstate/99_getstate.pm into
your FHEM directory. your FHEM directory.
<br> <br>
@ -2438,8 +2437,6 @@ A line ending with \ will be concatenated with the next one, so long lines
<h3>CUL_IR</h3> <h3>CUL_IR</h3>
<ul> <ul>
<table>
<tr><td>
The CUL_IR module interprets Infrared messages received by the CUN/CUNO/CUNOv2/TuxRadio. The CUL_IR module interprets Infrared messages received by the CUN/CUNO/CUNOv2/TuxRadio.
Those devices can receive Infrared Signals from basically any Remote controller and will transform Those devices can receive Infrared Signals from basically any Remote controller and will transform
that information in a so called Button-Code <br><br> that information in a so called Button-Code <br><br>

View File

@ -11,8 +11,8 @@
<body> <body>
<div id="left"> <div id="logo"></div>
<img src="fhem.png"> <div id="menu">
<h3>FHEM FAQ</h3> <h3>FHEM FAQ</h3>
</div> </div>

View File

@ -11,10 +11,8 @@
<body> <body>
<div id="left"> <div id="logo"></div>
<img src="fhem.png"> <div id="menu">
<br>
<br>
<div id="block"> <div id="block">
<b>Content:</b> <b>Content:</b>
<div id="dist"></div> <div id="dist"></div>

View File

@ -11,8 +11,8 @@
<body> <body>
<div id="left"> <div id="logo"></div>
<img src="fhem.png"> <div id="menu">
<h3>Fhem on the Fritz!Box</h3> <h3>Fhem on the Fritz!Box</h3>
</div> </div>

View File

@ -9,8 +9,8 @@
</head> </head>
<body> <body>
<div id="left">
<img src="fhem.png"> <img src="fhem.png">
<div id="menu">
<h3>fhem.pl - Hints for GNU/Linux</h3> <h3>fhem.pl - Hints for GNU/Linux</h3>
</div> </div>

View File

@ -1,9 +1,13 @@
body { background-color: #FFFFE7;} body { background-color: #FFFFE7;}
a { color: #278727; } a { color: #278727; }
#left { position:fixed; top:20px; left:20px; width:140px; } #logo { position:fixed; top:20px; left:20px;
#right { position:absolute; top:20px; left:180px; bottom:20px; right:10px; } width:100px; height:105px; background-image:url(fhem.png); }
#menu { position:fixed; top:140px;left:20px; width:140px; }
#right { position:fixed; top:20px; left:170px; bottom:20px; right:10px;
overflow: auto; }
h2,h3,h4 { color:#52865D; line-height:1.3; h2,h3,h4 { color:#52865D; line-height:1.3;
margin-top:1.5em; font-family:Arial,Sans-serif; } margin-top:1.5em; font-family:Arial,Sans-serif; }
div#block { border:1px solid gray; background: #F8F8E0; padding:0.7em; } div#block { border:1px solid gray; background: #F8F8E0; padding:0.7em; }
div#dist { padding-top:0.3em; } div#dist { padding-top:0.3em; }