mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Finished the notes! Resolved #7
This commit is contained in:
parent
98c0a4f879
commit
a2f44cf8d2
10 changed files with 40 additions and 28 deletions
|
@ -2,11 +2,11 @@
|
|||
<div class="list-group table-of-contents">
|
||||
@if (Context.Request.Path == "/admin")
|
||||
{
|
||||
<a class="list-group-item active" href="/admin">Plex Request Settings</a>
|
||||
<a class="list-group-item active" href="/admin">Plex Request</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a class="list-group-item" href="/admin">Plex Request Settings</a>
|
||||
<a class="list-group-item" href="/admin">Plex Request</a>
|
||||
}
|
||||
@if (Context.Request.Path == "/admin/authentication")
|
||||
{
|
||||
|
@ -21,28 +21,28 @@
|
|||
|
||||
@if (Context.Request.Path == "/admin/plex")
|
||||
{
|
||||
<a class="list-group-item active" href="/admin/plex">Plex Settings</a>
|
||||
<a class="list-group-item active" href="/admin/plex">Plex</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a class="list-group-item" href="/admin/plex">Plex Settings</a>
|
||||
<a class="list-group-item" href="/admin/plex">Plex</a>
|
||||
}
|
||||
@if (Context.Request.Path == "/admin/couchpotato")
|
||||
{
|
||||
<a class="list-group-item active" href="/admin/couchpotato">CouchPotato Settings</a>
|
||||
<a class="list-group-item active" href="/admin/couchpotato">CouchPotato</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
<a class="list-group-item" href="/admin/couchpotato">CouchPotato Settings</a>
|
||||
<a class="list-group-item" href="/admin/couchpotato">CouchPotato</a>
|
||||
}
|
||||
@if (Context.Request.Path == "/admin/sonarr")
|
||||
{
|
||||
<a class="list-group-item active" href="/admin/sonarr">Sonarr Settings</a>
|
||||
<a class="list-group-item active" href="/admin/sonarr">Sonarr</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a class="list-group-item" href="/admin/sonarr">Sonarr Settings</a>
|
||||
<a class="list-group-item" href="/admin/sonarr">Sonarr</a>
|
||||
}
|
||||
@*<a class="list-group-item" href="/admin/sickbeard">Sickbeard Settings</a>*@
|
||||
|
||||
|
|
|
@ -150,14 +150,14 @@
|
|||
<li><a id="{{requestId}}" issue-select="2" class="dropdownIssue" href="#">Wrong Content</a></li>
|
||||
<li><a id="{{requestId}}" issue-select="3" class="dropdownIssue" href="#">Playback Issues</a></li>
|
||||
<li><a id="{{requestId}}" issue-select="4" class="dropdownIssue" data-identifier="{{requestId}}" href="#" data-toggle="modal" data-target="#myModal">Other</a></li>
|
||||
{{#if_eq admin true}}
|
||||
<li><a id="{{requestId}}" issue-select="4" class="note" data-identifier="{{requestId}}" href="#" data-toggle="modal" data-target="#noteModal">Add Note</a></li>
|
||||
|
||||
{{/if_eq}}
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
{{#if_eq admin true}}
|
||||
|
||||
<button id="{{requestId}}" data-identifier="{{requestId}}" style="text-align: right" value="false" href="#" class="btn btn-sm btn-info-outline note" data-toggle="modal" data-target="#noteModal">Add Note</button>
|
||||
|
||||
{{/if_eq}}
|
||||
</div>
|
||||
@* // TODO add Issues to the view *@
|
||||
</div>
|
||||
|
@ -195,7 +195,7 @@
|
|||
</div>
|
||||
<form method="POST" action="/requests/addnote" id="noteForm">
|
||||
<div class="modal-body">
|
||||
<input name="requestId" class="requestId" type="text" hidden="hidden" value="" />
|
||||
<input name="requestId" class="noteId" type="text" hidden="hidden" value="" />
|
||||
<textarea class="form-control form-control-custom" rows="3" id="noteArea" name="noteArea"></textarea>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue