1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 10:07:10 +00:00

Added posters to edit and delete series

This commit is contained in:
Mark McDowall 2013-07-19 17:17:20 -07:00
parent bb86e20bed
commit 9ea588dd91
3 changed files with 103 additions and 56 deletions

View file

@ -2,15 +2,38 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Delete: {{title}}</h3> <h3>Delete: {{title}}</h3>
</div> </div>
<div class="modal-body"> <div class="modal-body delete-series-modal">
<p>Are you sure you want to delete '{{title}}'?</p>
<p>{{path}}</p>
<div class="series-delete-files"> <div class="row">
<label class="checkbox"> <div class="span2">
<input class="x-delete-files" type="checkbox" value="true"> <img class="series-poster" src="{{poster}}" {{defaultImg}}>
Delete all files from disk? </div>
<div class="span7">
<div class="form-horizontal">
<h3 class="path">{{path}}</h3>
<div class="control-group">
<label class="control-label">Delete all files</label>
<div class="controls">
<label class="checkbox toggle well">
<input type="checkbox" class="x-delete-files"/>
<p>
<span>Yes</span>
<span>No</span>
</p>
<div class="btn btn-primary slide-button"/>
</label> </label>
<span class="help-inline-checkbox">
<i class="icon-question-sign" title="Do you want to delete all files from disk?"/>
<i class="icon-form-danger" title="This option is irreversible, use with extreme caution"/>
</span>
</div>
</div>
</div>
</div>
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">

View file

@ -3,6 +3,11 @@
<h3>Edit: {{title}}</h3> <h3>Edit: {{title}}</h3>
</div> </div>
<div class="modal-body edit-series-modal"> <div class="modal-body edit-series-modal">
<div class="row">
<div class="span2">
<img class="series-poster" src="{{poster}}" {{defaultImg}}>
</div>
<div class="span7">
<div class="form-horizontal"> <div class="form-horizontal">
<div class="control-group"> <div class="control-group">
@ -71,6 +76,7 @@
</span> </span>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label" for="inputCustomStartDate">Custom Start Date</label> <label class="control-label" for="inputCustomStartDate">Custom Start Date</label>
@ -82,6 +88,8 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button class="btn btn-danger pull-left x-remove">delete</button> <button class="btn btn-danger pull-left x-remove">delete</button>

View file

@ -2,8 +2,23 @@
@import "../Shared/Styles/clickable.less"; @import "../Shared/Styles/clickable.less";
@import "../Content/prefixer"; @import "../Content/prefixer";
.edit-series-modal { .edit-series-modal, .delete-series-modal {
overflow : visible; overflow : visible;
.series-poster {
.card;
width : 168px;
}
.form-horizontal {
margin-top: 10px;
}
}
.delete-series-modal {
.path {
margin-left: 30px;
}
} }
.series-item { .series-item {
@ -196,3 +211,4 @@
.clickable; .clickable;
} }
} }