From 767f3d391287247f2aeea19b6ae3118dbf61e5cb Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Sun, 8 Jan 2017 20:43:20 -0800 Subject: [PATCH] static/index.html: Convert from single page app to tabbed app. The diff for this is a bit ugly due to indentation changes, but essentially each navbar tag that exists, was converted into a tab. From there, only one tab is shown at a time- this makes navigation generally suck less, and is visually less painful. In parallel, the markup for each tab was adjusted to be more consistent. --- static.go | 949 +++++++++++++++++++++++----------------------- static/index.html | 949 +++++++++++++++++++++++----------------------- 2 files changed, 928 insertions(+), 970 deletions(-) diff --git a/static.go b/static.go index 73bb675..b1846d7 100644 --- a/static.go +++ b/static.go @@ -8,7 +8,6 @@ const ( Red October - Two Man Rule File Encryption & Decryption - @@ -18,519 +17,490 @@ const ( - -
-

Red October Management

-
-
-

Delegate

- -
- - -
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
-
-
- - -
-
- -
-
-
- -
- -
-
-

User summary / delegation list

- -
- - -
- - -
-
- - -
- -
- -
-

Delegation Persistence

-

-

Current Delegations

-
    - -

    All Users

    -
      +
      - -
      - -
      -
      -

      Create vault

      -
      - - -
      - - + +
      +

      Red October Management

      +
      +
      +

      Delegate

      + + +
      +
      + + +
      +
      + + +
      +
      +
      +
      + + +
      +
      + + +
      +
      +
      +
      + + +
      +
      + + +
      +
      +
      +
      + + +
      +
      + + +
      +
      +
      +
      +

      User summary / delegation list

      +
      + +
      + + +
      +
      + + +
      + +
      +
      +

      Delegation Persistence

      +

      +

      Current Delegations

      +
        +

        All Users

        +
          -
          - - +
          +
          +
          +
          +
          +

          Create vault

          +
          + +
          + + +
          +
          + + +
          + +
          - - - +

          - -

          Create User

          - -
          - - -
          -
          - - -
          -
          - - -
          +
          +
          +

          Create User

          + + +
          +
          + + +
          +
          + + +
          +
          +
          +
          + + +
          +
          +
          +
          + + +
          +
          + +
          -
          -
          - - -
          +
          +
          +
          +
          +

          Change account

          +
          + +
          +
          + + +
          +
          + + +
          +
          +
          + + +
          +
          + + +
          + +
          -
          -
          - - -
          +
          +
          +
          +
          +

          Admin Controls

          +
          + +
          +
          + + +
          +
          + + +
          +
          +
          +
          + + +
          +
          + + +
          +
          + +
          - - +
          -
          - -
          - -
          -
          -

          Change account

          - -
          - - -
          -
          - - -
          -
          - - -
          -
          -
          - - -
          -
          - - -
          - -
          - -

          Admin Controls

          - -
          - - -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - - -
          -
          - -
          -
          -
          -
          -
          -

          Restore

          - -
          - - -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - -
          -
          -
          -
          -
          -
          -

          Encrypt data

          - -
          - - -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          -
          -
          - - -
          -
          -
          - - -
          - -
          -
          -
          -
          -
          -
          -

          Decrypt data

          - -
          - - -
          -
          - - -
          -
          - - -
          -
          -
          - - -
          - -
          -
          -
          -
          -
          -
          -

          Get owners

          - -
          - - -
          - - -
          - -
          -
          -
          -
          -
          -
          -

          Create Order

          - -
          - -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - -
          -
          -
          -
          -
          -
          -

          Order Info

          - -
          - -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - -
          -
          -
          -
          -
          -
          -

          Outstanding Orders

          - -
          - -
          -
          -
          - - -
          -
          - - -
          -
          - - -
          -
          -
          -
          -

          Order Cancel

          - -
          - -
          -
          +
          +
          +

          Restore

          + + +
          - - + +
          - - + +
          -
          -
          -
          +
          - - + +
          -
          - - + + +
          -
          -
          -
          -

          Create Delegation Link

          - -
          -
          +
          +
          +

          Decrypt data

          +
          + +
          +
          + + +
          +
          + + +
          +
          +
          + + +
          + +
          +
          +
          +
          +
          +

          Get owners

          +
          + +
          + + +
          + +
          +
          +
          +
          +
          +
          +

          Create Order

          +
          + +
          +
          + + +
          +
          + + +
          +
          +
          +
          + + +
          +
          + + +
          +
          +
          +
          + + +
          +
          + + +
          +
          +
          +
          + + +
          +
          + +
          +
          +
          +
          +
          +
          +

          Order Info

          +
          + +
          +
          + + +
          +
          + + +
          +
          +
          +
          + + +
          +
          + +
          +
          +
          +
          +
          +
          +

          Outstanding Orders

          +
          + +
          +
          +
          + + +
          +
          + + +
          +
          + + +
          +
          +
          +
          +
          +

          Order Cancel

          +
          + +
          +
          +
          + + +
          +
          + + +
          +
          +
          +
          +
          +
          + + +
          +
          +
          + +
          +
          +
          +
          +
          +
          +

          Create Delegation Link

          +
          + +
          + +
          + - - diff --git a/static/index.html b/static/index.html index ac7559e..d299b4c 100644 --- a/static/index.html +++ b/static/index.html @@ -3,7 +3,6 @@ Red October - Two Man Rule File Encryption & Decryption - @@ -13,519 +12,490 @@ - -
          -

          Red October Management

          -
          -
          -

          Delegate

          - -
          - - -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - - -
          -
          -
          -
          - - -
          -
          - -
          -
          -
          - -
          - -
          -
          -

          User summary / delegation list

          - -
          - - -
          - - -
          -
          - - -
          - -
          - -
          -

          Delegation Persistence

          -

          -

          Current Delegations

          -
            - -

            All Users

            -
              +
              - -
              - -
              -
              -

              Create vault

              -
              - - -
              - - + +
              +

              Red October Management

              +
              +
              +

              Delegate

              + + +
              +
              + + +
              +
              + + +
              +
              +
              +
              + + +
              +
              + + +
              +
              +
              +
              + + +
              +
              + + +
              +
              +
              +
              + + +
              +
              + + +
              +
              +
              +
              +

              User summary / delegation list

              +
              + +
              + + +
              +
              + + +
              + +
              +
              +

              Delegation Persistence

              +

              +

              Current Delegations

              +
                +

                All Users

                +
                  -
                  - - +
                  +
                  +
                  +
                  +
                  +

                  Create vault

                  +
                  + +
                  + + +
                  +
                  + + +
                  + +
                  - - - +

                  - -

                  Create User

                  - -
                  - - -
                  -
                  - - -
                  -
                  - - -
                  +
                  +
                  +

                  Create User

                  + + +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  +
                  + + +
                  +
                  +
                  +
                  + + +
                  +
                  + +
                  -
                  -
                  - - -
                  +
                  +
                  +
                  +
                  +

                  Change account

                  +
                  + +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  + + +
                  +
                  + + +
                  + +
                  -
                  -
                  - - -
                  +
                  +
                  +
                  +
                  +

                  Admin Controls

                  +
                  + +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  +
                  + + +
                  +
                  + + +
                  +
                  + +
                  - - +
                  -
                  - -
                  - -
                  -
                  -

                  Change account

                  - -
                  - - -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  - - -
                  -
                  - - -
                  - -
                  - -

                  Admin Controls

                  - -
                  - - -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  -
                  - - -
                  -
                  - - -
                  -
                  - -
                  -
                  -
                  -
                  -
                  -

                  Restore

                  - -
                  - - -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  -
                  - - -
                  -
                  - -
                  -
                  -
                  -
                  -
                  -
                  -

                  Encrypt data

                  - -
                  - - -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  -
                  - - -
                  -
                  -
                  -
                  - - -
                  -
                  -
                  - - -
                  - -
                  -
                  -
                  -
                  -
                  -
                  -

                  Decrypt data

                  - -
                  - - -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  - - -
                  - -
                  -
                  -
                  -
                  -
                  -
                  -

                  Get owners

                  - -
                  - - -
                  - - -
                  - -
                  -
                  -
                  -
                  -
                  -
                  -

                  Create Order

                  - -
                  - -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  -
                  - - -
                  -
                  - -
                  -
                  -
                  -
                  -
                  -
                  -

                  Order Info

                  - -
                  - -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  -
                  - - -
                  -
                  - -
                  -
                  -
                  -
                  -
                  -
                  -

                  Outstanding Orders

                  - -
                  - -
                  -
                  -
                  - - -
                  -
                  - - -
                  -
                  - - -
                  -
                  -
                  -
                  -

                  Order Cancel

                  - -
                  - -
                  -
                  +
                  +
                  +

                  Restore

                  + + +
                  - - + +
                  - - + +
                  -
                  -
                  -
                  +
                  - - + +
                  -
                  - - + + +
                  -
                  -
                  -
                  -

                  Create Delegation Link

                  - -
                  -
                  +
                  +
                  +

                  Decrypt data

                  +
                  + +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  + + +
                  + +
                  +
                  +
                  +
                  +
                  +

                  Get owners

                  +
                  + +
                  + + +
                  + +
                  +
                  +
                  +
                  +
                  +
                  +

                  Create Order

                  +
                  + +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  +
                  + + +
                  +
                  + +
                  +
                  +
                  +
                  +
                  +
                  +

                  Order Info

                  +
                  + +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  +
                  + + +
                  +
                  + +
                  +
                  +
                  +
                  +
                  +
                  +

                  Outstanding Orders

                  +
                  + +
                  +
                  +
                  + + +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  +
                  +
                  +

                  Order Cancel

                  +
                  + +
                  +
                  +
                  + + +
                  +
                  + + +
                  +
                  +
                  +
                  +
                  +
                  + + +
                  +
                  +
                  + +
                  +
                  +
                  +
                  +
                  +
                  +

                  Create Delegation Link

                  +
                  + +
                  + +
                  + - -