Browse Source

refactor: moved distribusi workflow forms do distribusikan folder

pull/12/head
crunk 6 months ago
parent
commit
b5c9bfc8d7
  1. 10
      verse/distribusikan/distribusiselector.py
  2. 10
      verse/distribusikan/distribusiworkflow.py
  3. 12
      verse/distribusikan/editor.py
  4. 0
      verse/distribusikan/forms/distribusiform.py
  5. 0
      verse/distribusikan/forms/editorform.py
  6. 0
      verse/distribusikan/forms/publicthemeform.py
  7. 0
      verse/distribusikan/forms/selectorform.py
  8. 0
      verse/distribusikan/forms/themeform.py
  9. 0
      verse/distribusikan/forms/uploadform.py
  10. 10
      verse/distribusikan/themeselector.py
  11. 2
      verse/distribusikan/upload.py
  12. 8
      verse/distribusikan/uploadpage.py
  13. 2
      verse/start.py

10
verse/distribusikan/distribusiselector.py

@ -12,11 +12,11 @@ from sqlalchemy.exc import (
from app import db
from distribusikan.distribusisinfo import DistribusisInfo
from forms.distribusiform import DistribusiForm
from forms.publicthemeform import PublicThemeForm
from forms.selectorform import SelectorForm
from forms.themeform import ThemeForm
from forms.uploadform import UploadForm
from distribusikan.forms.distribusiform import DistribusiForm
from distribusikan.forms.publicthemeform import PublicThemeForm
from distribusikan.forms.selectorform import SelectorForm
from distribusikan.forms.themeform import ThemeForm
from distribusikan.forms.uploadform import UploadForm
from models.distribusi_model import Distribusis
from models.user_model import User

10
verse/distribusikan/distribusiworkflow.py

@ -17,13 +17,13 @@ from sqlalchemy.exc import (
from app import db
from distribusikan.distribusiselector import SelectorVisible
from distribusikan.distribusisinfo import DistribusisInfo
from forms.distribusiform import DistribusiForm
from forms.publicthemeform import PublicThemeForm
from forms.selectorform import SelectorForm
from forms.themeform import ThemeForm
from distribusikan.forms.distribusiform import DistribusiForm
from distribusikan.forms.publicthemeform import PublicThemeForm
from distribusikan.forms.selectorform import SelectorForm
from distribusikan.forms.themeform import ThemeForm
# Forms!
from forms.uploadform import UploadForm
from distribusikan.forms.uploadform import UploadForm
from models.distribusi_model import Distribusis
from models.user_model import User

12
verse/distribusikan/editor.py

@ -14,12 +14,12 @@ from werkzeug.utils import secure_filename
from app import db
from distribusikan.distribusisinfo import DistribusisInfo
from forms.distribusiform import DistribusiForm
from forms.editorform import EditorForm
from forms.publicthemeform import PublicThemeForm
from forms.selectorform import SelectorForm
from forms.themeform import ThemeForm
from forms.uploadform import UploadForm
from distribusikan.forms.distribusiform import DistribusiForm
from distribusikan.forms.editorform import EditorForm
from distribusikan.forms.publicthemeform import PublicThemeForm
from distribusikan.forms.selectorform import SelectorForm
from distribusikan.forms.themeform import ThemeForm
from distribusikan.forms.uploadform import UploadForm
from models.distribusi_model import Distribusis
from statuspengguna.helper import UserHelper

0
verse/forms/distribusiform.py → verse/distribusikan/forms/distribusiform.py

0
verse/forms/editorform.py → verse/distribusikan/forms/editorform.py

0
verse/forms/publicthemeform.py → verse/distribusikan/forms/publicthemeform.py

0
verse/forms/selectorform.py → verse/distribusikan/forms/selectorform.py

0
verse/forms/themeform.py → verse/distribusikan/forms/themeform.py

0
verse/forms/uploadform.py → verse/distribusikan/forms/uploadform.py

10
verse/distribusikan/themeselector.py

@ -4,11 +4,11 @@ import shutil
from flask import render_template
from distribusikan.distribusisinfo import DistribusisInfo
from forms.distribusiform import DistribusiForm
from forms.publicthemeform import PublicThemeForm
from forms.selectorform import SelectorForm
from forms.themeform import ThemeForm
from forms.uploadform import UploadForm
from distribusikan.forms.distribusiform import DistribusiForm
from distribusikan.forms.publicthemeform import PublicThemeForm
from distribusikan.forms.selectorform import SelectorForm
from distribusikan.forms.themeform import ThemeForm
from distribusikan.forms.uploadform import UploadForm
from statuspengguna.helper import UserHelper

2
verse/distribusikan/upload.py

@ -13,7 +13,7 @@ from sqlalchemy.exc import (
from app import db
from distribusikan.distribusiselector import SelectCurrentDistribusi
from forms.uploadform import UploadForm
from distribusikan.forms.uploadform import UploadForm
from models.distribusi_model import Distribusis
from models.user_model import User
from statuspengguna.helper import UserHelper

8
verse/distribusikan/uploadpage.py

@ -4,10 +4,10 @@ from app import APP
from distribusikan.distribusiselector import SelectorVisible
from distribusikan.distribusisinfo import DistribusisInfo
from distribusikan.upload import UploadNewDistribusi, UploadUpdatedFiles
from forms.distribusiform import DistribusiForm
from forms.publicthemeform import PublicThemeForm
from forms.selectorform import SelectorForm
from forms.themeform import ThemeForm
from distribusikan.forms.distribusiform import DistribusiForm
from distribusikan.forms.publicthemeform import PublicThemeForm
from distribusikan.forms.selectorform import SelectorForm
from distribusikan.forms.themeform import ThemeForm
# UserPengguna
from statuspengguna.helper import UserHelper

2
verse/start.py

@ -18,7 +18,7 @@ from app import create_app, login_manager, db
from describer.describe_files import describer
from distribusikan.distribusikan import distribusikan
from distribusikan.distribusisinfo import DistribusisInfo
from forms.uploadform import UploadForm
from distribusikan.forms.uploadform import UploadForm
from models.distribusi_model import Distribusis
from models.user_model import User
from statuspengguna.forgotpassword import forgot_password

Loading…
Cancel
Save