Skip to content

Commit

Permalink
Fixed activate api
Browse files Browse the repository at this point in the history
  • Loading branch information
zeldaroot committed Jun 19, 2021
1 parent 3d7193e commit 71b1f8e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion themes/default/views/admin/modules/episode.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@
<table class="table table-bordered table-striped">
<tbody>
<% modules.episode.data.custom.forEach(function(data, num) { %>
<% var iter = num + 1; %>
<% var d = data.replace(/\s*~\s*/g, '~').split('~'); %>
<% if (d.length < 3) return; %>
<% if (data.charAt(0) === '#') {
Expand All @@ -889,7 +890,7 @@
} %>
<tr class="<%- custom_div %>">
<td class="table-settings">
<span><%- num + 1 %>.</span>
<span><%- iter %>.</span>
</td>
<td class="table-content help-example">
<div>
Expand Down
20 changes: 10 additions & 10 deletions themes/default/views/admin/modules/player.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,12 @@
<td class="table-settings">
<span><i class="fa fa-circle <%- custom_i %> activate-api"
data-parser="<%- encodeURIComponent(data) %>"
data-activate-api="modules.player.data.cinemaplayer.information.dataset"></i></span>
data-activate-api="modules.player.data.cinemaplayer.information.api"></i></span>
</td>
<td class="table-settings">
<span><i class="fa fa-trash-alt text-danger delete-api"
data-parser="<%- encodeURIComponent(data) %>"
data-delete-api="modules.player.data.cinemaplayer.information.dataset"></i></span>
data-delete-api="modules.player.data.cinemaplayer.information.api"></i></span>
</td>
</tr>
<% }); %>
Expand Down Expand Up @@ -407,12 +407,12 @@
<td class="table-settings">
<span><i class="fa fa-circle <%- custom_i %> activate-api"
data-parser="<%- encodeURIComponent(data) %>"
data-activate-api="modules.player.data.cinemaplayer.online.dataset"></i></span>
data-activate-api="modules.player.data.cinemaplayer.online.api"></i></span>
</td>
<td class="table-settings">
<span><i class="fa fa-trash-alt text-danger delete-api"
data-parser="<%- encodeURIComponent(data) %>"
data-delete-api="modules.player.data.cinemaplayer.online.dataset"></i></span>
data-delete-api="modules.player.data.cinemaplayer.online.api"></i></span>
</td>
</tr>
<% }); %>
Expand Down Expand Up @@ -652,12 +652,12 @@
<td class="table-settings">
<span><i class="fa fa-circle <%- custom_i %> activate-api"
data-parser="<%- encodeURIComponent(data) %>"
data-activate-api="modules.player.data.cinemaplayer.trailer.dataset"></i></span>
data-activate-api="modules.player.data.cinemaplayer.trailer.api"></i></span>
</td>
<td class="table-settings">
<span><i class="fa fa-trash-alt text-danger delete-api"
data-parser="<%- encodeURIComponent(data) %>"
data-delete-api="modules.player.data.cinemaplayer.trailer.dataset"></i></span>
data-delete-api="modules.player.data.cinemaplayer.trailer.api"></i></span>
</td>
</tr>
<% }); %>
Expand Down Expand Up @@ -897,12 +897,12 @@
<td class="table-settings">
<span><i class="fa fa-circle <%- custom_i %> activate-api"
data-parser="<%- encodeURIComponent(data) %>"
data-activate-api="modules.player.data.cinemaplayer.download.dataset"></i></span>
data-activate-api="modules.player.data.cinemaplayer.download.api"></i></span>
</td>
<td class="table-settings">
<span><i class="fa fa-trash-alt text-danger delete-api"
data-parser="<%- encodeURIComponent(data) %>"
data-delete-api="modules.player.data.cinemaplayer.download.dataset"></i></span>
data-delete-api="modules.player.data.cinemaplayer.download.api"></i></span>
</td>
</tr>
<% }); %>
Expand Down Expand Up @@ -1178,12 +1178,12 @@
<td class="table-settings">
<span><i class="fa fa-circle <%- custom_i %> activate-api"
data-parser="<%- encodeURIComponent(data) %>"
data-activate-api="modules.player.data.cinemaplayer.picture.dataset"></i></span>
data-activate-api="modules.player.data.cinemaplayer.picture.api"></i></span>
</td>
<td class="table-settings">
<span><i class="fa fa-trash-alt text-danger delete-api"
data-parser="<%- encodeURIComponent(data) %>"
data-delete-api="modules.player.data.cinemaplayer.picture.dataset"></i></span>
data-delete-api="modules.player.data.cinemaplayer.picture.api"></i></span>
</td>
</tr>
<% }); %>
Expand Down

0 comments on commit 71b1f8e

Please sign in to comment.