Skip to content

Commit

Permalink
remove all the whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Aug 3, 2024
1 parent 8e3cd73 commit e1bafa1
Show file tree
Hide file tree
Showing 46 changed files with 5,121 additions and 5,089 deletions.
32 changes: 16 additions & 16 deletions pkg/bindata/templates/clientinfo.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<h1>
{{- if .ClientInfo.IsSub}}
<font color="green"><i class="fas fa-{{if .ClientInfo.User.DevAllowed}}user-secret{{else}}user-tie{{end}}" style="float:left;font-size:40px"></i></font>
{{- else if .ClientInfo.IsPatron}}
<font color="purple"><i class="fas fa-{{if .ClientInfo.User.DevAllowed}}user-secret{{else}}user-ninja{{end}}" style="float:left;font-size:40px"></i></font>
{{- else}}
<i class="fas fa-user-alt" style="float:left;font-size:40px"> </i>
{{- end}}
&nbsp;Client Info
</h1>
<h3>
<a class="nav-link" onClick="swapNavigationTemplate('system')" href="#system">
<i class="fas fa-angle-double-left"></i> Go Back</a>
</h3>
<div id="process-list-content" class="well well-sm file-content scroll-bar-sm bk-brown brdr">
<h1>
{{- if .ClientInfo.IsSub}}
<font color="green"><i class="fas fa-{{if .ClientInfo.User.DevAllowed}}user-secret{{else}}user-tie{{end}}" style="float:left;font-size:40px"></i></font>
{{- else if .ClientInfo.IsPatron}}
<font color="purple"><i class="fas fa-{{if .ClientInfo.User.DevAllowed}}user-secret{{else}}user-ninja{{end}}" style="float:left;font-size:40px"></i></font>
{{- else}}
<i class="fas fa-user-alt" style="float:left;font-size:40px"> </i>
{{- end}}
&nbsp;Client Info
</h1>
<h3>
<a class="nav-link" onClick="swapNavigationTemplate('system')" href="#system">
<i class="fas fa-angle-double-left"></i> Go Back</a>
</h3>
<div id="process-list-content" class="well well-sm file-content scroll-bar-sm bk-brown brdr">
{{ tojson .ClientInfo }}
</div>
</div>
{{- /* end of clientinfo (leave this comment) */ -}}
525 changes: 264 additions & 261 deletions pkg/bindata/templates/commands.html

Large diffs are not rendered by default.

342 changes: 171 additions & 171 deletions pkg/bindata/templates/downloaders/deluge.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions pkg/bindata/templates/downloaders/index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<h1><i class="fas fa-cart-arrow-down"></i> Download Apps</h1>
<p>Adding and enabling these downloader applications makes them show up in the <b>Dashboard Integration</b> on Notifiarr.com.</p>
<p>
<h3><i class="fas fa-comment text-orange"></i> Notes</h3>
<li><i class="fas fa-star text-dgrey"></i> Completely disable an instance by setting the <b>Timeout</b> to <b>Disabled</b>.</li>
<li><i class="fas fa-star text-dgrey"></i> Disable service checks by settings <b>Interval</b> to <b>Disabled</b>.</li>
</p>
<div class="table-responsive">
<table class="table bk-dark table-bordered">
<h1><i class="fas fa-cart-arrow-down"></i> Download Apps</h1>
<p>Adding and enabling these downloader applications makes them show up in the <b>Dashboard Integration</b> on Notifiarr.com.</p>
<p>
<h3><i class="fas fa-comment text-orange"></i> Notes</h3>
<li><i class="fas fa-star text-dgrey"></i> Completely disable an instance by setting the <b>Timeout</b> to <b>Disabled</b>.</li>
<li><i class="fas fa-star text-dgrey"></i> Disable service checks by settings <b>Interval</b> to <b>Disabled</b>.</li>
</p>
<div class="table-responsive">
<table class="table bk-dark table-bordered">
{{ template "downloaders/qbit.html" .}}
{{ template "downloaders/rtorrent.html" .}}
{{ template "downloaders/transmission.html" .}}
{{ template "downloaders/deluge.html" .}}
{{ template "downloaders/sabnzbd.html" .}}
{{ template "downloaders/nzbget.html" .}}
</table>
</div>
</table>
</div>
{{- /* end of download clients (leave this comment) */ -}}
380 changes: 190 additions & 190 deletions pkg/bindata/templates/downloaders/nzbget.html

Large diffs are not rendered by default.

380 changes: 190 additions & 190 deletions pkg/bindata/templates/downloaders/qbit.html

Large diffs are not rendered by default.

380 changes: 190 additions & 190 deletions pkg/bindata/templates/downloaders/rtorrent.html

Large diffs are not rendered by default.

342 changes: 171 additions & 171 deletions pkg/bindata/templates/downloaders/sabnzbd.html

Large diffs are not rendered by default.

492 changes: 249 additions & 243 deletions pkg/bindata/templates/filewatcher.html

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions pkg/bindata/templates/includes/filetablelist.html
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{{- /* This is imported by configfiles and logfiles. */}}
{{- range $file := . }}
<table class="table table-bordered fileinfo-table" style="display:none;table-layout:fixed;" id="fileinfo-{{$file.ID}}" data-url="{{base}}ws" data-name="{{$file.Name}}" data-id="{{$file.ID}}" data-used="{{$file.Used}}" data-filename="{{$file.Path}}">
<tr>
<th style="width:15%;">Path</th>
<td style="word-wrap:break-word;">{{$file.Path}}</td>
</tr>
{{- if and $file.Mode (ne $file.Mode.String "")}}
<tr>
<th>Mode</th>
<td>{{$file.Mode}}</td>
</tr>
<tr>
<th>Owner</th>
<td>{{$file.User}}</td>
</tr>
{{- end}}
<tr>
<th>Size</th>
<td title="{{$file.Size}} Bytes"><span>{{megabyte $file.Size}}</span></td>
</tr>
<tr>
<th>Date</th>
<td title="Last Write: {{since $file.Time}}"><span>{{dateFmt $file.Time}}</span></td>
</tr>
<tr>
<th>Used</th>
<td title="True indicates the file is being actively used (possibly written to).">
<i class="help-icon far fa-question-circle">
{{$file.Used}}
</i>
</td>
</tr>
</table>
{{- end -}}
{{- range $file := . }}
<table class="table table-bordered fileinfo-table" style="display:none;table-layout:fixed;" id="fileinfo-{{$file.ID}}" data-url="{{base}}ws" data-name="{{$file.Name}}" data-id="{{$file.ID}}" data-used="{{$file.Used}}" data-filename="{{$file.Path}}">
<tr>
<th style="width:15%;">Path</th>
<td style="word-wrap:break-word;">{{$file.Path}}</td>
</tr>
{{- if and $file.Mode (ne $file.Mode.String "")}}
<tr>
<th>Mode</th>
<td>{{$file.Mode}}</td>
</tr>
<tr>
<th>Owner</th>
<td>{{$file.User}}</td>
</tr>
{{- end}}
<tr>
<th>Size</th>
<td title="{{$file.Size}} Bytes"><span>{{megabyte $file.Size}}</span></td>
</tr>
<tr>
<th>Date</th>
<td title="Last Write: {{since $file.Time}}"><span>{{dateFmt $file.Time}}</span></td>
</tr>
<tr>
<th>Used</th>
<td title="True indicates the file is being actively used (possibly written to).">
<i class="help-icon far fa-question-circle">
{{$file.Used}}
</i>
</td>
</tr>
</table>
{{- end -}}
{{- /* end of filetablelist (leave this comment) */ -}}
2 changes: 1 addition & 1 deletion pkg/bindata/templates/includes/intervaloptions.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{- range intervaloptions . }}
<option {{if .Sel}}selected {{end}}value="{{.Val}}">{{.Op}}</option>
<option {{if .Sel}}selected {{end}}value="{{.Val}}">{{.Op}}</option>
{{- end }}
12 changes: 6 additions & 6 deletions pkg/bindata/templates/includes/system-header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1>{{if eq .Version.os "windows"}}<i class="fab fa-windows"></i>
{{else if .Version.docker }}<i class="fab fa-docker"></i>
{{else if eq .Version.os "linux"}}<i class="fab fa-linux"></i>
{{else if eq .Version.os "freebsd"}}<i class="fab fa-freebsd"></i>
{{else if eq .Version.os "darwin"}}<i class="fab fa-apple"></i>
{{else}}<i class="fas fa-microchip"></i>{{end}} System</h1>
<h1>{{if eq .Version.os "windows"}}<i class="fab fa-windows"></i>
{{else if .Version.docker }}<i class="fab fa-docker"></i>
{{else if eq .Version.os "linux"}}<i class="fab fa-linux"></i>
{{else if eq .Version.os "freebsd"}}<i class="fab fa-freebsd"></i>
{{else if eq .Version.os "darwin"}}<i class="fab fa-apple"></i>
{{else}}<i class="fas fa-microchip"></i>{{end}} System</h1>
88 changes: 44 additions & 44 deletions pkg/bindata/templates/integrations/deluge.html
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
{{- range $idx, $app := .Config.Apps.Deluge }}
<div class="col-sm-6 col-md-4 col-lg-4 col-xl-3 col-xxl-3">
<div class="table-responsive">
<table class="table table-striped table-bordered">
<tr>
<td style="width:75px;">Deluge</td>
<td style="width:25px;min-width:25px;">
<img src="{{files}}/images/logo/deluge.png" style="width:25px">
</td>
<td>{{instance $idx}}, {{$app.Name}}</td>
</tr>
<tr><td colspan="2">URL</td><td><a href="{{$app.URL}}">{{$app.URL}}</a></td></tr>
{{- $dashboard := cache "dashboard" }}
{{- if and $dashboard $dashboard.Data $dashboard.Data.Deluge}}
{{ range $app := $dashboard.Data.Deluge }}
{{- if eq $app.Instance (instance $idx) }}
<tr>
<td colspan="2">
<a href="#integrations" onClick="dialog($(this), 'left')">Dashboard Age</a>
<span style="display:none;" class="dialogTitle">Deluge {{instance $idx}} Dashboard</span>
<div style="display:none;" class="dialogText">
<pre>{{tojson $app}}</pre>
</div>
</td>
<td>{{since $dashboard.Time}}</td>
</tr>
<tr><td colspan="2">Elapsed</td><td>{{$app.Elapsed}}</td></tr>
<tr><td colspan="2">Downloads</td><td>{{$app.Downloads}}</td></tr>
<tr><td colspan="2">Incomplete</td><td>{{$app.Incomplete}}</td></tr>
<tr><td colspan="2">Downloading</td><td>{{$app.Downloading}}</td></tr>
<tr><td colspan="2">Uploading</td><td>{{$app.Uploading}}</td></tr>
<tr><td colspan="2">Seeding</td><td>{{$app.Seeding}}</td></tr>
<tr><td colspan="2">Paused</td><td>{{$app.Paused}}</td></tr>
<tr><td colspan="2">Errors</td><td>{{$app.Errors}}</td></tr>
<tr><td colspan="2">Size</td><td>{{megabyte $app.Size}}</td></tr>
<tr><td colspan="2">Uploaded</td><td>{{megabyte $app.Uploaded}}</td></tr>
<tr><td colspan="2">Downloaded</td><td>{{megabyte $app.Downloaded}}</td></tr>
{{- end}}
{{- end }}
{{- end }}
</table>
</div>
</div>
{{- end }}
{{- range $idx, $app := .Config.Apps.Deluge }}
<div class="col-sm-6 col-md-4 col-lg-4 col-xl-3 col-xxl-3">
<div class="table-responsive">
<table class="table table-striped table-bordered">
<tr>
<td style="width:75px;">Deluge</td>
<td style="width:25px;min-width:25px;">
<img src="{{files}}/images/logo/deluge.png" style="width:25px">
</td>
<td>{{instance $idx}}, {{$app.Name}}</td>
</tr>
<tr><td colspan="2">URL</td><td><a href="{{$app.URL}}">{{$app.URL}}</a></td></tr>
{{- $dashboard := cache "dashboard" }}
{{- if and $dashboard $dashboard.Data $dashboard.Data.Deluge}}
{{ range $app := $dashboard.Data.Deluge }}
{{- if eq $app.Instance (instance $idx) }}
<tr>
<td colspan="2">
<a href="#integrations" onClick="dialog($(this), 'left')">Dashboard Age</a>
<span style="display:none;" class="dialogTitle">Deluge {{instance $idx}} Dashboard</span>
<div style="display:none;" class="dialogText">
<pre>{{tojson $app}}</pre>
</div>
</td>
<td>{{since $dashboard.Time}}</td>
</tr>
<tr><td colspan="2">Elapsed</td><td>{{$app.Elapsed}}</td></tr>
<tr><td colspan="2">Downloads</td><td>{{$app.Downloads}}</td></tr>
<tr><td colspan="2">Incomplete</td><td>{{$app.Incomplete}}</td></tr>
<tr><td colspan="2">Downloading</td><td>{{$app.Downloading}}</td></tr>
<tr><td colspan="2">Uploading</td><td>{{$app.Uploading}}</td></tr>
<tr><td colspan="2">Seeding</td><td>{{$app.Seeding}}</td></tr>
<tr><td colspan="2">Paused</td><td>{{$app.Paused}}</td></tr>
<tr><td colspan="2">Errors</td><td>{{$app.Errors}}</td></tr>
<tr><td colspan="2">Size</td><td>{{megabyte $app.Size}}</td></tr>
<tr><td colspan="2">Uploaded</td><td>{{megabyte $app.Uploaded}}</td></tr>
<tr><td colspan="2">Downloaded</td><td>{{megabyte $app.Downloaded}}</td></tr>
{{- end}}
{{- end }}
{{- end }}
</table>
</div>
</div>
{{- end }}
{{- /* end of app integration (leave this comment) */ -}}
14 changes: 7 additions & 7 deletions pkg/bindata/templates/integrations/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<h1><i class="fas fa-bezier-curve"></i> Integration Insights</h1>
<p>
This page displays data from integrated applications.
&nbsp;<a href="#integrations" class="fas fa-sync" onClick="refreshPage('integrations');"> Refresh</a>
</p>
<h1><i class="fas fa-bezier-curve"></i> Integration Insights</h1>
<p>
This page displays data from integrated applications.
&nbsp;<a href="#integrations" class="fas fa-sync" onClick="refreshPage('integrations');"> Refresh</a>
</p>
{{- if .Config.Apps.Plex.Enabled }}
{{ template "integrations/plex.html" .}}
{{- end }}
<div class="row g-2">
<div class="row g-2">
{{- if .Config.Apps.Tautulli.Enabled }}
{{ template "integrations/tautulli.html" .}}
{{- end }}
Expand All @@ -20,5 +20,5 @@ <h1><i class="fas fa-bezier-curve"></i> Integration Insights</h1>
{{ template "integrations/qbit.html" .}}
{{ template "integrations/rtorrent.html" .}}
{{ template "integrations/sabnzb.html" .}}
</div>
</div>
{{- /* end of integrations (leave this comment) */ -}}
Loading

0 comments on commit e1bafa1

Please sign in to comment.