diff --git a/src/codehelp/templates/context_config.html b/src/codehelp/templates/context_config.html index e1805d0..93abf06 100644 --- a/src/codehelp/templates/context_config.html +++ b/src/codehelp/templates/context_config.html @@ -1,7 +1,7 @@

Contexts

-

Contexts provide additional information to the LLM for each query a student makes. You can have a single default context that is always used, or you can create separate contexts for individual assignments or modules. If multiple contexts are available, students will be able to select from them when making queries.

+

Contexts provide additional information to the LLM for each query a student makes. You can have a single default context that is always used, or you can create separate contexts for individual assignments or modules. If multiple contexts are available, students will be able to select from them when making queries.

{% if contexts | length == 0 %}

While not strictly required, we recommend defining at least one context to specify the language(s), frameworks, and/or libraries in use in this class.

{% endif %} @@ -89,7 +89,7 @@

Contexts

})); }); - +
diff --git a/src/gened/templates/admin_main.html b/src/gened/templates/admin_main.html index d9a688b..725281b 100644 --- a/src/gened/templates/admin_main.html +++ b/src/gened/templates/admin_main.html @@ -41,8 +41,8 @@ {% endfor %} -
-
+
+

Consumers Create New

{{ datatable( 'consumers', @@ -52,6 +52,8 @@

Consumers +

Classes

{{ datatable( 'classes', @@ -61,6 +63,8 @@

Classes

link_template=filters.template_string('class') | safe, extra_links=[{'icon': "admin", 'text': "Administer class", 'handler': "classes.switch_class_handler", 'param': "class_id"}], ) }} +
+

Users

{{ datatable( 'users', @@ -69,6 +73,8 @@

Users

link_col=0, link_template=filters.template_string('user') | safe, ) }} +
+

Roles

{{ datatable( 'roles', @@ -78,7 +84,7 @@

Roles

link_template=filters.template_string('role') | safe, ) }}
-
+

Queries

diff --git a/src/gened/templates/base.html b/src/gened/templates/base.html index e32fb01..69fd06c 100644 --- a/src/gened/templates/base.html +++ b/src/gened/templates/base.html @@ -30,8 +30,8 @@ main.site-content { flex: 1; } /* expand main content, push footer to bottom of page/viewport */ span[title] { text-decoration: underline; text-decoration-style: dotted; } pre, .content pre { padding: 0.5rem 0.75rem; } - .tbl_cols { display: flex; gap: 2em; flex-wrap: wrap; } - .tbl_col { overflow: auto; } + .flex_items { display: flex; gap: 2em; flex-wrap: wrap; } + .flex_item { flex: 1 0 10em; min-width: min-content; overflow-auto; } dialog { border: none; background: none; } dialog::backdrop { background: #0009; backdrop-filter: blur(4px); } p.help-text { font-size: 85%; margin-bottom: 0.5em; opacity: 92%; } diff --git a/src/gened/templates/instructor_class_config.html b/src/gened/templates/instructor_class_config.html index 5a7c191..21c8f4b 100644 --- a/src/gened/templates/instructor_class_config.html +++ b/src/gened/templates/instructor_class_config.html @@ -13,25 +13,17 @@ max-width: 1600px; margin: auto; } -.conf_cols { - display: flex; - justify-content: center; - gap: 1em; -} +.item_sep { border: 2px solid #ccc; margin: 1em; } @media (max-width: 1200px) { /* flip to column below a given width (instead of just using flex-wrap) so any .sep item becomes a horizontal line */ - .conf_cols { flex-direction: column; } -} -.conf_col_sep { - /* draw a line between config sections */ - border: 2px solid #ccc; + .flex_items { flex-direction: column; } } -.conf_col .field-body { +.field-body { /* override bulma sizing for these forms */ flex-grow: 2; } -.conf_col input[type='checkbox'], -.conf_col input[type='radio'] { +input[type='checkbox'], +input[type='radio'] { transform: scale(2.0); margin: 0.5rem; margin-top: 0.8rem; @@ -39,8 +31,8 @@

Configure Class: {{ auth.cur_class.class_name }}

-
-
+
+

Access

@@ -120,7 +112,7 @@

Access

{% if class_row['link_ident'] %} {# link_ident only in classes_user, so will only be set for user classes. #} -
+

Language Model

Language Model

{% if extra_sections %} -
-
+
+
{% for extra_section in extra_sections %} {{ extra_section }} {% if not loop.last %} -
+
{% endif %} {% endfor %}
{% endif %} - -
+
-
-
-

Delete Class Data

-
-

This will: -

    -
  • Delete all user inputs made in this class
  • -
  • Remove all users from the class, including you
  • -
  • Delete class configuration data
  • -
  • Anonymize all class usage data
  • -
-

-

Users will not be deleted, nor will their data in any other class they are enrolled in.

- {% if auth.user.auth_provider == 'lti' %} -

This class was accessed using a link from an LMS. If that link still exists in the LMS after deleting the class data here, anyone following it will create a new, distinct instance of this class in CodeHelp (without any old data, but still with the ability to submit new queries). To prevent that, remove the link from the LMS before deleting the class data here.

- {% endif %} -

Type "DELETE" in the text box to confirm you want to delete data for this class.

-

Warning: Deleting class data cannot be undone.

-
- - -
- -
-
- +
+

Delete Class Data

+
+

This will: +

    +
  • Delete all user inputs made in this class
  • +
  • Remove all users from the class, including you
  • +
  • Delete class configuration data
  • +
  • Anonymize all class usage data
  • +
+

+

Users will not be deleted, nor will their data in any other class they are enrolled in.

+ {% if auth.user.auth_provider == 'lti' %} +

This class was accessed using a link from an LMS. If that link still exists in the LMS after deleting the class data here, anyone following it will create a new, distinct instance of this class in CodeHelp (without any old data, but still with the ability to submit new queries). To prevent that, remove the link from the LMS before deleting the class data here.

+ {% endif %} +

Type "DELETE" in the text box to confirm you want to delete data for this class.

+

Warning: Deleting class data cannot be undone.

- +
+ +
+ +
+
+ +
+
+