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
f3dc639f
Commit
f3dc639f
authored
Nov 22, 2015
by
Rafal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rep links
parent
367a93fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
beacon.js
BeHub/Hub/static/js/beacon.js
+2
-2
No files found.
BeHub/Hub/static/js/beacon.js
View file @
f3dc639f
...
...
@@ -15,7 +15,7 @@ function show_beacons(){
'<td>'
].
join
(
""
));
for
(
var
j
=
0
;
j
<
beacon_managers
[
i
].
sites
.
length
;
j
++
){
html
.
push
([
'<p> <a href="'
,
beacon_managers
[
i
].
sites
[
j
].
link_url
,
'">'
,
beacon_managers
[
i
].
sites
[
j
].
link_url
,
'</a>'
,
'<
/td><td class="col-md-offset-0">'
,
'<button onclick="removeLink(
\'
'
,
beacon_managers
[
i
].
url
,
'
\'
,
\'
'
,
beacon_managers
[
i
].
sites
[
j
].
url
,
'
\'
)" class="btn btn-danger
" >Usun</button></p>'
].
join
(
""
))
'<
button style="float: right;" onclick="removeLink(
\'
'
,
beacon_managers
[
i
].
url
,
'
\'
,
\'
'
,
beacon_managers
[
i
].
sites
[
j
].
url
,
'
\'
)" class="btn btn-danger btn-sm
" >Usun</button></p>'
].
join
(
""
))
}
html
.
push
([
'<p> <button class="btn btn-success" onclick="dodajLink(
\'
'
,
beacon_managers
[
i
].
url
,
'
\'
)">Dodaj link</button></p>'
,
'</td>'
,
...
...
@@ -47,7 +47,7 @@ function show_beacons_list(){
'<td>'
].
join
(
""
));
for
(
var
j
=
0
;
j
<
beacon_managers
[
i
].
sites
.
length
;
j
++
){
html
.
push
([
'<p> <a href="'
,
beacon_managers
[
i
].
sites
[
j
].
link_url
,
'">'
,
beacon_managers
[
i
].
sites
[
j
].
link_url
,
'</a>'
,
'</td><td class="col-md-offset-0">'
,
'<button onclick="removeLink(
\'
'
,
beacon_managers
[
i
].
url
,
'
\'
,
\'
'
,
beacon_managers
[
i
].
sites
[
j
].
url
,
'
\'
)" class="btn btn-danger
" >Usun</button></p>'
].
join
(
""
))
,
'<button <button style="float: right;" onclick="removeLink(
\'
'
,
beacon_managers
[
i
].
url
,
'
\'
,
\'
'
,
beacon_managers
[
i
].
sites
[
j
].
url
,
'
\'
)" class="btn btn-danger btn-sm
" >Usun</button></p>'
].
join
(
""
))
}
html
.
push
([
'<p> <button class="btn btn-success" onclick="dodajLink(
\'
'
,
beacon_managers
[
i
].
url
,
'
\'
)">Dodaj link</button></p>'
,
'</td>'
,
...
...
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