diff --git a/app/templates/collaborate-create.html b/app/templates/collaborate-create.html index eb7001e..5f77173 100644 --- a/app/templates/collaborate-create.html +++ b/app/templates/collaborate-create.html @@ -1,25 +1,27 @@ {% extends "new-base.html" %} {% set title = "Collaborate" %} {% block content %} -
-

- Create Collaborate Session -

-
-

Step 1. Select Video

- -

Step 2. Create Session Password

- - - + + +
+

+ Create Collaborate Session +

+
+

Step 1. Select Video

+ +

Step 2. Create Session Password

+ + + +
-
-{% endblock %} + +{% endblock %} \ No newline at end of file diff --git a/app/templates/collaborate.html b/app/templates/collaborate.html index c8e404d..0e6cd3e 100644 --- a/app/templates/collaborate.html +++ b/app/templates/collaborate.html @@ -1,20 +1,24 @@ {% extends "new-base.html" %} {% set title = "Collaborate" %} {% block content %} -
-
-

OcrRoo - Collaborate

-

Join or create an OcrRoo Collaborate session to - exchange code captures with another user. With OcrRoo Collaborate, - you can invite someone to monitor, review, annotate, and assist with your code.

-
- Create Session - Join Session + + +
+
+

OcrRoo + Collaborate

+

Join or create an OcrRoo Collaborate session to + exchange code captures with another user. With OcrRoo Collaborate, + you can invite someone to monitor, review, annotate, and assist with your code.

+
-
+ {% endblock %} \ No newline at end of file diff --git a/app/templates/new-base.html b/app/templates/new-base.html index c5ea430..8c80dd7 100644 --- a/app/templates/new-base.html +++ b/app/templates/new-base.html @@ -1,5 +1,6 @@ + {{ title }} | OcrRoo @@ -13,86 +14,88 @@ {# Todo: Change from using CDN to using NPM or other package manager #} + integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" + crossorigin="anonymous" referrerpolicy="no-referrer" /> - + + -
- +
+
+ {% block content %}{% endblock %} +
+ + +
-
- + + \ No newline at end of file diff --git a/app/templates/player.html b/app/templates/player.html index c8a6ab4..ffeee74 100644 --- a/app/templates/player.html +++ b/app/templates/player.html @@ -1,102 +1,105 @@ {% extends "new-base.html" %} {% set title = "Play Video" %} {% block content %} -
-
-
- -
- Media Controls -
- -
-
- -
-
- -
- - -
- 0:00 - / - {{ video_data["video_length"] }} -
-
-
- - + + +
+
+
+ +
+ Media Controls +
+ +
+
+ +
+
+ +
+ + +
+ 0:00 + / + {{ video_data["video_length"] }}
+
+
+ + +
+
+ Capture Controls + +
- Capture Controls - - -
-
-

{{ video_data["alias"] }}

-

/videos/{{ video_data["filename"] }}

-
-
-
-
-

Code Captures

-
-
- - +
+

{{ video_data["alias"] }}

+

/videos/{{ video_data["filename"] }}

-
-
- {% for capture in video_data["captures"] %} -
-

- Captured @ Timestamp: {{ capture["timestamp"] }} - -

-
{{ capture["capture_content"] }}
+
+
+
+

Code Captures

+
+
+ + +
+
+
+ {% for capture in video_data["captures"] %} +
+

+ Captured @ Timestamp: {{ capture["timestamp"] }} + +

+
{{ capture["capture_content"] }}
+
+ {% endfor %}
- {% endfor %}
+
-
-
-
- - -{% endblock %} +
+ + + +{% endblock %} \ No newline at end of file diff --git a/app/templates/settings.html b/app/templates/settings.html index 9125318..d837232 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -1,35 +1,36 @@ {% extends "new-base.html" %} {% set title = "Settings" %} {% block content %} + +

- Settings

+ bg-gradient-to-tr from-indigo-500 via-fuchsia-400 to-purple-400"> + Settings
{% if current_settings.AppSettings.tesseract_executable == 'your_path_to_tesseract_here' or current_settings.AppSettings.tesseract_executable == '' %} -
+

- -
{% endif %} + +
{% endif %} {% if message %} - + {% endif %}

User Account


-
{% if current_settings.UserSettings.username and current_settings.UserSettings.username != "None" %} - + {% else %} - + {% endif %}
@@ -38,18 +39,16 @@

Integrations & API


- {% if current_settings.AppSettings.openai_api_key and current_settings.AppSettings.openai_api_key != "your_openai_api_key_here" %} - + {% if current_settings.AppSettings.openai_api_key and current_settings.AppSettings.openai_api_key != + "your_openai_api_key_here" %} + {% else %} - + {% endif %}
-

Preferences


@@ -57,37 +56,36 @@

Preferences

+ value="{{ current_settings.UserSettings.programming_language }}" placeholder="Python" + class="mt-1 p-1 w-full rounded-md border-gray-200 border shadow-sm" />
- {% if current_settings.UserSettings.output_path and current_settings.UserSettings.output_path != "output_path" %} - + {% if current_settings.UserSettings.output_path and current_settings.UserSettings.output_path != + "output_path" %} + {% else %} - + {% endif %}
- - + +
@@ -96,33 +94,34 @@

Preferences

- {% if current_settings.AppSettings.ide_executable and current_settings.AppSettings.ide_executable != "your_path_to_ide_here" %} - + {% if current_settings.AppSettings.ide_executable and current_settings.AppSettings.ide_executable != + "your_path_to_ide_here" %} + {% else %} - + {% endif %}
- - {% if current_settings.AppSettings.tesseract_executable and current_settings.AppSettings.tesseract_executable != "your_path_to_tesseract_here" %} - + + {% if current_settings.AppSettings.tesseract_executable and + current_settings.AppSettings.tesseract_executable != "your_path_to_tesseract_here" %} + {% else %} - + {% endif %}
- -

Key Bindings


@@ -134,8 +133,10 @@

Key Bindings

Play/Pause Video -

ShiftLeft + - KeyA

+ +

ShiftLeft + + KeyA

+ @@ -143,8 +144,10 @@

Key Bindings

Play/Pause Video -

ShiftLeft + - KeyA

+ +

ShiftLeft + + KeyA

+ @@ -152,8 +155,10 @@

Key Bindings

Play/Pause Video -

ShiftLeft + - KeyA

+ +

ShiftLeft + + KeyA

+ @@ -167,14 +172,13 @@

Additional Features

Disclaimer

@@ -196,14 +200,14 @@

Additional Features

@@ -219,4 +223,5 @@

Additional Features

} } -{% endblock %} + +{% endblock %} \ No newline at end of file diff --git a/app/templates/upload.html b/app/templates/upload.html index cd4ccfc..a32e607 100644 --- a/app/templates/upload.html +++ b/app/templates/upload.html @@ -1,39 +1,41 @@ {% extends "new-base.html" %} {% set title = "Upload" %} {% block content %} -
-
-

- Upload a Video -

-
- - - {% if use_youtube_downloader %} -

or

- - - {% endif %} -
- - -
- -
- -
-{% endblock %} + + + +
+ +{% endblock %} \ No newline at end of file