From b28028ac4082842143b0f528d6bc539da6ccb419 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 21 Sep 2017 12:49:18 -0400 Subject: mega changes, including updates and X --- www/templates/devoptions.html | 184 ++++++++++++++++++ www/templates/events-date-time-filter.html | 27 +++ www/templates/events-graphs.html | 65 +++++++ www/templates/events-modal.html | 119 ++++++++++++ www/templates/events-modalgraph.html | 9 + www/templates/events-popover.html | 15 ++ www/templates/events.html | 299 +++++++++++++++++++++++++++++ www/templates/eventserversettings.html | 57 ++++++ www/templates/first-use.html | 38 ++++ www/templates/help.html | 12 ++ www/templates/help/montage-help.html | 16 ++ www/templates/important_message.html | 34 ++++ www/templates/invalidapi.html | 30 +++ www/templates/log.html | 38 ++++ www/templates/login.html | 86 +++++++++ www/templates/lowversion.html | 25 +++ www/templates/monitors-modal.html | 160 +++++++++++++++ www/templates/monitors.html | 62 ++++++ www/templates/montage-history.html | 139 ++++++++++++++ www/templates/montage.html | 174 +++++++++++++++++ www/templates/news.html | 24 +++ www/templates/reorder-modal.html | 27 +++ www/templates/state.html | 70 +++++++ www/templates/timeline-modal.html | 41 ++++ www/templates/timeline-popover.html | 18 ++ www/templates/timeline.html | 56 ++++++ www/templates/wizard.html | 85 ++++++++ www/templates/zm-portal-login.html | 26 +++ 28 files changed, 1936 insertions(+) create mode 100644 www/templates/devoptions.html create mode 100644 www/templates/events-date-time-filter.html create mode 100644 www/templates/events-graphs.html create mode 100644 www/templates/events-modal.html create mode 100644 www/templates/events-modalgraph.html create mode 100644 www/templates/events-popover.html create mode 100644 www/templates/events.html create mode 100644 www/templates/eventserversettings.html create mode 100644 www/templates/first-use.html create mode 100644 www/templates/help.html create mode 100644 www/templates/help/montage-help.html create mode 100644 www/templates/important_message.html create mode 100644 www/templates/invalidapi.html create mode 100644 www/templates/log.html create mode 100644 www/templates/login.html create mode 100644 www/templates/lowversion.html create mode 100644 www/templates/monitors-modal.html create mode 100644 www/templates/monitors.html create mode 100644 www/templates/montage-history.html create mode 100644 www/templates/montage.html create mode 100644 www/templates/news.html create mode 100644 www/templates/reorder-modal.html create mode 100644 www/templates/state.html create mode 100644 www/templates/timeline-modal.html create mode 100644 www/templates/timeline-popover.html create mode 100644 www/templates/timeline.html create mode 100644 www/templates/wizard.html create mode 100644 www/templates/zm-portal-login.html (limited to 'www/templates') diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html new file mode 100644 index 00000000..db1f8887 --- /dev/null +++ b/www/templates/devoptions.html @@ -0,0 +1,184 @@ + + + + + + + + + +
+ + {{'kDeveloperOptionsFor'|translate}} {{loginData.serverName}} + +
+ {{'kFrameUpdate'|translate}} ({{'kSec'|translate}}.)  + +
+ + +
+ +
+ +
+ {{'kMaxMonitorsMontage' | translate }}  + +
+ +
+ {{'kMontageImageScale' | translate}}(%)  + +
+
+ {{'kEventSingleImageScale' | translate}}(%)  + +
+
+ {{'kMonitorSingleImageScale' | translate}}(%)  + +
+ +
+ {{'kEventMontageImageScale'|translate}}(%)  + +
+
+ {{'kMaxItemsForTimeline' | translate}}  + +
+
+
+ {{'kMinAlarmCount' | translate}}  + +
+
+
+ +
+ + + + + + + + + + + +
+ {{'kCycleMonitorsInterval'|translate}}({{'kSec'|translate}}.)  + +
+ +
+ {{'kCycleMontageInterval'|translate}}({{'kSec'|translate}}.)  + +
+ + + + + + + + +
+
+
diff --git a/www/templates/events-date-time-filter.html b/www/templates/events-date-time-filter.html new file mode 100644 index 00000000..33370ba8 --- /dev/null +++ b/www/templates/events-date-time-filter.html @@ -0,0 +1,27 @@ + + + + + + +
+
+ + +
+
+
diff --git a/www/templates/events-graphs.html b/www/templates/events-graphs.html new file mode 100644 index 00000000..0e14016f --- /dev/null +++ b/www/templates/events-graphs.html @@ -0,0 +1,65 @@ + + + + + + + + + +
+ + + + +
+ + +
+
+
+
+ + + + +
+
+ + +
+
+
+
+
+ + + + +
+
+ + +
+
+
+
+
+ + + + +
+
+ + +
+
+
+
+
+
+
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html new file mode 100644 index 00000000..68065e24 --- /dev/null +++ b/www/templates/events-modal.html @@ -0,0 +1,119 @@ +
+ + + + +
+ + +
+ +
+ +
+   {{'kPaused' | translate}}  +
+
+
+ +
+
+ + + + +
+ + + + + + + + + {{ videoTime(event.Event.StartTime, currentTime ); }} + + + + + + {{ timeLeft | date:'mm:ss':'+0000' }} + + + + + + + +
+
+ +
+
+ +
+
+
+ +
+
+
+ +
+
+
+ @{{currentRate}}x {{'kAt' | translate}}:{{currentProgress.progress}}s +
+
+ +
+
+ + +
{{mName}}  {{videoDynamicTime}} ({{humanizeTime}}) [{{d_eventId}}]
+ +
diff --git a/www/templates/events-modalgraph.html b/www/templates/events-modalgraph.html new file mode 100644 index 00000000..25b38543 --- /dev/null +++ b/www/templates/events-modalgraph.html @@ -0,0 +1,9 @@ +
+ + +
+ +
+
+
+
diff --git a/www/templates/events-popover.html b/www/templates/events-popover.html new file mode 100644 index 00000000..38dd1d2e --- /dev/null +++ b/www/templates/events-popover.html @@ -0,0 +1,15 @@ + + + + + diff --git a/www/templates/events.html b/www/templates/events.html new file mode 100644 index 00000000..01aef4a8 --- /dev/null +++ b/www/templates/events.html @@ -0,0 +1,299 @@ + + {{scrollPosition();}} + + + + + + +     + + +
+ + + +
+ + + + + +
+ + +      {{prettifyTime(event.Event.StartTime)}} {{tzAbbr}}    +    {{event.Event.humanizeTime}} () + +      {{prettifyDate(event.Event.StartTime)}} +  {{tzAbbr}}  +
+
+ +
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+ + {{event.Event.Length}}s + +
+ +
+
+ +  {{event.Event.MonitorName}} ({{event.Event.Id}})   + + + + + + + + + +
+ + {{event.Event.Frames}}   + {{event.Event.AlarmFrames}}   + {{event.Event.TotScore}} + + +
+
+ +
+
+   {{event.Event.Name}}
+   {{prettify(event.Event.StartTime)}} {{tzAbbr}}  +
+   {{event.Event.Notes}} + + +
+
+ +
+ + + + + + + + +
+
+ +
+
+
+
+
+

+ + + +

+ + + + + +
+ +
:{{alarm.frameid}},:{{alarm.score}}, : {{prettifyTimeSec(alarm.time)}}
+ + + +
+
+
+ + +
+
+
+
+
+
+
+
+ +
+
+

{{mycarousel.index+1}}/{{event.Event.Frames}} : {{FrameArray[mycarousel.index].Type}}

+
+
    +
  • + + +
    +
  • +
+
+
+ +
+
+
+
+
+ + + + + + + + {{ timeLeft | date:'mm:ss':'+0000' }} + + + + + + + + +
+
+ +
+ +
+ + + + + + {{'kUnflag' | translate}} + + {{'kFlag' | translate}} + + + + +









+ +
+
+
+ + + + + + +
+ + +
+ + + + +
+
+
+ +
+ + + + + +

+
+ + + + + +
+
+
+
+
diff --git a/www/templates/eventserversettings.html b/www/templates/eventserversettings.html new file mode 100644 index 00000000..622a0aee --- /dev/null +++ b/www/templates/eventserversettings.html @@ -0,0 +1,57 @@ + + {{'kEventServer' | translate}}/{{getTitle();}} + + + + + + + + +
+ {{'kEventServerConfig1' | translate }} +
+ {{'kUseEventServer' | translate}} + + {{'kOnTapNavigate' | translate}}: {{defScreen}} + + + {{'kOnlyUseWebSocket'| translate }} +
+

{{'kDisablePush' | translate }}

+
+ + {{'kVibrateOnPush'| translate }} + {{'kSoundOnPush'| translate }} + + +
+ +   {{monitor.Monitor.Name}} + + + + + {{'kReportEvents' | translate }} + + + + +
+ +  {{'kMinimumIntervals' | translate}} +
+
+
+
+
+
diff --git a/www/templates/first-use.html b/www/templates/first-use.html new file mode 100644 index 00000000..884fb0c9 --- /dev/null +++ b/www/templates/first-use.html @@ -0,0 +1,38 @@ + + +
+
+
+
+
+ +
+
+ +

Hi There!

+
+

{{'kThanksForUsing' | translate}} {{$root.appName}}.

+ {{'kNeedToKnow' | translate}} +

+
+ +
+
+
+ + +
+
+ +
+
+
+
+
+
diff --git a/www/templates/help.html b/www/templates/help.html new file mode 100644 index 00000000..c0f714cf --- /dev/null +++ b/www/templates/help.html @@ -0,0 +1,12 @@ + + + + + + +

{{$root.appName}} v{{zmAppVersion}}

+
+
+
+
+
diff --git a/www/templates/help/montage-help.html b/www/templates/help/montage-help.html new file mode 100644 index 00000000..ff51a755 --- /dev/null +++ b/www/templates/help/montage-help.html @@ -0,0 +1,16 @@ + + + + Montage Help + + +
+
+ +
+
+ There +
+
+
+
diff --git a/www/templates/important_message.html b/www/templates/important_message.html new file mode 100644 index 00000000..f0fd245e --- /dev/null +++ b/www/templates/important_message.html @@ -0,0 +1,34 @@ + + + + + +
+
+
+
+
+ +
+
+ +

{{'kImpMsg1' | translate}}

+
+

{{'kImpMsg2' | translate}}

+
+ {{'kImpMsg3' | translate}} v{{currentVersion}}.
v{{recommendedVersion}} {{'kImpMsg4' | translate}} +
+ {{'kImpMsg5' | translate}}: v{{currentVersion}}
+ {{'kImpMsg6' | translate}}:v{{recommendedVersion}}

+ + + + +
+
+
+
+
+
diff --git a/www/templates/invalidapi.html b/www/templates/invalidapi.html new file mode 100644 index 00000000..af3a6977 --- /dev/null +++ b/www/templates/invalidapi.html @@ -0,0 +1,30 @@ + + + + + +
+
+
+
+
+ +
+
+ +

{{'kInvalidAPIHeader' | translate}}

+
+

{{'kInvalidAPIBody' | translate}}

+ +

+ + + + +
+
+
+
+
+
diff --git a/www/templates/log.html b/www/templates/log.html new file mode 100644 index 00000000..c664901d --- /dev/null +++ b/www/templates/log.html @@ -0,0 +1,38 @@ + + + + + + + + +
+ +
+
+ +
+
+ + +
+ + + +
+ +
+ {{$root.appName}} {{'kVersion'|translate}}: {{zmAppVersion}} ({{$root.platformOS}}) +
+ +
+ ZoneMinder +
+ + +
+ +
{{log.logString}}
+
diff --git a/www/templates/login.html b/www/templates/login.html new file mode 100644 index 00000000..a6f409b2 --- /dev/null +++ b/www/templates/login.html @@ -0,0 +1,86 @@ + + + + + + + + + + +
+ {{'kServerName' | translate }}:  + +
+ + +
+ + + {{'kZMSettingsFor' | translate}} {{loginData.serverName || ('kUnknown' | translate)}} + +

{{'kDisableSamsung' | translate}}

+
+ {{'kUseZmAuth' | translate }} +
+ + +
+
+ + + + + + + {{'kFallback' | translate}} +

{{loginData.fallbackConfiguration}}

+
+ + + {{'kEventServer' | translate}} + +
+ +
+ +
+ +
+
+
+
diff --git a/www/templates/lowversion.html b/www/templates/lowversion.html new file mode 100644 index 00000000..d6b9cb7e --- /dev/null +++ b/www/templates/lowversion.html @@ -0,0 +1,25 @@ + + +
+
+
+
+
+ +
+
+ +

{{'kZMUpgradeNeeded' | translate}}

+
+

{{'kVersionIncompatible' | translate }}

+
+ {{'kReportedVersion' | translate}}: {{currentVersion}}
+ {{'kMinVersion' | translate}}:{{requiredVersion}}
+ + +
+
+
+
+
+
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html new file mode 100644 index 00000000..45b3a9d1 --- /dev/null +++ b/www/templates/monitors-modal.html @@ -0,0 +1,160 @@ +
+ + + +
+ + + +
+
+
+ + + +
+
+ +
+
+
+ +
+
+
+ + + + + +
+
+
+ + + +
+
+ +
+
+
+ +
+
+
+ + +
+ + + + + + + + + +
+ + + +
+
+
+
+ + +
+
+ +
+ +
+
+
+
+
+ + + - + x +
+
+ + {{controlToggle}} +
+
+
+ + +
+ +
+
{{monitorName}}  {{monStatus}} 
+
diff --git a/www/templates/monitors.html b/www/templates/monitors.html new file mode 100644 index 00000000..cd9e8e8e --- /dev/null +++ b/www/templates/monitors.html @@ -0,0 +1,62 @@ + + + + + + + + +
+ {{'kGlobalConfiguration' | translate}} +
+
+
+
+
+
+ + +
+   + +
+   + {{monitor.Monitor.Name}} +
+ + + + +
+
+
+ + + {{monitor.Monitor.Name}} + + +
+

{{'kMode' | translate}} :{{monitor.Monitor.Function}} +
{{'kResolution' | translate}}: {{monitor.Monitor.Width}}*{{monitor.Monitor.Height}} +
{{'kMaxFPS' | translate}}: {{monitor.Monitor.MaxFPS}} +
{{'kAlarmMaxFPS' | translate}}:{{monitor.Monitor.AlarmMaxFPS}} +
{{'kAlarmFrameCount' |translate}}: {{monitor.Monitor.AlarmFrameCount}} +
{{'kStatus' | translate}}: {{monitor.Monitor.isRunningText}} +
{{'kId' | translate}}: {{monitor.Monitor.Id}} +
{{'kEventRecording' | translate}}: {{(monitor.Monitor.VideoWriter>0?'kVideo':'kImages') | translate}} +
+
+

+ +
+
+ + {{'kNoMonitors' | translate}} + +
+
diff --git a/www/templates/montage-history.html b/www/templates/montage-history.html new file mode 100644 index 00000000..785a348d --- /dev/null +++ b/www/templates/montage-history.html @@ -0,0 +1,139 @@ + + + + + + + + + + + + + +
{{'kFrom' | translate}}:{{prettifyDateTimeFirst(datetimeValueFrom.value)}} ({{humanizeTime(datetimeValueFrom.value)}}) +
({{'kChromeMax' | translate}})
+
+
+
+ + +
+
+ +
+
+ +
+ +   + + + {{monitor.Monitor.Name}}  + + + +
+
+
+
+
+
+
+ +
+ +   + + +   + +   + + {{monitor.Monitor.Name}}  +
[{{monitor.Monitor.eid}}] + {{prettifyDateTimeFirst(monitor.Monitor.eventUrlTime)}} ({{humanizeTime(monitor.Monitor.eventUrlTime)}})  +
+
+
+ +
+
+ +
+
+ +
+
+
+
{{'kPleaseWait' | translate}}
+
+
+
+
+ + +
+
+ {{'kNoMonitors' | translate }} +
+
{{ 'kLowBWDisplay' | translate }}
+
+ + + + +
+ + + + + +

{{'kEventMontage' | translate}}

+
+ +
+
{{'kTimeline' | translate}} ({{getLocalTZ()}})
+
{{'kFrom'|translate}}:  +
+
+ +
+
+  {{'kEventHistHrs' | translate}} +
+
+
+ +
+ {{'kFrom' | translate }}: {{datetimeValueFrom.value | date: timeFormat}} +
({{humanizeTime(datetimeValueFrom.value)}}) +
+
+
+
+
+ +
+
+
+
{{'kSpeed' | translate }}
+
+ +
+
+
+
diff --git a/www/templates/montage.html b/www/templates/montage.html new file mode 100644 index 00000000..e591179f --- /dev/null +++ b/www/templates/montage.html @@ -0,0 +1,174 @@ + + {{currentProfileName}} + + + + + + + + + + {{timeNow}}  + + + + + + + +
+ +
+
+ +
+ +
+
    +
  • + +
  • + +
  • + +
  • + +
  • + +
  • + + +
+
+
+ + + +
+
+ +
+
+ + + + + + +
+ + + +
+ + +
+
+ + + + + + + +
+ +
+ +
+
+ + + + + + +
  + +    + {{monitor.Monitor.Name}}   + +
+ + + + + + +
+ +
+
+ +
+ + {{'kNoMonitors' | translate}} + +
+
+ {{ 'kLowBWDisplay' | translate }} +
+
+ + + + +
+
+
diff --git a/www/templates/news.html b/www/templates/news.html new file mode 100644 index 00000000..84e3c2b3 --- /dev/null +++ b/www/templates/news.html @@ -0,0 +1,24 @@ + + + + + + + +
+ + + + + {{post.title}} +

{{post.date}}

+ +
+ +
+
+ {{'kLoading' | translate}}... +
+
+
+
diff --git a/www/templates/reorder-modal.html b/www/templates/reorder-modal.html new file mode 100644 index 00000000..bc442128 --- /dev/null +++ b/www/templates/reorder-modal.html @@ -0,0 +1,27 @@ + + +

+
+ + +
+
+ + + +
diff --git a/www/templates/state.html b/www/templates/state.html new file mode 100644 index 00000000..33df994e --- /dev/null +++ b/www/templates/state.html @@ -0,0 +1,70 @@ + + + + + + + + + +
+
+ +
+
+ ZoneMinder: +
+
+ {{zmRun}} +

{{customState}}

+
+
+
+ +
+
+ +
+
+ ZoneMinder {{'kLoad' | translate}}: +
+
+ {{zmLoad}} +
+
+
+ + + + + +
+
+
diff --git a/www/templates/timeline-modal.html b/www/templates/timeline-modal.html new file mode 100644 index 00000000..afed79f5 --- /dev/null +++ b/www/templates/timeline-modal.html @@ -0,0 +1,41 @@ + + + +
+
+
{{mName}}  {{'kEvent' | translate}}:{{eid}} ({{humanizeTime}}) + +
+
+
{{'kEvent' | translate}} {{graphType}} {{'kFrames' | translate}}
+

{{'kTimelineMessage' | translate}}

+ {{errorDetails}} + +
+
+ +
+ +
+ + + + +
+
f:{{alarm.fid}} scr:{{alarm.score}} @ {{alarm.time}}
+ + + + + + +
+ +
+ +
+
+
+
diff --git a/www/templates/timeline-popover.html b/www/templates/timeline-popover.html new file mode 100644 index 00000000..beeb482d --- /dev/null +++ b/www/templates/timeline-popover.html @@ -0,0 +1,18 @@ + + + + + diff --git a/www/templates/timeline.html b/www/templates/timeline.html new file mode 100644 index 00000000..a64edceb --- /dev/null +++ b/www/templates/timeline.html @@ -0,0 +1,56 @@ + + + + +   + + + + + + + + + + + +
+ {{prettify(fromDate)}} - {{prettify(toDate)}}  {{tzAbbr}}  ({{'kTimelineOnlyDisplaying1' | translate:translationData}}) +
{{'kTimelineControlDisplay'|translate}}
+
+ +
+
+
+
+

{{'kWorkingOnGraph' | translate}}...

+
+
+
+
+
+
+
+
+ + +
+

{{newEvents}}

+
+
+
+
+
+
+ + + + +
+
diff --git a/www/templates/wizard.html b/www/templates/wizard.html new file mode 100644 index 00000000..60d1e1ef --- /dev/null +++ b/www/templates/wizard.html @@ -0,0 +1,85 @@ + + + + + + + + +

{{'kWelcomeWizard' | translate}}

+ +

{{'kWizConfigPain' | translate}}

+

{{'kWizPortalUrl' | translate}}

+ +

{{'kDisableSamsung' | translate}}

+ {{wizard.tiptext}} +
+ {{'kWizTip' | translate}}: {{'kWizPortalTip' | translate}} +
+ +
+
+ +
+ + +

{{'kWizPortalAuth' | translate}}

+ +

{{'kWizPortalText' | translate}}

+ {{'kWizUseAuth' | translate}} + {{'kWizZMAuth' | translate}} +
+ + +
+ {{'kWizBasicAuth' | translate}} + + + {{wizard.tiptext}} +
+ {{'kWizTip'| translate}} {{'kWizAuthText1' | translate}} +
{{'kWizAuthText2' | translate}} +
+
+ + +
+ +
+
+

{{'kWizResults' | translate}}

+  {{wizard.portalValidText}}
+  {{wizard.apiValidText}}
+  {{wizard.streamingValidText}}
+
+
+ {{'kWizNextStep1' | translate}}: +
    +
  • {{'kWizNextStep2' | translate}}
  • +
  • {{'kWizNextStep3' | translate}}
  • +
+
+
+
+ + +
+
+
+
diff --git a/www/templates/zm-portal-login.html b/www/templates/zm-portal-login.html new file mode 100644 index 00000000..877dbb97 --- /dev/null +++ b/www/templates/zm-portal-login.html @@ -0,0 +1,26 @@ + + +
+
+
+
+
+ +
+
+ {{'kEnterPin' | translate}} +
+ +
+
{{pindata.status}} +
+ +
+
{{'kPortalNotice' | translate}} +
+
{{'kPortalNoticeSub' | translate}}
+
+
+
+
-- cgit v1.2.3