-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #729 from rufener/preavis
Preavis
- Loading branch information
Showing
18 changed files
with
458 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
"""update preavis formulaire decision | ||
Revision ID: 3a451b565980 | ||
Revises: 4f5057ef6dd2 | ||
Create Date: 2023-03-21 12:00:58.619347 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '3a451b565980' | ||
down_revision = '4f5057ef6dd2' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.alter_column('preavis_decision', 'remarque', new_column_name='remarque_contexte') | ||
op.add_column('preavis_decision', sa.Column('remarque_limite_fictive_gabarits', sa.Text(), nullable=True)) | ||
op.add_column('preavis_decision', sa.Column('remarque_transfert_droit_batir', sa.Text(), nullable=True)) | ||
op.add_column('preavis_decision', sa.Column('remarque_stationnement_art29', sa.Text(), nullable=True)) | ||
op.add_column('preavis_decision', sa.Column('remarque_autre', sa.Text(), nullable=True)) | ||
op.add_column('preavis_glossaire', sa.Column('chapitre', sa.String(length=40), nullable=True)) | ||
# ### end Alembic commands ### | ||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.alter_column('preavis_decision', 'remarque_contexte', new_column_name='remarque') | ||
op.drop_column('preavis_glossaire', 'chapitre') | ||
op.drop_column('preavis_decision', 'remarque_autre') | ||
op.drop_column('preavis_decision', 'remarque_stationnement_art29') | ||
op.drop_column('preavis_decision', 'remarque_transfert_droit_batir') | ||
op.drop_column('preavis_decision', 'remarque_limite_fictive_gabarits') | ||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.preavis { | ||
#preavis .preavis { | ||
width: 100%; | ||
float: left; | ||
} | ||
|
||
.preavis .md-table { | ||
#preavis .md-table { | ||
width: 70%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
.preavis { | ||
#preavisExterne.preavisExterne { | ||
width: 90%; | ||
margin: auto; | ||
height: calc(100vh - 80px); | ||
} | ||
|
||
ul { | ||
#preavisExterne ul { | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
} | ||
|
||
li { | ||
#preavisExterne li { | ||
padding: 0; | ||
} | ||
|
||
.pendingRow { | ||
#preavisExterne .pendingRow { | ||
font-style: italic; | ||
color: grey; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.