fix: groups not visible on widget panes

This commit is contained in:
Barış Soner Uşaklı
2019-10-07 17:22:15 -04:00
parent c5f7b66c3a
commit 205d3f9d12

View File

@@ -1,36 +1,30 @@
<br /> <br />
<label>Title:</label> <label>Title</label>
<input type="text" class="form-control" name="title" placeholder="Title (only shown on some containers)" /><br /> <input type="text" class="form-control" name="title" placeholder="Title (only shown on some containers)" /><br />
<label>Container:</label> <label>Container</label>
<textarea rows="4" class="form-control container-html" name="container" placeholder="Drag and drop a container or enter HTML here."></textarea> <textarea rows="4" class="form-control container-html" name="container" placeholder="Drag and drop a container or enter HTML here."></textarea>
<br/> <br/>
<label>Groups:</label> <div class="row">
<div> <div class="col-lg-6">
<ul class="nav nav-tabs" role="tablist"> <label>Show to groups</label>
<li role="presentation" class="active"><a href="#showto" aria-controls="showto" role="tab" data-toggle="tab">Show to</a></li>
<li role="presentation"><a href="#hidefrom" aria-controls="hidefrom" role="tab" data-toggle="tab">Hide from</a></li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="showto">
<select name="groups" class="form-control" multiple size="10"> <select name="groups" class="form-control" multiple size="10">
<!-- BEGIN groups --> <!-- BEGIN groups -->
<option value="{groups.displayName}">{groups.displayName}</option> <option value="{groups.displayName}">{groups.displayName}</option>
<!-- END groups --> <!-- END groups -->
</select> </select>
</div> </div>
<div role="tabpanel" class="tab-pane" id="hidefrom"> <div class="col-lg-6">
<select name="groupsHideFrom" class="form-control" multiple size="10"> <label>Hide from groups</label>
<select name="groups" class="form-control" multiple size="10">
<!-- BEGIN groups --> <!-- BEGIN groups -->
<option value="{groups.displayName}">{groups.displayName}</option> <option value="{groups.displayName}">{groups.displayName}</option>
<!-- END groups --> <!-- END groups -->
</select> </select>
</div> </div>
</div>
</div> </div>
<div class="checkbox"> <div class="checkbox">
<label><input name="hide-mobile" type="checkbox"> Hide on mobile?</input></label> <label><input name="hide-mobile" type="checkbox"> Hide on mobile</input></label>
</div> </div>