Commit 6b906319 by Milena Djukic

dodaj funkcija

parent a75f7959
...@@ -4,12 +4,9 @@ ...@@ -4,12 +4,9 @@
<option name="autoReloadType" value="ALL" /> <option name="autoReloadType" value="ALL" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="6e82c7f1-3949-40e2-bc26-7eb50b36f993" name="Default Changelist" comment="DODATA FUNKCIONALNOST ZA CITANJE IZ BAZEe"> <list default="true" id="6e82c7f1-3949-40e2-bc26-7eb50b36f993" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/app/usluga/web/MainKontroler.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/app/usluga/web/MainKontroler.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/main/resources/templates/dodaj.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/templates/dodaj.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/app/usluga/web/OglasController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/app/usluga/web/OglasController.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/resources/templates/oglasi.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/templates/oglasi.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/resources/templates/property.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/templates/property.html" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
...@@ -47,7 +44,7 @@ ...@@ -47,7 +44,7 @@
<map> <map>
<entry key="com.haulmont.jpb.jpaInspector" value="true" /> <entry key="com.haulmont.jpb.jpaInspector" value="true" />
<entry key="com.haulmont.jpb.jpaPalette" value="true" /> <entry key="com.haulmont.jpb.jpaPalette" value="true" />
<entry key="com.haulmont.jpb.jpaStructure" value="false" /> <entry key="com.haulmont.jpb.jpaStructure" value="true" />
</map> </map>
</option> </option>
</component> </component>
...@@ -193,7 +190,7 @@ ...@@ -193,7 +190,7 @@
<updated>1663427032475</updated> <updated>1663427032475</updated>
<workItem from="1663427050863" duration="1923000" /> <workItem from="1663427050863" duration="1923000" />
<workItem from="1663500169914" duration="6177000" /> <workItem from="1663500169914" duration="6177000" />
<workItem from="1663512751550" duration="10597000" /> <workItem from="1663512751550" duration="4807000" />
</task> </task>
<task id="LOCAL-00001" summary="dodata ulogovana verzija"> <task id="LOCAL-00001" summary="dodata ulogovana verzija">
<created>1663501497955</created> <created>1663501497955</created>
...@@ -202,14 +199,7 @@ ...@@ -202,14 +199,7 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1663501497955</updated> <updated>1663501497955</updated>
</task> </task>
<task id="LOCAL-00002" summary="DODATA FUNKCIONALNOST ZA CITANJE IZ BAZEe"> <option name="localTasksCounter" value="2" />
<created>1663517623868</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1663517623868</updated>
</task>
<option name="localTasksCounter" value="3" />
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
...@@ -270,8 +260,7 @@ ...@@ -270,8 +260,7 @@
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" /> <option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
<MESSAGE value="dodata ulogovana verzija" /> <MESSAGE value="dodata ulogovana verzija" />
<MESSAGE value="DODATA FUNKCIONALNOST ZA CITANJE IZ BAZEe" /> <option name="LAST_COMMIT_MESSAGE" value="dodata ulogovana verzija" />
<option name="LAST_COMMIT_MESSAGE" value="DODATA FUNKCIONALNOST ZA CITANJE IZ BAZEe" />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/main/java/app/model/Korisnik.java"> <entry file="file://$PROJECT_DIR$/src/main/java/app/model/Korisnik.java">
......
...@@ -2,9 +2,50 @@ ...@@ -2,9 +2,50 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Title</title> <title>Dodavanje oglasa</title>
</head> </head>
<body> <body>
OVDE DODAJEMO
<table>
<tr>
<td><label for="naziv">Naziv objekta:</label></td>
<td><input type="text" name="naziv" id="naziv" ></td>
</tr>
<tr>
<td><label for="lokacija">Lokacija:</label></td>
<td><input type="text" name="lokacija" id="lokacija"></td>
</tr>
<tr>
<td><label for="cena">Cena:</label></td>
<td><input type="number" name="cena" id="cena"></td>
</tr>
<tr>
<td><label for="kvadratura">Kvadratura:</label></td>
<td><input type="number" name="kvadratura" id="kvadratura"></td>
</tr>
<tr>
<td><label for="slika">Dodaj sliku::</label></td>
<td><input type="image" name="slika" id="slika"></td>
</tr>
<tr>
<td><label for="tip">Tip:</label></td>
<td> <input type="radio" id="tip" name="tip" value="izdavanje">Izdavanje
<input type="radio" name="tip" value="prodaja">Prodaja
</tr>
<tr>
<td><label for="vlasnik">Vlasnik:</label></td>
<td><input type="number" name="vlasnik" id="vlasnik" ></td>
</tr>
<tr>
<td><input type="submit" class="submit" value="Dodaj oglas"></td>
</tr>
</table>
</form>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment