mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
small changes
This commit is contained in:
parent
ea52fa3dc3
commit
b374d20860
10 changed files with 79 additions and 13 deletions
|
@ -139,7 +139,7 @@
|
|||
var ev = $(e.currentTarget.children[0]);
|
||||
ev.addClass("fa-spin");
|
||||
|
||||
var url = createBaseUrl("/admin/schedulerun");
|
||||
var url = createLocalUrl("/admin/schedulerun");
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
data: {key:id},
|
||||
|
|
|
@ -16,11 +16,17 @@
|
|||
@Html.GetSidebarUrl(Context, "/admin/sickrage", "SickRage")
|
||||
@Html.GetSidebarUrl(Context, "/admin/headphones", "Headphones (beta)")
|
||||
@Html.GetSidebarUrl(Context, "/admin/newsletter", "Newsletter Settings")
|
||||
@Html.GetSidebarUrl(Context, "/admin/emailnotification", "Email Notifications")
|
||||
@Html.GetSidebarUrl(Context, "/admin/pushbulletnotification", "Pushbullet Notifications")
|
||||
@Html.GetSidebarUrl(Context, "/admin/pushovernotification", "Pushover Notifications")
|
||||
@Html.GetSidebarUrl(Context, "/admin/slacknotification", "Slack Notifications")
|
||||
@Html.GetSidebarUrl(Context, "/admin/discordnotification", "Discord Notifications")
|
||||
|
||||
<div class="dropdown">
|
||||
<a href="#" class="dropdown-toggle list-group-item " data-toggle="dropdown">Notifications <span class="caret"></span><span style="font-size:16px;" class="pull-right hidden-xs showopacity glyphicon glyphicon-envelope"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@Html.GetSidebarUrl(Context, "/admin/emailnotification", "Email Notifications")
|
||||
@Html.GetSidebarUrl(Context, "/admin/pushbulletnotification", "Pushbullet Notifications")
|
||||
@Html.GetSidebarUrl(Context, "/admin/pushovernotification", "Pushover Notifications")
|
||||
@Html.GetSidebarUrl(Context, "/admin/slacknotification", "Slack Notifications")
|
||||
@Html.GetSidebarUrl(Context, "/admin/discordnotification", "Discord Notifications")
|
||||
</ul>
|
||||
</div>
|
||||
@Html.GetSidebarUrl(Context, "/admin/logs", "Logs")
|
||||
@Html.GetSidebarUrl(Context, "/admin/status", "Status")
|
||||
@Html.GetSidebarUrl(Context, "/admin/scheduledjobs", "Scheduled Jobs")
|
||||
|
|
|
@ -31,12 +31,11 @@
|
|||
<script>
|
||||
$(function () {
|
||||
|
||||
var base = '@Html.GetBaseUrl()';
|
||||
|
||||
$('#contentBody').on('click', '#loginBtn', function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
var url = createBaseUrl(base, '/userlogin/login');
|
||||
var url = createLocalUrl('/userlogin/login');
|
||||
var $form = $('#usernameForm');
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue