diff --git a/amanuensis/lexicon/manage.py b/amanuensis/lexicon/manage.py
index f2df546..1394a12 100644
--- a/amanuensis/lexicon/manage.py
+++ b/amanuensis/lexicon/manage.py
@@ -74,6 +74,8 @@ def create_lexicon(name, editor):
"name": "Ersatz Scrivener",
"player": None,
})
+ with l.edit() as cfg:
+ cfg.character.default.player = None
return l
diff --git a/amanuensis/templates/lexicon/session.html b/amanuensis/templates/lexicon/session.html
index f7d053a..e5dcb1d 100644
--- a/amanuensis/templates/lexicon/session.html
+++ b/amanuensis/templates/lexicon/session.html
@@ -8,7 +8,16 @@
{% block bl_editor %}
Editor actions
{% endblock %}
{% set template_content_blocks = template_content_blocks + [self.bl_editor()] %}
@@ -19,7 +28,6 @@
{{ message }}
{% endfor %}
Player actions
-
{% set characters = g.lexicon.get_characters_for_player(current_user.id) %}
{% for char in characters %}
@@ -29,7 +37,7 @@
{% endfor %}
- {%
+ {%
if characters|count is lt(g.lexicon.join.chars_per_player)
and not g.lexicon.turn.current
%}
diff --git a/amanuensis/templates/lexicon/settings.html b/amanuensis/templates/lexicon/settings.html
index 4e79e62..9b6e123 100644
--- a/amanuensis/templates/lexicon/settings.html
+++ b/amanuensis/templates/lexicon/settings.html
@@ -13,11 +13,13 @@
{% endfor %}
Characters:
{% for char in g.lexicon.character.values() %}
- {{ char.name }} ({{ char.player|user_attr('username') }}){% if not loop.last %},{% endif %}
+ {{ char.name }}{% if char.player %}
+ ({{ char.player|user_attr('username') }}){% endif %}
+ {% if not loop.last %},{% endif %}
{% endfor %}
+ border: 1px solid #bbbbbb; font-size: 0.7em; padding:3px; box-sizing: border-box;">
{% for log_entry in g.lexicon.log %}
[{{ log_entry[0]|asdate }}] {{ log_entry[1] }}
{% endfor %}