feat: merge improvements wip

main
Barış Soner Uşaklı 5 years ago
parent 9c859a2fab
commit 9a0cdd0eb2

@ -182,7 +182,6 @@
right: 2rem; right: 2rem;
z-index: 1; z-index: 1;
.topics-section { .topics-section {
text-align: center;
max-height: 500px; max-height: 500px;
overflow-y: auto; overflow-y: auto;
} }

@ -4,16 +4,43 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<p> <p>
[[topic:merge_topics_instruction]]<br /> [[topic:merge_topics_instruction]]
<div class="topics-section"> </p>
{{{each topics}}} <p>
<!-- IF @index --> <div class="input-group">
<i class="fa fa-chevron-up"></i><br/> <input class="form-control" type="text">
<!-- ENDIF @index --> <span class="input-group-addon">
<span>{topics.title}</span><br/> <i class="fa fa-search"></i>
{{{end}}} </span>
</div> </div>
</p> </p>
<p><strong>[[topic:merge-topic-list-title]]</strong></p>
<ul class="topics-section">
{{{each topics}}}
<li><a href="{config.relative_path}/topic/{topics.tid}">{topics.title}</a></li>
{{{end}}}
</ul>
<p>
<strong>[[topic:merge-options]]</strong>
</p>
<form>
<p>
<input type="radio" name="merge-topic-option" id="abbas" checked="true"> [[topic:merge-select-main-topic]]
</p>
<p>
<select class="form-control main-topic-select">
{{{each topics}}}
<option value="{topics.tid}">{topics.title}</option>
{{{end}}}
</select>
</p>
<p>
<input type="radio" name="merge-topic-option" id="allalal"> [[topic:merge-new-title-for-topic]]
</p>
<p>
<input type="text" class="form-control">
</p>
</form>
</div> </div>
<div class="panel-footer"> <div class="panel-footer">
&nbsp; &nbsp;

Loading…
Cancel
Save