aboutsummaryrefslogtreecommitdiffstats
path: root/templates/staff/tables
diff options
context:
space:
mode:
Diffstat (limited to 'templates/staff/tables')
-rw-r--r--templates/staff/tables/edit.html4
-rw-r--r--templates/staff/tables/table.html6
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/staff/tables/edit.html b/templates/staff/tables/edit.html
index 7b027884..0c6492e5 100644
--- a/templates/staff/tables/edit.html
+++ b/templates/staff/tables/edit.html
@@ -14,14 +14,14 @@
{% endif %}
<form uk-grid class="uk-grid-small" action="{{ url_for("staff.tables.edit", table=table) }}" method="post">
<div class="uk-width-expand">
- <p>Primary key: <strong>"<span style="font-family: monospace">{{ primary_key }}</span>"</strong></p>
+ <p>Primary key: <strong>"<span class="fira-code">{{ primary_key }}</span>"</strong></p>
</div>
<div class="uk-width-auto">
<a class="uk-button uk-button-default" href="{{ url_for("staff.tables.table", table=table, page=1) }}"><i class="uk-icon fa-fw fas fa-arrow-left"></i>&nbsp; Back</a>
<input class="uk-button uk-button-primary" type="submit" id="submit" value="Save" />
</div>
<div class="uk-width-1-1">
- <div id="editor" class="uk-textarea" style="resize: vertical; min-height: 15rem;">{{ document }}</div>
+ <div id="editor" class="uk-textarea">{{ document }}</div>
<input type="hidden" name="json" id="json" />
</div>
diff --git a/templates/staff/tables/table.html b/templates/staff/tables/table.html
index aa26818f..87d981a0 100644
--- a/templates/staff/tables/table.html
+++ b/templates/staff/tables/table.html
@@ -17,7 +17,7 @@
{% endif %}
<h1 class="uk-title uk-text-center">
- <span style="font-family: monospace">
+ <span class="fira-code">
{{ table }}
{% if table_obj.locked %}
@@ -36,7 +36,7 @@
<div class="uk-width-auto uk-flex-auto">
<select class="uk-select uk-width-1-1" name="search-key" title="Table Key">
- <option style="font-weight: bold;">{{ table_obj.primary_key }}</option>
+ <option class="uk-text-bold">{{ table_obj.primary_key }}</option>
{% for key in table_obj.keys %}
{% if key != table_obj.primary_key %}
{% if search_key == key %}
@@ -144,7 +144,7 @@
{% endif %}
{% for key in table_obj.keys %}
- <td class="uk-text-truncate" style="font-family: monospace" title="{{ doc[key] }}">
+ <td class="uk-text-truncate fira-code" title="{{ doc[key] }}">
{% if key == table_obj.primary_key %}
<strong>{{ doc[key] }}</strong>
{% else %}