Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
BeHub-web
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dominik Rosiek
BeHub-web
Commits
0e028f7e
Commit
0e028f7e
authored
Nov 22, 2015
by
Dominik Rosiek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zaraz umre, przynajmniej po śniadaniu
parent
601647cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
2 deletions
+32
-2
beacon.js
BeHub/Hub/static/js/beacon.js
+11
-0
dashboard.html
BeHub/Hub/templates/user_panel/content/dashboard.html
+1
-1
maps.html
BeHub/Hub/templates/user_panel/content/maps.html
+20
-1
No files found.
BeHub/Hub/static/js/beacon.js
View file @
0e028f7e
...
...
@@ -59,4 +59,15 @@ function show_beacons_list(){
$
(
"#container2__"
).
html
(
html
.
join
(
""
));
}
});
}
function
removeProject
(
event
,
id
){
event
.
stopPropagation
();
$
.
ajax
({
url
:
"/api/user_project/"
+
project_id
,
type
:
'DELETE'
,
success
:
function
(
result
)
{
document
.
location
.
reload
()
}
});
}
\ No newline at end of file
BeHub/Hub/templates/user_panel/content/dashboard.html
View file @
0e028f7e
...
...
@@ -32,7 +32,7 @@
<div
class=
"info"
>
<h4
class=
"text-center"
>
{{ project.name }}
</h4>
<p>
{{ project.description }}
</p>
<button
type=
"button"
class=
"btn btn-danger"
>
Delete
</button>
<button
type=
"button"
class=
"btn btn-danger"
onclick=
"removeProject(event, {{ project.id }})"
>
Delete
</button>
</div>
</div>
</div>
...
...
BeHub/Hub/templates/user_panel/content/maps.html
View file @
0e028f7e
...
...
@@ -19,4 +19,23 @@
});
</script>
<script
async
defer
src=
"https://maps.googleapis.com/maps/api/js?key=AIzaSyAaYyVEcLFqwKP_VnzfRSIMkWWWrLtMiGQ&signed_in=true"
></script>
\ No newline at end of file
src=
"https://maps.googleapis.com/maps/api/js?key=AIzaSyAaYyVEcLFqwKP_VnzfRSIMkWWWrLtMiGQ&signed_in=true"
></script>
<!-- Modal -->
<div
class=
"modal fade"
id=
"myModal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
>
<div
class=
"modal-dialog"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
><span
aria-hidden=
"true"
>
×
</span></button>
<h4
class=
"modal-title"
id=
"myModalLabel"
>
Modal title
</h4>
</div>
<div
class=
"modal-body"
id=
"modal-content"
>
</div>
<div
class=
"modal-footer"
id=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Close
</button>
<button
type=
"button"
class=
"btn btn-primary"
>
Add to category
</button>
</div>
</div>
</div>
</div>
\ No newline at end of file
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