Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
E
esi-table-data
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esi-data-scrapping
esi-table-data
Commits
a4649236
Commit
a4649236
authored
Jun 22, 2017
by
Vasyl Bodnaruk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log view
parent
c3344875
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
tables.js
esi/static/js/tables.js
+3
-4
job_list.html
esi/templates/job_list.html
+8
-8
No files found.
esi/static/js/tables.js
View file @
a4649236
;(
function
()
{
var
AJAX_URL
=
'
http://176.58.117.151:8989
/job/'
var
AJAX_URL
=
'/job/'
var
tablesTypes
=
{
RUNNING
:
'running'
,
PENDING
:
'pending'
,
...
...
@@ -194,12 +194,11 @@
// ------------------------------
sendData
:
function
(
data
,
success
,
error
)
{
$
.
ajax
({
method
:
"
POS
T"
,
method
:
"
GE
T"
,
url
:
AJAX_URL
,
cache
:
false
,
contentType
:
"application/json; charset=utf-8"
,
dataType
:
"json"
,
headers
:
{
'X-CSRFToken'
:
$
.
cookie
(
'csrftoken'
)
},
// headers: { 'X-CSRFToken': $.cookie('csrftoken') },
data
:
data
,
success
:
success
,
error
:
error
...
...
esi/templates/job_list.html
View file @
a4649236
...
...
@@ -4,6 +4,7 @@
{% block style %}
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"{% static 'css/atom-one-dark.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'css/bootstrap.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'css/font-awesome.min.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'css/style.css' %}"
>
...
...
@@ -196,17 +197,15 @@
<!-- END: Table deleted -->
<div
class=
"modal"
id=
"log-modal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"exampleModalLongTitle"
aria-hidden=
"true"
>
<div
class=
"modal-dialog
modal-lg
"
role=
"document"
>
<div
class=
"modal-dialog"
role=
"document"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h5
class=
"modal-title"
id=
"exampleModalLongTitle"
>
Log
</h5>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<div
class=
"modal-body"
>
<button
type=
"button"
class=
"close modal-close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</div>
<div
class=
"modal-body"
></div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-secondary"
data-dismiss=
"modal"
>
Close
</button>
<pre><code
class=
"js"
>
</code></pre>
</div>
</div>
</div>
...
...
@@ -219,6 +218,7 @@
integrity=
"sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb"
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/axios/0.16.2/axios.min.js"
></script>
<script
src=
"{% static 'js/highlight.pack.js' %}"
></script>
<script
src=
"{% static 'js/dateformat.js' %}"
></script>
<script
src=
"{% static 'js/tables.js' %}"
></script>
{% endblock %}
\ 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