diff --git a/bin/submit_paste.py b/bin/submit_paste.py index 12ae14af..5efc6615 100755 --- a/bin/submit_paste.py +++ b/bin/submit_paste.py @@ -226,7 +226,7 @@ if __name__ == "__main__": #print(files.children) else: try: - files = unpack(file_full_path.encode(), password) + files = unpack(file_full_path.encode(), password=password.encode()) #print(files.children) except sflock.exception.IncorrectUsageException: abord_file_submission(uuid, "Wrong Password") diff --git a/var/www/modules/PasteSubmit/templates/PasteSubmit.html b/var/www/modules/PasteSubmit/templates/PasteSubmit.html index 3a463694..4ccdcf52 100644 --- a/var/www/modules/PasteSubmit/templates/PasteSubmit.html +++ b/var/www/modules/PasteSubmit/templates/PasteSubmit.html @@ -19,104 +19,104 @@ + - {% include 'navbar.html' %} + {% include 'navbar.html' %} -
-
- +
+
+ -
+ - - + + -
-
Files submission -
-
+
+
Files submission +
+
-
- - -
+
+ + +
-
- - -
-
-
+
+ + +
+
+
-
-
Tags : -
    -
  • +
    +
    Tags : +
      +
    • -
      - -
      - -
      - - -
      - -
    • -
    • - -
      - -
      - -
      - - -
      - -
    • -
    -
    +
    +
    -
    +
    + + +
    -
    - -
    +
  • +
  • -
    - -
    +
    + +
    + +
    + + +
    + +
  • +
+
+
+ +
+ +
+ +
+ +
+ +
-
-
+
@@ -125,9 +125,6 @@ var ltagsgalaxies $(document).ready(function(){ - activePage = "page-PasteSubmit" - $("#"+activePage).addClass("active"); - $.getJSON('/Tags/get_all_tags_taxonomies', function(data) { @@ -147,6 +144,11 @@ name: 'ltagsgalaxies' }); }); + + activePage = "page-PasteSubmit" + $("#"+activePage).addClass("active"); + + $('#modalsubmit').modal({backdrop: 'static'}) }); @@ -195,5 +197,4 @@ function submitPaste(){ {% endfor %} - diff --git a/var/www/modules/PasteSubmit/templates/header_PasteSubmit.html b/var/www/modules/PasteSubmit/templates/header_PasteSubmit.html index 525f51e3..9abd9029 100644 --- a/var/www/modules/PasteSubmit/templates/header_PasteSubmit.html +++ b/var/www/modules/PasteSubmit/templates/header_PasteSubmit.html @@ -1 +1 @@ -
  • PasteSubmit
  • +
  • PasteSubmit
  • diff --git a/var/www/modules/dashboard/templates/index.html b/var/www/modules/dashboard/templates/index.html index bb80b84e..f20a0964 100644 --- a/var/www/modules/dashboard/templates/index.html +++ b/var/www/modules/dashboard/templates/index.html @@ -36,7 +36,7 @@
    -