2020-11-20 19:29:40 +08:00
|
|
|
<div class="comments-sidebar" data-comments-url="<%= comments_path %>">
|
2020-11-18 23:26:01 +08:00
|
|
|
<div class="sidebar-content">
|
|
|
|
<div class="sidebar-header">
|
|
|
|
<div class="comments-subject-title"></div>
|
|
|
|
<div class="btn btn-light icon-btn close-btn">
|
|
|
|
<i class="fas fa-times"></i>
|
|
|
|
</div>
|
2022-05-25 21:04:14 +08:00
|
|
|
<div class="comments-subject-url">
|
|
|
|
</div>
|
2020-11-18 23:26:01 +08:00
|
|
|
</div>
|
|
|
|
<div class="sidebar-body">
|
|
|
|
<div class="comments-list">
|
|
|
|
</div>
|
2020-11-21 19:31:49 +08:00
|
|
|
<div class="no-comments-placeholder">
|
|
|
|
<%= image_tag 'comments/placeholder.svg', class: 'no-comments-image' %>
|
|
|
|
<h1><%= t('comments.empty_state.title') %></h1>
|
|
|
|
<p class="description"><%= t('comments.empty_state.description') %></p>
|
|
|
|
</div>
|
2020-11-18 23:26:01 +08:00
|
|
|
<div class="loading-placeholder">
|
|
|
|
<% 5.times do |i| %>
|
|
|
|
<div class="comment-placeholder <%= i.even? ? 'left' : 'right' %>">
|
|
|
|
<div class="comment-user-placeholder"></div>
|
|
|
|
<div class="comment-body-placeholder"></div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="sidebar-footer">
|
|
|
|
<div class="comment-input-container">
|
|
|
|
<textarea class="comment-input-field smart-text-area textarea-sm"></textarea>
|
|
|
|
<i class="fas fa-paper-plane send-comment"></i>
|
|
|
|
</div>
|
2020-11-21 19:31:49 +08:00
|
|
|
<div class="error-container"></div>
|
2020-11-21 03:25:28 +08:00
|
|
|
<div class="update-buttons sci-btn-group">
|
2020-11-21 19:31:49 +08:00
|
|
|
<button class="btn btn-secondary cancel-button"><%= t('general.cancel') %></button>
|
|
|
|
<button class="btn btn-primary update-comment"><%= t('comments.save_changes') %></button>
|
2020-11-21 03:25:28 +08:00
|
|
|
</div>
|
2020-11-18 23:26:01 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|