mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
b6f273410b
* Fix protocol repository CSS [SCI-7064] * Fix protocol repository CSS [SCI-7064] * Fix hound [SCI-7064]
41 lines
1.6 KiB
Text
41 lines
1.6 KiB
Text
<div class="comments-sidebar" data-comments-url="<%= comments_path %>">
|
|
<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>
|
|
<div class="comments-subject-url">
|
|
</div>
|
|
</div>
|
|
<div class="sidebar-body">
|
|
<div class="comments-list">
|
|
</div>
|
|
<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>
|
|
<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"
|
|
placeholder="<%= t('comments.placeholder') %>"></textarea>
|
|
<i class="fas fa-paper-plane send-comment"></i>
|
|
</div>
|
|
<div class="error-container"></div>
|
|
<div class="update-buttons sci-btn-group">
|
|
<button class="btn btn-secondary cancel-button"><%= t('general.cancel') %></button>
|
|
<button class="btn btn-primary update-comment"><%= t('comments.save_changes') %></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|