parent
662b2e0ea3
commit
47c0ae31ad
@ -0,0 +1,28 @@ |
||||
"""Added page numbers to articles. |
||||
|
||||
Revision ID: 07ff815f36b7 |
||||
Revises: e77d4e8d37f3 |
||||
Create Date: 2020-01-23 05:36:12.405233 |
||||
|
||||
""" |
||||
from alembic import op |
||||
import sqlalchemy as sa |
||||
|
||||
|
||||
# revision identifiers, used by Alembic. |
||||
revision = '07ff815f36b7' |
||||
down_revision = 'e77d4e8d37f3' |
||||
branch_labels = None |
||||
depends_on = None |
||||
|
||||
|
||||
def upgrade(): |
||||
# ### commands auto generated by Alembic - please adjust! ### |
||||
op.add_column('article', sa.Column('article_pageno', sa.String(length=20), nullable=True)) |
||||
# ### end Alembic commands ### |
||||
|
||||
|
||||
def downgrade(): |
||||
# ### commands auto generated by Alembic - please adjust! ### |
||||
op.drop_column('article', 'article_pageno') |
||||
# ### end Alembic commands ### |
@ -1,5 +1,7 @@ |
||||
#article-form .row label.top { width: 6.5em ; } |
||||
#article-form .row label { width: 5.75em ; } |
||||
|
||||
#article-form .row.snippet { flex-direction: column ; margin-top: -0.5em ; } |
||||
#article-form .row.snippet { flex-direction: column ; align-items: initial ; margin-top: -0.5em ; } |
||||
#article-form .row.snippet textarea { min-height: 6em ; } |
||||
|
||||
#article-form .pageno { flex-grow: 0 ; margin-left: 0.25em ; width: 3em ; } |
||||
|
@ -1,5 +1,5 @@ |
||||
#publisher-form .row label.top { width: 4em ; } |
||||
#publisher-form .row label { width: 3em ; } |
||||
|
||||
#publisher-form .row.description { flex-direction: column ; margin-top: -0.25em ; } |
||||
#publisher-form .row.description { flex-direction: column ; align-items: initial ; margin-top: -0.25em ; } |
||||
#publisher-form .row.description textarea { min-height: 6em ; } |
||||
|
Loading…
Reference in new issue