Frontend form and marionette modifications to allow static hosts and locations

This commit is contained in:
Nikolaj Frey authored and Jamie Curnow committed 2021-02-08 12:49:49 +10:00
1 parent 8de118d875
commit 5a3d32db7b
8 files changed
+107 -26

No files matched your search

+7 -1
View File
@@ -23,7 +23,13 @@
</div>
</td>
<td>
<div class="text-monospace"><%- forward_scheme %>://<%- forward_host %>:<%- forward_port %></div>
<!-- <div> <%- static %> </div> -->
<% if (!static) { %>
<div class="text-monospace"><%- forward_scheme %>://<%- forward_host %>:<%- forward_port %></div>
<% } else { %>
<div class="text-monospace"><%- root_dir %></div>
<div class="text-monospace"><%- index_file %></div>
<% } %>
</td>
<td>
<div><%- certificate && certificate_id ? i18n('ssl', certificate.provider) : i18n('ssl', 'none') %></div>