Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
c934e574
Commit
c934e574
authored
Apr 25, 2017
by
Rafael Monnerat
Committed by
Tomáš Peterka
May 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_web: Make jslint a bit happier (fix syntax only)
parent
2a5743e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/erp5_acknowledgement.js.js
...hosting_theme/vifib_hosting_js/erp5_acknowledgement.js.js
+3
-3
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/vifib_allocable.js.js
...ifib_hosting_theme/vifib_hosting_js/vifib_allocable.js.js
+1
-2
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/vifib_monitoring.js.js
...fib_hosting_theme/vifib_hosting_js/vifib_monitoring.js.js
+5
-8
No files found.
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/erp5_acknowledgement.js.js
View file @
c934e574
...
@@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
},
},
error
:
function
()
{
error
:
function
()
{
notificationsettimeout
(
$
(
this
));
notificationsettimeout
(
$
(
this
));
}
,
}
});
});
};
};
...
@@ -61,7 +61,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -61,7 +61,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
"
text-shadow
"
:
"
1px 1px 0 #000
"
,
"
text-shadow
"
:
"
1px 1px 0 #000
"
,
"
background-color
"
:
"
#59bae2
"
,
"
background-color
"
:
"
#59bae2
"
,
"
padding
"
:
"
2px 11px 8px 11px
"
,
"
padding
"
:
"
2px 11px 8px 11px
"
,
"
border-radius
"
:
"
15px
"
,
"
border-radius
"
:
"
15px
"
})
})
.
show
()
.
show
()
.
html
(
acknowledgement_json
.
text_content
)
.
html
(
acknowledgement_json
.
text_content
)
...
@@ -90,7 +90,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -90,7 +90,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
async
:
true
,
async
:
true
,
complete
:
function
()
{
complete
:
function
()
{
notificationload
(
$
(
this
));
notificationload
(
$
(
this
));
}
,
}
});
});
};
};
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/vifib_allocable.js.js
View file @
c934e574
...
@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software
...
@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
*/
"
use strict
"
;
"
use strict
"
;
(
function
(
$
)
{
(
function
(
$
)
{
$
.
vifiballocable
=
function
(
options
)
{
$
.
vifiballocable
=
function
(
options
)
{
...
@@ -28,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -28,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
slave
:
options
.
slave
,
slave
:
options
.
slave
,
software_release
:
options
.
software_release
,
software_release
:
options
.
software_release
,
software_type
:
options
.
software_type
,
software_type
:
options
.
software_type
,
sla
:
JSON
.
stringify
(
options
.
sla
)}
,
sla
:
JSON
.
stringify
(
options
.
sla
)}
},
options
));
},
options
));
};
};
...
...
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/vifib_monitoring.js.js
View file @
c934e574
...
@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software
...
@@ -16,7 +16,6 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
*/
"
use strict
"
;
"
use strict
"
;
(
function
(
window
,
$
)
{
(
function
(
window
,
$
)
{
var
methods
,
var
methods
,
...
@@ -60,7 +59,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -60,7 +59,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
}
}
return
output
;
return
output
;
}
,
}
};
};
...
@@ -113,8 +112,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -113,8 +112,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
update_status
(
context
);
update_status
(
context
);
},
60000
);
},
60000
);
}
}
}
},
});
});
};
};
...
@@ -138,8 +136,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -138,8 +136,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
status_id
=
encodeURIComponent
(
Base61
.
encode
(
status_url
)),
status_id
=
encodeURIComponent
(
Base61
.
encode
(
status_url
)),
status_context
=
$
(
this
).
find
(
'
#
'
+
status_id
);
status_context
=
$
(
this
).
find
(
'
#
'
+
status_id
);
if
(
!
status_context
[
0
])
{
if
(
!
status_context
[
0
])
{
status_context
=
$
(
this
).
append
(
'
<li><a class="check_monitoring" id="
'
status_context
=
$
(
this
).
append
(
'
<li><a class="check_monitoring" id="
'
+
status_id
+
'
" data-url="
'
+
encodeURIComponent
(
status_url
)
+
'
"></a></li>
'
)
+
status_id
+
'
" data-url="
'
+
encodeURIComponent
(
status_url
)
+
'
"></a></li>
'
)
.
find
(
'
#
'
+
status_id
);
.
find
(
'
#
'
+
status_id
);
(
function
(
new_context
)
{
(
function
(
new_context
)
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
...
@@ -154,7 +151,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -154,7 +151,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
setTimeout
(
function
()
{
setTimeout
(
function
()
{
search_document_list
(
context
,
context
.
attr
(
'
data-list-url
'
));
search_document_list
(
context
,
context
.
attr
(
'
data-list-url
'
));
},
60000
);
},
60000
);
}
,
}
});
});
};
};
...
@@ -177,7 +174,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
...
@@ -177,7 +174,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
update_status
(
context
);
update_status
(
context
);
});
});
return
context
;
return
context
;
}
,
}
};
};
$
.
fn
.
vifibmonitoring
=
function
(
method
)
{
$
.
fn
.
vifibmonitoring
=
function
(
method
)
{
...
...
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