WiP Started kivi original ad view.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--file" id="status"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
/*
|
||||
var c = "";
|
||||
var filename = "";
|
||||
|
||||
@@ -67,4 +67,6 @@ var c = "";
|
||||
)
|
||||
.then(response => $("#status").html('File uploaded successfully: ' + filename));
|
||||
}
|
||||
|
||||
*/
|
||||
</script>
|
||||
@@ -1,5 +1,5 @@
|
||||
<br>
|
||||
<form id="publishForm" method="POST" novalidate enctype="multipart/form-data">
|
||||
<form id="publishForm" method="POST" novalidate >
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<ul class="tabs">
|
||||
@@ -198,6 +198,9 @@
|
||||
} */
|
||||
|
||||
if (!hasErrors) {
|
||||
//
|
||||
alert("Pokusavam submit formu!");
|
||||
|
||||
$("#publishForm").submit();
|
||||
};
|
||||
|
||||
|
||||
33
app/views/viewRealEstate.ejs
Normal file
33
app/views/viewRealEstate.ejs
Normal file
@@ -0,0 +1,33 @@
|
||||
<br>
|
||||
<div class="row">
|
||||
<% for (const field of booleanFields){ %>
|
||||
<p>
|
||||
<span><%= field.title %></span>
|
||||
|
||||
</p>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<div class="row">
|
||||
<% for (const field of inputFields){ %>
|
||||
<p>
|
||||
<span><%= field.title %></span>
|
||||
<span><%= allInputValues[field.dbField] %></span>
|
||||
</p>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<div class="row">
|
||||
<% for (const field of segmentFields){ %>
|
||||
<p>
|
||||
<span><%= field.title %></span>
|
||||
<% for (const segmentObject of field.values) { %>
|
||||
<% if (allSegmentSelectedValues[field.dbField] === segmentObject.id) { %>
|
||||
<span><%= segmentObject.title %></span>
|
||||
<% } %>>
|
||||
<% } %>
|
||||
</p>
|
||||
<% } %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user