Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
bitrix
AmiBX
Commits
50f8ae5b
Commit
50f8ae5b
authored
Mar 22, 2023
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix StafStatsApp errors-2
parent
cae8715d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
main.css
template/css/main.css
+10
-0
integrations.php
template/integrations.php
+3
-3
No files found.
template/css/main.css
View file @
50f8ae5b
...
...
@@ -28,12 +28,22 @@ document, html, body {
width
:
100%
;
font-family
:
"OpenSans-Semibold"
,
"Helvetica Neue"
,
Arial
,
Helvetica
,
sans-serif
!important
;
}
#integrations_table_body
.btn-sm
{
line-height
:
1em
;
}
#integrations_table_body
td
{
padding
:
0.1rem
;
}
.alvcontainer
{
padding
:
0
!important
;
margin
:
0
!important
;
width
:
100%
!important
;
height
:
100%
!important
;
}
.afilelabel
{
/* width: 250px; */
height
:
40px
;
...
...
template/integrations.php
View file @
50f8ae5b
...
...
@@ -153,15 +153,15 @@ var getStatusLineHtml = function(itg){
var
stStatus
=
(
typeof
itg
.
status
!==
'undefined'
)
?
itg
.
status
:
'Status'
;
var
stText
=
(
stStatus
==
"off"
)
?
'<span class="badge b
adge-secondary">Отключён</span>'
:
'<span class="badge badge
-success">Включён</span>'
;
var
stText
=
(
stStatus
==
"off"
)
?
'<span class="badge b
g-secondary">Отключён</span>'
:
'<span class="badge bg
-success">Включён</span>'
;
var
stLineHtml
=
'<tr id="'
+
stCode
+
'">'
;
stLineHtml
+=
'<td id="title_'
+
stCode
+
'">'
+
stTitle
+
'</td>'
;
stLineHtml
+=
'<td>'
+
stText
+
'</td>'
;
if
(
stStatus
==
"off"
){
stLineHtml
+=
'<td><div onclick="start_integration(\''
+
stCode
+
'\');" class="btn btn-success">Вкл</div></td>'
;
stLineHtml
+=
'<td><div onclick="start_integration(\''
+
stCode
+
'\');" class="btn btn-s
m btn-s
uccess">Вкл</div></td>'
;
}
else
{
stLineHtml
+=
'<td><div onclick="stop_integration(\''
+
stCode
+
'\');" class="btn btn-danger">Выкл</div></td>'
;
stLineHtml
+=
'<td><div onclick="stop_integration(\''
+
stCode
+
'\');" class="btn btn-
sm btn-
danger">Выкл</div></td>'
;
}
stLineHtml
+=
'</tr>'
;
...
...
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