|
|
|
@ -1,25 +1,14 @@
|
|
|
|
|
@using Ombi.UI.Helpers
|
|
|
|
|
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Ombi.Core.SettingModels.PushoverNotificationSettings>
|
|
|
|
|
@Html.Partial("Shared/Partial/_Sidebar")
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-8 col-sm-push-1">
|
|
|
|
|
<form class="form-horizontal" method="POST" id="mainForm">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<legend>Pushover Notifications</legend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
|
|
|
|
|
@if (Model.Enabled)
|
|
|
|
|
{
|
|
|
|
|
<input type="checkbox" id="Enabled" name="Enabled" checked="checked"><label for="Enabled">Enabled</label>
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
<input type="checkbox" id="Enabled" name="Enabled"><label for="Enabled">Enabled</label>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@Html.Checkbox(Model.Enabled, "Enabled", "Enabled")
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="AccessToken" class="control-label">API Key</label>
|
|
|
|
|