mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
ui polish
This commit is contained in:
parent
48f51a0126
commit
094554ff12
@ -24,6 +24,7 @@
|
||||
.thredded--user-navigation {
|
||||
height: 2rem;
|
||||
margin: 1rem;
|
||||
border-bottom: 0;
|
||||
|
||||
.thredded--user-navigation--item a {
|
||||
padding: 8px 4px;
|
||||
|
||||
@ -2,8 +2,10 @@
|
||||
<div class="thredded--topic-followers">
|
||||
<% if topic.followers.present? %>
|
||||
<%# t('thredded.topics.followed_by') %>
|
||||
<i class="material-icons tiny" style="position: relative; top: 2px;">people_alt</i>
|
||||
<%= pluralize topic.followers.count, 'follower' %>
|
||||
<span class="tooltipped" data-tooltip="<%= pluralize topic.followers.count, 'person' %> will be notified of any updates to this thread." data-position="right">
|
||||
<i class="material-icons tiny" style="position: relative; top: 2px;">people_alt</i>
|
||||
<%= pluralize topic.followers.count, 'follower' %>
|
||||
</span>
|
||||
<%# topic.followers.each do |user| %>
|
||||
<%#= user_link(user) %>
|
||||
<%# end %>
|
||||
|
||||
@ -12,9 +12,7 @@
|
||||
</small>
|
||||
|
||||
<div class="thredded--post--dropdown">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="408px" height="408px" viewBox="0 0 408 408" class="thredded--post--dropdown--toggle">
|
||||
<path d="M204,102c28.05,0,51-22.95,51-51S232.05,0,204,0s-51,22.95-51,51S175.95,102,204,102z M204,153c-28.05,0-51,22.95-51,51 s22.95,51,51,51s51-22.95,51-51S232.05,153,204,153z M204,306c-28.05,0-51,22.95-51,51s22.95,51,51,51s51-22.95,51-51 S232.05,306,204,306z"></path>
|
||||
</svg>
|
||||
<i class="material-icons thredded--post--dropdown--toggle">tune</i>
|
||||
|
||||
<div class="thredded--post--dropdown--actions">
|
||||
<% if topic.can_update? %>
|
||||
@ -24,13 +22,13 @@
|
||||
<% end %>
|
||||
<% if user_signed_in? && params.key?(:id) %>
|
||||
<%= link_to main_app.documentize_topic_path(params[:id]), class: 'thredded--post--dropdown--actions--item' do %>
|
||||
Save to document
|
||||
Export to document
|
||||
<% end %>
|
||||
<%= link_to main_app.plaintext_topic_path(params[:id]), class: 'thredded--post--dropdown--actions--item', rel: 'nofollow' do %>
|
||||
View as plaintext
|
||||
<% end %>
|
||||
<%= link_to main_app.irc_log_topic_path(params[:id]), class: 'thredded--post--dropdown--actions--item', rel: 'nofollow' do %>
|
||||
View as IRC log
|
||||
View as chat log
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if topic.can_destroy? %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user