Applied style/markup from twitter account edit.

This commit is contained in:
Martin Edenhofer 2016-02-11 09:43:17 +01:00
parent bf08039a1c
commit 394ca2ff95
3 changed files with 9 additions and 30 deletions

View file

@ -131,6 +131,7 @@ class Index extends App.ControllerContent
relation: 'Group' relation: 'Group'
nulloption: true nulloption: true
default: selected_id default: selected_id
class: 'form-control--small'
) )
el.html(selection) el.html(selection)

View file

@ -1,26 +0,0 @@
<ul class="nav nav-tabs">
<li class="active"><a href="#">Accounts</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="">
<table class="table table-striped">
<tr>
<th>Name</th>
<th>Active</th>
<th>Delete</th>
</tr>
<tr>
<td>lalal.example.com</td>
<td>true</td>
<td>x</td>
</tr>
<tr>
<td>wpt23dd4rwr</td>
<td>true</td>
<td>x</td>
</tr>
</table>
</div>
</div>

View file

@ -1,18 +1,22 @@
<div class="alert alert--danger hidden" role="alert"></div> <div class="alert alert--danger hidden" role="alert"></div>
<fieldset> <fieldset>
<%- @T('Wall') %> <h1><%- @T('Wall') %></h1>
<p class="description"><%- @T('Choose which group page postings should go.') %></p>
<div class="js-wall"> <div class="js-wall">
<%= @channel.options.user.name %> -> <div data-page-id="<%= @channel.options.user.id %>" class="js-groups"></div> <h2><%= @channel.options.user.name %></h2>
<div data-page-id="<%= @channel.options.user.id %>" class="js-groups"></div>
</div> </div>
<hr> <hr>
<%- @T('Pages') %> <h1><%- @T('Pages') %></h1>
<p class="description"><%- @T('Choose which group page postings should go.') %></p>
<div class="js-pages"> <div class="js-pages">
<% if @channel.options.pages: %> <% if @channel.options.pages: %>
<% for page in @channel.options.pages: %> <% for page in @channel.options.pages: %>
<%= page.name %> -> <div data-page-id="<%= page.id %>" class="js-groups"></div><br> <h2><%= page.name %></h2>
<div data-page-id="<%= page.id %>" class="js-groups"></div>
<% end %> <% end %>
<% end %> <% end %>
</div> </div>