Skip to content

Commit

Permalink
1.190
Browse files Browse the repository at this point in the history
  • Loading branch information
konnibe committed Sep 23, 2012
1 parent 6fed5d9 commit d37ec8b
Show file tree
Hide file tree
Showing 26 changed files with 3,849 additions and 634 deletions.
2 changes: 2 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Clone the git repository to <OPENCPN_SOURCE_TLD>/plugins/LogbookKonni_pi (the _p
---------------------------------------------------------------------------

cd <OPENCPN_SOURCE_TLD>/plugins
<OPENCPN_SOURCE_TLD> = where you stored the opencpn-source files e.g. ~/home/username/path_to_opencpn-source

open a terminal here and copy/paste this command:

git clone git://github.com/konnibe/LogbookKonni-1.2.git LogbookKonni_pi
Expand Down
8 changes: 4 additions & 4 deletions data/HTMLLayouts/logbook/Label_Remarks_append_Clouds.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,20 +162,20 @@ <h3 align="center">#ROUTE#<br>
<td class="style21"><div align="center">#FUELT#</div></td>
</tr>
<tr>
<td class="style21" bgcolor="#cccccc"><div align="center">#LGENE#</div></td>
<td bgcolor="#cccccc" class="style21"><div align="center"><span class="style21">#LGENET#</span> </div></td>
<td class="style21" bgcolor="#cccccc"><div align="center">#LWATERM#</div></td>
<td bgcolor="#cccccc" class="style21"><div align="center"><span class="style21">#LWATERMT#</span> </div></td>
<td bgcolor="#cccccc" class="style21"><div align="center">#LWATER# </div></td>
<td bgcolor="#cccccc" class="style21"><div align="center">#LWATERT# </div></td>
<td bgcolor="#cccccc" class="style21">&nbsp;</td>
<td bgcolor="#cccccc" class="style21">&nbsp;</td>
</tr>
<tr>
<td class="style21" height="21"><div align="center"><span class="style21">#GENE#</span></div></td>
<td class="style21"><div align="center"><span class="style21">#GENET#</span></div></td>
<td class="style21" height="21"><div align="center"><span class="style21">#WATERM#</span></div></td>
<td class="style21"><div align="center"><span class="style21">#WATERMT#</span></div></td>
<td class="style21"><div align="center">#WATER#</div></td>
<td class="style21"><div align="center">#WATERT#</div></td>
<td class="style21">&nbsp;</td>
<td class="style21">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#CCCCCC" class="style21"><div align="center">#LGENE#</div></td>
Expand Down
237 changes: 237 additions & 0 deletions data/HTMLLayouts/logbook/Label_Remarks_append_Clouds_background.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Logbook</title>



<style type="text/css">
<!--
#container {position:relative;
width:720px;
margin-left:auto;
margin-right:auto;
}
.style21 {font-size: 12px; }
.gap {
padding-top: 10px;
padding-bottom: 5px;
padding-left: 20px;
}
.hgap {
padding-top: 10px;
font-size: 12px;
}
body {
background-image: url(Images/linen-fine.jpg);
}
.style23 {
font-size: 36px;
font-weight: bold;
font-style: italic;
}
.style24 {
font-size: 24px;
font-style: italic;
}
.style25 {font-size: 9px}
-->
</style>
</head><body>
<div id="container">
<h1 align="center"><strong><em> </em></strong><img src="Images/Sailboat_clip_art_small.png" width="97" height="100"></h1>
<table border="0" align="center">
<tr>
<td><img src="Images/steuerrad.gif" width="68" height="60"></td>
<td align="center"><span class="style23">#LLOGBOOK#</span></td>
<td><img src="Images/steuerrad.gif" width="68" height="60"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td align="center"><span class="style25">Cartoon by <a href="http://all-freedownload.com">all-freedownload.com</a></span> </td>
<td>&nbsp;</td>
</tr>
</table>
<h1 align="center" class="style24">#TYPE# #BOATNAME#<br>
#HOMEPORT#</h1>
<!--Header -->
<h3 align="center">#ROUTE#<br>
</h3>
<!--Header end -->
<!--Repeat -->
<table cellpadding="0" cellspacing="0" id="outer">
<tbody>
<tr>
<td width="715" valign="top">
<table width="102%" border="1" cellpadding="0" cellspacing="0" id="inner" style="width: 100%;">
<tbody>
<tr>
<td width="153" rowspan="14" valign="top" class="hgap" text-align: center;"><table height="32%" border="0" cellpadding="0" cellspacing="0" id="left" style="text-align: left; width: 100%; height: 100%;">
<tbody>
<tr>
<td style="vertical-align: top;"><div align="center"><img src="Clouds/#PCLOUDS#.jpg" alt="" hspace="0" vspace="0" align="bottom" style="border: 0px solid ; width: 100px; height: 67px;"> </div></td>
</tr>
<tr>
<td style="vertical-align: top;"><div align="center">#DATE#<br>
#TIME#<br>
<br>
#POSITION#<br>
<br>
#WAKE#<br>
<br>
#LDTOTAL#:<br>
#DTOTAL# </div></td>
</tr>
</tbody>
</table></td>
<td width="95" bgcolor="#cccccc" class="style21">
<div align="center"><span class="style21">#LDISTANCE#</span></div> </td>
<td width="89" class="style21" style="background-color: rgb(204, 204, 204);">
<div align="center">#LCOG#</div> </td>
<td width="96" class="style21" style="background-color: rgb(204, 204, 204);">
<div align="center">#LCOW#</div> </td>
<td width="76" class="style21" style="background-color: rgb(204, 204, 204);">
<div align="center">#LSOG#</div> </td>
<td width="81" class="style21" style="background-color: rgb(204, 204, 204);">
<div align="center">#LSOW#</div> </td>
<td width="89" class="style21" style="background-color: rgb(204, 204, 204);">
<div align="center">#LDEPTH#</div> </td>
</tr>
<tr>
<td class="style21">
<div align="center"><span class="style21">#DISTANCE#</span></div> </td>
<td class="style21">
<div align="center"><span class="style21">#COG#</span></div> </td>
<td class="style21">
<div align="center"><span class="style21">#COW#</span></div> </td>
<td class="style21">
<div align="center"><span class="style21">#SOG#</span></div> </td>
<td class="style21">
<div align="center"><span class="style21">#SOW#</span></div> </td>
<td class="style21">
<div align="center"><span class="style21">#DEPTH#</span></div></td>
</tr>
<tr>
<td bgcolor="#cccccc" class="style21"><div align="center"><span class="style21">#LWIND#</span></div></td>
<td bgcolor="#cccccc" class="style21"><div align="center"><span class="style21">#LWSPD#</span></div></td>
<td bgcolor="#cccccc" class="style21"><div align="center"><span class="style21">#LCUR#</span></div></td>
<td bgcolor="#cccccc" class="style21"><div align="center"><span class="style21">#LCSPD#</span></div></td>
<td bgcolor="#cccccc" class="style21"><div align="center">#LWAVE#</div></td>
<td bgcolor="#cccccc" class="style21"><div align="center">#LSWELL#</div></td>
</tr>
<tr>
<td><div align="center"><span class="style21">#WIND#</span></div></td>
<td><div align="center"><span class="style21">#WSPD#</span></div></td>
<td><div align="center"><span class="style21">#CUR#</span></div></td>
<td><div align="center"><span class="style21">#CSPD#</span></div></td>
<td><div align="center"><span class="style21">#WAVE#</span></div></td>
<td><div align="center"><span class="style21">#SWELL#</span></div></td>
</tr>
<tr>
<td class="style21" bgcolor="#cccccc"><div align="center"><span class="style21">#LBARO#</span></div></td>
<td bgcolor="#CCCCCC" class="style21"><div align="center">#LHYDRO#</div></td>
<td bgcolor="#CCCCCC" class="style21"><div align="center">#LAIRTE#</div></td>
<td bgcolor="#CCCCCC" class="style21"><div align="center">#LWTE#</div></td>
<td bgcolor="#CCCCCC" class="style21">&nbsp;</td>
<td bgcolor="#CCCCCC" class="style21">&nbsp;</td>
</tr>
<tr>
<td class="style21"><div align="center"><span class="style21">#BARO#</span></div></td>
<td class="style21"><div align="center">#HYDRO#</div></td>
<td class="style21"><div align="center">#AIRTE#</div></td>
<td class="style21"><div align="center">#WTE#</div></td>
<td class="style21">&nbsp;</td>
<td class="style21">&nbsp;</td>
</tr>
<tr>
<td class="style21" bgcolor="#cccccc">
<div align="center">#LWEATHER#</div> </td>
<td bgcolor="#cccccc" class="style21">
<div align="center"><span class="style21">#LCLOUDS#</span></div> </td>
<td bgcolor="#cccccc" class="style21">
<div align="center"><span class="style21">#LVISIBILITY#</span></div> </td>
<td bgcolor="#cccccc" class="style21">&nbsp;</td>
<td bgcolor="#cccccc" class="style21">&nbsp;</td>
<td bgcolor="#cccccc" class="style21">&nbsp;</td>
</tr>
<tr>
<td class="style21">
<div align="center"><span class="style21">#WEATHER#</span></div> </td>
<td class="style21">
<div align="center"><span class="style21">#CLOUDS#</span></div> </td>
<td class="style21">
<div align="center"><span class="style21">#VISIBILITY#</span></div> </td>
<td class="style21">&nbsp;</td>
<td class="style21">&nbsp;</td>
<td class="style21">&nbsp;</td>
</tr>
<tr>
<td class="style21" bgcolor="#cccccc">
<div align="center">#LMOTOR#</div> </td>
<td bgcolor="#cccccc" class="style21">
<div align="center"><span class="style21">#LMOTORT#</span> </div> </td>
<td class="style21" bgcolor="#cccccc"><div align="center">#LMOTOR1#</div></td>
<td bgcolor="#cccccc" class="style21"><div align="center"><span class="style21">#LMOTOR1T#</span> </div></td>
<td bgcolor="#cccccc" class="style21"><div align="center"><span class="style21">#LFUEL#</span></div></td>
<td bgcolor="#cccccc" class="style21"><div align="center">#LFUELT# </div></td>
</tr>
<tr>
<td class="style21" height="21">
<div align="center"><span class="style21">#MOTOR#</span></div> </td>
<td class="style21">
<div align="center"><span class="style21">#MOTORT#</span></div> </td>
<td class="style21" height="21"><div align="center"><span class="style21">#MOTOR1#</span></div></td>
<td class="style21"><div align="center"><span class="style21">#MOTOR1T#</span></div></td>
<td class="style21"><div align="center"><span class="style21">#FUEL#</span></div></td>
<td class="style21"><div align="center">#FUELT#</div></td>
</tr>
<tr>
<td class="style21" bgcolor="#cccccc"><div align="center">#LWATERM#</div></td>
<td bgcolor="#cccccc" class="style21"><div align="center"><span class="style21">#LWATERMT#</span> </div></td>
<td bgcolor="#cccccc" class="style21"><div align="center">#LWATER# </div></td>
<td bgcolor="#cccccc" class="style21"><div align="center">#LWATERT# </div></td>
<td bgcolor="#cccccc" class="style21">&nbsp;</td>
<td bgcolor="#cccccc" class="style21">&nbsp;</td>
</tr>
<tr>
<td class="style21" height="21"><div align="center"><span class="style21">#WATERM#</span></div></td>
<td class="style21"><div align="center"><span class="style21">#WATERMT#</span></div></td>
<td class="style21"><div align="center">#WATER#</div></td>
<td class="style21"><div align="center">#WATERT#</div></td>
<td class="style21">&nbsp;</td>
<td class="style21">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#CCCCCC" class="style21"><div align="center">#LGENE#</div></td>
<td bgcolor="#CCCCCC" class="style21"><div align="center">#LGENET#</div></td>
<td bgcolor="#CCCCCC" class="style21"><div align="center">#LBANK1#</div></td>
<td bgcolor="#CCCCCC" class="style21"><div align="center">#LBANK1T#</div></td>
<td bgcolor="#CCCCCC" class="style21"><div align="center"><span class="style21">#LBANK2#</span></div></td>
<td bgcolor="#CCCCCC" class="style21"><div align="center">#LBANK2T# </div></td>
</tr>
<tr>
<td height="21" class="style21"><div align="center"><span class="style21">#GENE#</span></div></td>
<td class="style21"><div align="center"><span class="style21">#GENET#</span></div></td>
<td height="21" class="style21"><div align="center"><span class="style21">#BANK1#</span></div></td>
<td class="style21"><div align="center"><span class="style21">#BANK1T#</span></div></td>
<td class="style21"><div align="center"><span class="style21">#BANK2#</span></div></td>
<td class="style21"><div align="center">#BANK2T#</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<p class="style21">#LSAILS# : #SAILS# / #LREEF#: #REEF#<br>
#REMARKS#<br>
#MREMARKS#</p>
</td>
</tr>
</tbody>
</table>
<!--Repeat End -->
</div>

</body></html>
31 changes: 23 additions & 8 deletions data/Help.html
Original file line number Diff line number Diff line change
Expand Up @@ -915,18 +915,33 @@ <H3 align=center>
<TR>
<TD class=dashedCell vAlign=top><A name=navSign></A>
Column Sign </TD>
<TD class=dashedCell vAlign=top><P>The Sign is used in the tab 'Overview' (internal) und in the tab 'Maintenance'. 'S' is set automaticlly when the boat moves &gt;= 0.1 NM<BR>
You can use all characters except 'S' which is used internal.<BR><BR>
'S' (like at (S)ea) is set automaticlly when the boat moves &gt;= 0.1 NM from the last postion.<BR><BR>
My recommondations:</P>
<TD class=dashedCell vAlign=top><P>If you don't use the tab maintenance, don't care about this 'strange' sign-column.</P>
<P>The Sign is used in the tab 'Overview' (internal) und in the tab 'Maintenance'.<br>
'S' (like at (S)ea) is set automaticlly when the boat moves &gt;= 0.1 NM from the last postion.<BR>
You can use all characters except 'S' which is used internal.<br>
<BR>
My recommondations:</P>
<UL>
<LI>
A = Anchor
<LI>
M = Mooring
<LI>
H = Harbour </LI>
</UL></TD>
</UL>
<p>Example:<br>
You have a gas engine and at sea you determine that it needs new spare plugs.<br>
Make a reminder in maintenance to change them in the next harbour. <br>
<br>
Go to the maintenace-tab/service and add a new line. In the 'IF&quot;-column select in the choicebox 'Sign'.<br>
Enter in 'Warnvalue' a 'H' (without quotes) for harbour or another letter in your languge.<br>
In 'Service TODO' enter some text. <br>
Go to the logbook and enter in the last line now the the corresponding letter for harbour (in this example a H).<br>
The border of the logbook changes to red to indicate that you should look into maintenance.<br>
In maintenence/service the line with the 'H'-sign is highligted in red.<br>
You can now delete the line or select in the rightclick-menu ' Service done'.<br>
In this case the line is not deleted but the 'Active' is set to 'No', the priority is set to zero and the background of the row is set to neutral. </p>
</TD>
</TR>
<TR>
<TD class=dashedCell vAlign=top><A name=navWatch></A>
Expand Down Expand Up @@ -2043,9 +2058,9 @@ <H3>
<LI>
Chosse the entry 'Service done'<BR>
The framecolor changes to neutral, the row-color changes to green, priority is set to 5 und the startvalue from the last logbook-row is entered <BR>
Here you start a new interval
</LI>
</OL></TD>
Here you start a new interval </LI>
</OL>
<p>Another example for 'Sign' you find <a href="#navSign">here</a>. </p></TD>
</TR>
</TBODY>
</TABLE>
Expand Down
2 changes: 1 addition & 1 deletion logbookkonni_pi.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Section "Layouts" SEC03
SetOutPath "$APPDATA\opencpn\plugins\logbook\data"
File "C:\Users\Konni\Documents\Visual Studio 2010\Projects\OpenCPN-3.0.0-Source\plugins\LogbookKonni_pi\data\Help.html"
SetOutPath "$APPDATA\opencpn\plugins\logbook\data\Images"
File "C:\Users\Konni\Documents\Visual Studio 2010\Projects\OpenCPN-3.0.0-Source\plugins\LogbookKonni_pi\data\Images\*.png"
File "C:\Users\Konni\Documents\Visual Studio 2010\Projects\OpenCPN-3.0.0-Source\plugins\LogbookKonni_pi\data\Images\*.*"
SetOutPath "$APPDATA\opencpn\plugins\logbook\data\HTMLLayouts"
File /r "C:\Users\Konni\Documents\Visual Studio 2010\Projects\OpenCPN-3.0.0-Source\plugins\LogbookKonni_pi\data\HTMLLayouts\*.html"
SetOutPath "$APPDATA\opencpn\plugins\logbook\data\ODTLayouts"
Expand Down
Loading

0 comments on commit d37ec8b

Please sign in to comment.