My progress in HTML export.
Gehad Elrobey
gehadelrobey at gmail.com
Wed Jun 11 12:51:35 PDT 2014
On Wed, Jun 11, 2014 at 9:41 PM, Miika Turkia <miika.turkia at gmail.com>
wrote:
> On Tue, Jun 10, 2014 at 7:07 PM, Gehad <gehadelrobey at gmail.com> wrote:
>
>> I attached my progress in the HTML exporter,
>> My work was basically adding a detailed dive view that shows more dive
>> info,and added a simple dive profile and dive equipments list to the
>> detailed view.
>>
>
> Seems that this is not working on my Firefox (30.0). I get an error:
> ---8<---
> ReferenceError: SearchModule is not defined aaa.html:59
>
is the Javascript file exported correctly into aaa_files ?
> ---8<---
>
> You also have some whitespace issues that should be fixed as well (spaces
> are missing around the plus sign and an extra tab for return):
> ---8<---
> --- qt-ui/divelogexportdialog.cpp.old 2014-06-11 22:26:11.616606243
> +0300
> +++ qt-ui/divelogexportdialog.cpp 2014-06-11 22:38:47.843604103 +0300
> @@ -71,8 +71,8 @@
> QFile file(filename);
> QFileInfo info(file);
> QDir mainDir = info.absoluteDir();
> - mainDir.mkdir(file.fileName()+"_files");
> - QString exportFiles = file.fileName()+"_files";
> + mainDir.mkdir(file.fileName() + "_files");
> + QString exportFiles = file.fileName() + "_files";
>
> QString json_dive_data = exportFiles + QDir::separator() +
> "file.json";
> QString json_settings = exportFiles + QDir::separator() +
> "settings.json";
> exportHTMLsettings(json_settings);
> @@ -80,7 +80,7 @@
>
> QString searchPath = getSubsurfaceDataPath("theme");
> if (searchPath.isEmpty())
> - return;
> + return;
>
> QFile *tmpFile;
> ---8<---
>
> miika
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140611/ad59958a/attachment-0001.html>
More information about the subsurface
mailing list