|
|
@ -114,12 +114,13 @@
|
|
|
|
@*@Html.IncludeScript("backbone/bootstrapper.js")*@
|
|
|
|
@*@Html.IncludeScript("backbone/bootstrapper.js")*@
|
|
|
|
|
|
|
|
|
|
|
|
<script id="QualityProfileTemplate" type="text/template">
|
|
|
|
<script id="QualityProfileTemplate" type="text/template">
|
|
|
|
<div>
|
|
|
|
<a href="#" class="remove-profile"><i class="icon-remove"></i></a>
|
|
|
|
<strong>Name</strong>
|
|
|
|
<div class="quality-profile-setting">
|
|
|
|
|
|
|
|
<label>Name</label>
|
|
|
|
<input type="text" value="<%= Name %>" class="name" />
|
|
|
|
<input type="text" value="<%= Name %>" class="name" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div class="quality-profile-setting">
|
|
|
|
<strong>Cutoff</strong>
|
|
|
|
<label>Cutoff</label>
|
|
|
|
<select id="<%= Id %>" class="cutoff">
|
|
|
|
<select id="<%= Id %>" class="cutoff">
|
|
|
|
<% _.each(Qualities, function(quality) { %>
|
|
|
|
<% _.each(Qualities, function(quality) { %>
|
|
|
|
<% if (quality.Allowed === true) { %>
|
|
|
|
<% if (quality.Allowed === true) { %>
|
|
|
@ -132,14 +133,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
<% _.each(Qualities, function(quality) { %>
|
|
|
|
<% _.each(Qualities, function(quality) { %>
|
|
|
|
<input id="<%= Id %>_<%= quality.Id %>"
|
|
|
|
<input id="<%= Id %>_<%= quality.Id %>"
|
|
|
|
class="quality-selectee"
|
|
|
|
class="quality-selectee"
|
|
|
|
type="checkbox"
|
|
|
|
type="checkbox"
|
|
|
|
value="<%= quality.Allowed %>"
|
|
|
|
value="<%= quality.Allowed %>"
|
|
|
|
data-quality-id="<%= quality.Id %>"
|
|
|
|
data-quality-id="<%= quality.Id %>"
|
|
|
|
<%= quality.Allowed ? 'checked="checked"' : '' %>
|
|
|
|
<%= quality.Allowed ? 'checked="checked"' : '' %>
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<label for="<%= Id %>_<%= quality.Id %>"><%= quality.Name %></label>
|
|
|
|
<label for="<%= Id %>_<%= quality.Id %>"><%= quality.Name %></label>
|
|
|
|
<% }); %>
|
|
|
|
<% }); %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<script id="QualityProfileCollectionTemplate" type="text/template">
|
|
|
|
<script id="QualityProfileCollectionTemplate" type="text/template">
|
|
|
|