mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-08 04:47:22 +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-result-table-element {
|
||||||
.report-element-body {
|
.report-element-body {
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<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">
|
<div data-role="editable-table" class="panel-body">
|
||||||
<%= ff.hidden_field(:contents, value: ff.object.contents_utf_8, class: "hot-contents" ) %>
|
<%= ff.hidden_field(:contents, value: ff.object.contents_utf_8, class: "hot-contents" ) %>
|
||||||
<div class="hot"></div>
|
<div class="hot"></div>
|
||||||
|
|
|
@ -379,7 +379,6 @@ en:
|
||||||
step_pos: "Step %{pos}:"
|
step_pos: "Step %{pos}:"
|
||||||
no_description: "No description"
|
no_description: "No description"
|
||||||
step_table:
|
step_table:
|
||||||
sidebar_name: "Table" # TODO
|
|
||||||
table_name: "[ %{name} ]"
|
table_name: "[ %{name} ]"
|
||||||
user_time: "Table created on %{timestamp}."
|
user_time: "Table created on %{timestamp}."
|
||||||
step_asset:
|
step_asset:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
class AddNameToTables < ActiveRecord::Migration
|
class AddNameToTables < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
add_column :tables, :name, :string, default: ''
|
add_column :tables, :name, :string, default: '', index: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue