Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
awesomelands
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vuk Lazovic
awesomelands
Commits
e773eee7
Commit
e773eee7
authored
Sep 19, 2022
by
Vuk Lazovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SADA RADI JOS BOLJE
parent
a55534d8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
17 deletions
+24
-17
.idea/workspace.xml
+17
-10
src/main/java/app/usluga/web/MainKontroler.java
+4
-1
src/main/resources/static/images/uploads/viber_image_2022-05-26_11-52-21-814.jpg
+0
-0
src/main/resources/templates/dodaj.html
+3
-6
unknown.png
+0
-0
No files found.
.idea/workspace.xml
View file @
e773eee7
...
...
@@ -4,13 +4,11 @@
<option
name=
"autoReloadType"
value=
"ALL"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"6e82c7f1-3949-40e2-bc26-7eb50b36f993"
name=
"Default Changelist"
comment=
"login/logout/anonymous user..."
>
<change
beforePath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_18_9_2022__18_26__Default_Changelist_.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_18_9_2022__18_26__Default_Changelist_.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_18_9_2022__20_08__Default_Changelist_.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_18_9_2022__20_08__Default_Changelist_.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_19_9_2022__15_07__Default_Changelist_.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/shelf/Uncommitted_changes_before_Update_at_19_9_2022__15_07__Default_Changelist_.xml"
afterDir=
"false"
/>
<list
default=
"true"
id=
"6e82c7f1-3949-40e2-bc26-7eb50b36f993"
name=
"Default Changelist"
comment=
"UPLOAD sada radi"
>
<change
afterPath=
"$PROJECT_DIR$/unknown.png"
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/config/Bezbednost.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/app/config/Bezbednost.java"
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/static/images/uploads/viber_image_2022-05-26_11-52-21-814.jpg"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/templates/dodaj.html"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/templates/dodaj.html"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
...
@@ -47,8 +45,8 @@
</option>
<option
name=
"myId2Visible"
>
<map>
<entry
key=
"com.haulmont.jpb.jpaInspector"
value=
"
tru
e"
/>
<entry
key=
"com.haulmont.jpb.jpaPalette"
value=
"
tru
e"
/>
<entry
key=
"com.haulmont.jpb.jpaInspector"
value=
"
fals
e"
/>
<entry
key=
"com.haulmont.jpb.jpaPalette"
value=
"
fals
e"
/>
<entry
key=
"com.haulmont.jpb.jpaStructure"
value=
"false"
/>
</map>
</option>
...
...
@@ -199,7 +197,8 @@
<workItem
from=
"1663587883995"
duration=
"11000"
/>
<workItem
from=
"1663589644471"
duration=
"4472000"
/>
<workItem
from=
"1663594548080"
duration=
"456000"
/>
<workItem
from=
"1663598082766"
duration=
"1582000"
/>
<workItem
from=
"1663598082766"
duration=
"1751000"
/>
<workItem
from=
"1663600055785"
duration=
"984000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"dodata ulogovana verzija"
>
<created>
1663501497955
</created>
...
...
@@ -215,7 +214,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1663590651571
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"3"
/>
<task
id=
"LOCAL-00003"
summary=
"UPLOAD sada radi"
>
<created>
1663599823537
</created>
<option
name=
"number"
value=
"00003"
/>
<option
name=
"presentableId"
value=
"LOCAL-00003"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1663599823537
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"4"
/>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
...
...
@@ -277,7 +283,8 @@
<option
name=
"ADD_EXTERNAL_FILES_SILENTLY"
value=
"true"
/>
<MESSAGE
value=
"dodata ulogovana verzija"
/>
<MESSAGE
value=
"login/logout/anonymous user..."
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"login/logout/anonymous user..."
/>
<MESSAGE
value=
"UPLOAD sada radi"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"UPLOAD sada radi"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/app/model/Korisnik.java"
>
...
...
src/main/java/app/usluga/web/MainKontroler.java
View file @
e773eee7
...
...
@@ -24,7 +24,10 @@ public class MainKontroler {
{
String
fileName
=
file
.
getOriginalFilename
();
try
{
file
.
transferTo
(
new
File
(
"C:\\Users\\vuk\\Desktop\\awesomelands\\src\\main\\resources\\static\\images\\uploads\\"
+
fileName
));
String
putanja
=
System
.
getProperty
(
"user.dir"
);
file
.
transferTo
(
new
File
(
putanja
+
"\\src\\main\\resources\\static\\images\\uploads\\"
+
fileName
));
}
catch
(
IOException
e
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
INTERNAL_SERVER_ERROR
).
build
();
}
...
...
src/main/resources/static/images/uploads/viber_image_2022-05-26_11-52-21-814.jpg
deleted
100644 → 0
View file @
a55534d8
224 KB
src/main/resources/templates/dodaj.html
View file @
e773eee7
...
...
@@ -2163,14 +2163,11 @@ template {
method
:
'POST'
,
body
:
formData
});
if
(
response
.
status
=
=
200
)
if
(
response
.
status
!
=
200
)
{
alert
(
"DOBRO JE"
);
}
else
{
alert
(
"NIJE DOBRO"
);
alert
(
"NEUSPESNA REGISTRACIJA OGLASA"
);
}
}
</script>
...
...
unknown.png
0 → 100644
View file @
e773eee7
96 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment