mirror of https://github.com/Ombi-app/Ombi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.8 KiB
99 lines
2.8 KiB
8 years ago
|
@using Ombi.UI.Helpers
|
||
9 years ago
|
@{
|
||
|
var baseUrl = Html.GetBaseUrl();
|
||
|
var formAction = string.Empty;
|
||
|
if (!string.IsNullOrEmpty(baseUrl.ToHtmlString()))
|
||
|
{
|
||
|
formAction = "/" + baseUrl.ToHtmlString();
|
||
|
}
|
||
|
}
|
||
9 years ago
|
<h1>Issues</h1>
|
||
|
<h4>Below you can see yours and all your current issues and their state.</h4>
|
||
|
<br />
|
||
|
<br />
|
||
9 years ago
|
|
||
|
<ul id="nav-tabs" class="nav nav-tabs" role="tablist">
|
||
|
<li role="presentation" class="active"><a href="#pendingTab" aria-controls="home" role="tab" data-toggle="tab">Pending <span id="pendingCount"></span></a></li>
|
||
|
<li role="presentation"><a href="#resolvedTab" aria-controls="profile" role="tab" data-toggle="tab">Resolved <span id="resolvedCount"></span></a></li>
|
||
|
</ul>
|
||
|
<br/>
|
||
9 years ago
|
|
||
9 years ago
|
<div class="row">
|
||
|
<div class="col-md-3">
|
||
|
<h4>Title</h4>
|
||
|
</div>
|
||
|
<div class="col-md-2">
|
||
|
<h4>Type</h4>
|
||
|
</div>
|
||
9 years ago
|
<div class="col-md-4">
|
||
9 years ago
|
<h4>Issues</h4>
|
||
9 years ago
|
</div>
|
||
|
|
||
|
<div class="col-md-2">
|
||
|
<h4>Requested</h4>
|
||
|
</div>
|
||
9 years ago
|
<div class="col-sm-1">
|
||
9 years ago
|
|
||
|
</div>
|
||
|
</div>
|
||
9 years ago
|
<hr />
|
||
9 years ago
|
<div id="myTabContent" class="tab-content">
|
||
|
<!-- Pending tab -->
|
||
|
<div role="tabpanel" class="tab-pane active" id="pendingTab">
|
||
|
<br />
|
||
|
<br />
|
||
|
<!-- Movie content -->
|
||
|
<div id="pendingIssues">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<!-- Resolved -->
|
||
|
<div role="tabpanel" class="tab-pane" id="resolvedTab">
|
||
|
|
||
|
<br />
|
||
|
<br />
|
||
|
<!-- resolved content -->
|
||
|
<div id="resolvedIssues">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
9 years ago
|
|
||
|
<script id="issue-template" type="text/x-handlebars-template">
|
||
9 years ago
|
<div id="{{id}}Template">
|
||
9 years ago
|
<div class="row">
|
||
|
<div class="col-md-3">
|
||
|
<div id="title">{{title}}</div>
|
||
|
</div>
|
||
|
<div class="col-md-2">
|
||
|
<div id="type">{{type}}</div>
|
||
|
</div>
|
||
9 years ago
|
<div class="col-md-4">
|
||
|
<small>{{issues}}</small>
|
||
9 years ago
|
</div>
|
||
|
|
||
|
<div class="col-md-2">
|
||
|
{{#if requestId}}
|
||
9 years ago
|
<div><i class="fa fa-check"></i></div>
|
||
|
{{else}}
|
||
|
<div><i class="fa fa-times"></i></div>
|
||
9 years ago
|
{{/if}}
|
||
|
</div>
|
||
9 years ago
|
<div class="col-sm-1">
|
||
9 years ago
|
<a href="" id="{{id}}link" class="btn btn-sm btn-info-outline approve"><i class="fa fa-info"></i> Details</a>
|
||
9 years ago
|
<br />
|
||
9 years ago
|
{{#if admin}}
|
||
9 years ago
|
<form action="@formAction/issues/remove" method="post" id="delete{{id}}">
|
||
9 years ago
|
<input id="issueId" name="issueId" value="{{id}}" hidden="hidden" />
|
||
|
<button type="submit" id="{{id}}" class="btn btn-sm btn-danger-outline dropdown-toggle delete">Remove</button>
|
||
|
</form>
|
||
9 years ago
|
{{/if}}
|
||
9 years ago
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr />
|
||
|
</script>
|
||
|
|
||
9 years ago
|
@Html.LoadIssueAssets()
|