diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/add_to_bank_form.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/add_to_bank_form.html.j2 deleted file mode 100644 index 610204ac9..000000000 --- a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/add_to_bank_form.html.j2 +++ /dev/null @@ -1,89 +0,0 @@ -{# Copyright (c) Meta Platforms, Inc. and affiliates. #} -

Add Content to Bank

-
-
-
- -
-
- -
-
- -
-
- -
-
-
-
- -
- \ No newline at end of file diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/actions_bar.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/actions_bar.html.j2 new file mode 100644 index 000000000..8bc0697b5 --- /dev/null +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/actions_bar.html.j2 @@ -0,0 +1,6 @@ +
+ {% include "components/banks/match_form.html.j2" %} +
+ {% include 'components/banks/create_new_bank.html.j2' %} +
+
diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/add_to_bank_form.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/add_to_bank_form.html.j2 new file mode 100644 index 000000000..326df0f11 --- /dev/null +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/add_to_bank_form.html.j2 @@ -0,0 +1,37 @@ +{# Copyright (c) Meta Platforms, Inc. and affiliates. #} + + + + \ No newline at end of file diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/banks_grid.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/banks_grid.html.j2 new file mode 100644 index 000000000..fa9ecfd04 --- /dev/null +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/banks_grid.html.j2 @@ -0,0 +1,121 @@ +{# Copyright (c) Meta Platforms, Inc. and affiliates. #} +

Banks

+

Banks are like folders. You can do the following on this page:

+ +{% include 'components/banks/actions_bar.html.j2' %} + +
+ + + + + + + + + + + {% for bank in bankList %} + + + + + + + {% endfor %} + + +
#Bank NameMatching Enabled RatioActions
{{ loop.index }}{{ bank['name'] }}{{ bank['matching_enabled_ratio'] }} + {% with bank_title=bank['name'] %} + {% include 'components/banks/add_to_bank_form.html.j2' %} + {% endwith %} +
+
+ \ No newline at end of file diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks_grid.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/create_new_bank.html.j2 similarity index 59% rename from hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks_grid.html.j2 rename to hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/create_new_bank.html.j2 index 2ca841c15..62b6b5ac6 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks_grid.html.j2 +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/create_new_bank.html.j2 @@ -1,27 +1,27 @@ {# Copyright (c) Meta Platforms, Inc. and affiliates. #} -

Banks

-
-
-
- - -
- -
-
-
- {% for b in bankList %} -
-
-
-
{{b['name']}}
-
-
-

We'll add stats here later.

-
+ + + + \ No newline at end of file diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/match_form.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/match_form.html.j2 new file mode 100644 index 000000000..d40c71738 --- /dev/null +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/banks/match_form.html.j2 @@ -0,0 +1,102 @@ +{# Copyright (c) Meta Platforms, Inc. and affiliates. #} +
+
Find Content in Banks
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+ + \ No newline at end of file diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/match_form.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/match_form.html.j2 deleted file mode 100644 index 6ac6fc978..000000000 --- a/hasher-matcher-actioner/src/OpenMediaMatch/templates/components/match_form.html.j2 +++ /dev/null @@ -1,81 +0,0 @@ -{# Copyright (c) Meta Platforms, Inc. and affiliates. #} -

Match File

-
-
-
- -
-
- -
-
- -
-
- -
-
-
-
- -
- \ No newline at end of file diff --git a/hasher-matcher-actioner/src/OpenMediaMatch/templates/pages/banks.html.j2 b/hasher-matcher-actioner/src/OpenMediaMatch/templates/pages/banks.html.j2 index 37e14cd5e..5dca12068 100644 --- a/hasher-matcher-actioner/src/OpenMediaMatch/templates/pages/banks.html.j2 +++ b/hasher-matcher-actioner/src/OpenMediaMatch/templates/pages/banks.html.j2 @@ -1,12 +1,4 @@ {# Copyright (c) Meta Platforms, Inc. and affiliates. #}
- {% include "components/banks_grid.html.j2" %} -
- -
- {% include "components/add_to_bank_form.html.j2" %} -
- -
- {% include "components/match_form.html.j2" %} + {% include "components/banks/banks_grid.html.j2" %}
\ No newline at end of file