feat: merge improvements wip

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

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

@ -4,16 +4,43 @@
</div>
<div class="panel-body">
<p>
[[topic:merge_topics_instruction]]<br />
<div class="topics-section">
{{{each topics}}}
<!-- IF @index -->
<i class="fa fa-chevron-up"></i><br/>
<!-- ENDIF @index -->
<span>{topics.title}</span><br/>
{{{end}}}
[[topic:merge_topics_instruction]]
</p>
<p>
<div class="input-group">
<input class="form-control" type="text">
<span class="input-group-addon">
<i class="fa fa-search"></i>
</span>
</div>
</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 class="panel-footer">
&nbsp;

Loading…
Cancel
Save