mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 10:08:11 +08:00
small fixes
This commit is contained in:
parent
f656a1093d
commit
6653f0d4c1
4 changed files with 3 additions and 4 deletions
|
@ -347,7 +347,7 @@ ul {
|
|||
}
|
||||
}
|
||||
|
||||
/* Result table element style */
|
||||
// Result table element style
|
||||
.report-result-table-element {
|
||||
.report-element-body {
|
||||
padding-top: 30px;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<%= ff.text_area :name, label: t("protocols.steps.new.table_name"), class: "table_name", autofocus: true, placeholder: t("protocols.steps.new.table_name_placeholder") %>
|
||||
<%= ff.smart_text_area :name, label: t("protocols.steps.new.table_name"), class: "table_name", autofocus: true, placeholder: t("protocols.steps.new.table_name_placeholder") %>
|
||||
<div data-role="editable-table" class="panel-body">
|
||||
<%= ff.hidden_field(:contents, value: ff.object.contents_utf_8, class: "hot-contents" ) %>
|
||||
<div class="hot"></div>
|
||||
|
|
|
@ -379,7 +379,6 @@ en:
|
|||
step_pos: "Step %{pos}:"
|
||||
no_description: "No description"
|
||||
step_table:
|
||||
sidebar_name: "Table" # TODO
|
||||
table_name: "[ %{name} ]"
|
||||
user_time: "Table created on %{timestamp}."
|
||||
step_asset:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
class AddNameToTables < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :tables, :name, :string, default: ''
|
||||
add_column :tables, :name, :string, default: '', index: true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue