mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 09:09:42 +02:00
Added jquery tab, accordion to autobind.
made add series page more awsome.
This commit is contained in:
@@ -2,15 +2,8 @@
|
||||
{
|
||||
Settings
|
||||
}
|
||||
@section Scripts
|
||||
{
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$("#tabs222").tabs();
|
||||
});
|
||||
</script>
|
||||
}
|
||||
<div id="tabs222">
|
||||
|
||||
<div class="jquery-tabs">
|
||||
<ul>
|
||||
<li>@Html.ActionLink("Naming", "Naming", "Settings")</li>
|
||||
<li>@Html.ActionLink("Indexers", "Indexers", "Settings")</li>
|
||||
|
@@ -17,7 +17,7 @@
|
||||
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "IndexersForm", name = "IndexersForm", @class = "settingsForm" }))
|
||||
{
|
||||
@Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
|
||||
<div id="accordion">
|
||||
<div class="jquery-accordion">
|
||||
<h3>
|
||||
<a href="#">NZBs.org</a></h3>
|
||||
<div class="indexerPanel">
|
||||
@@ -111,7 +111,6 @@
|
||||
}
|
||||
</div>
|
||||
@section Scripts{
|
||||
|
||||
<script type="text/javascript">
|
||||
$("#addItem").live('click', function () {
|
||||
$.ajax({
|
||||
@@ -124,14 +123,6 @@
|
||||
return false;
|
||||
});
|
||||
|
||||
$(function () {
|
||||
$("#accordion").accordion({
|
||||
autoHeight: false
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
var deleteNewznabProviderUrl = '@Url.Action("DeleteNewznabProvider", "Settings")';
|
||||
|
||||
function deleteProvider(id) {
|
||||
|
@@ -32,7 +32,7 @@
|
||||
<div id="stylized">
|
||||
@using (Html.BeginForm("SaveNotifications", "Settings", FormMethod.Post, new { id = "NotificationForm", name = "NotificationForm", @class = "settingsForm" }))
|
||||
{
|
||||
<div id="accordion2">
|
||||
<div class="jquery-accordion">
|
||||
<h3>
|
||||
<a href="#">XBMC</a></h3>
|
||||
@{Html.RenderPartial("Xbmc", Model);}
|
||||
@@ -55,14 +55,7 @@
|
||||
}
|
||||
</div>
|
||||
@section Scripts{
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$("#accordion2").accordion({
|
||||
autoHeight: false
|
||||
});
|
||||
});
|
||||
|
||||
//Twitter
|
||||
getAuthorizationUrl = '../Command/GetTwitterAuthorization';
|
||||
verifyAuthorizationUrl = '../Command/VerifyTwitterAuthorization';
|
||||
|
Reference in New Issue
Block a user