{% extends "base.html" %} {% block title %}Account Detail - Weibo-HotSign{% endblock %} {% block content %}

{{ account.weibo_user_id }}

Edit
Account Info
Status {% if account.status == 'active' %} Active {% elif account.status == 'pending' %} Pending {% elif account.status == 'invalid_cookie' %} Invalid Cookie {% elif account.status == 'banned' %} Banned {% endif %}
Remark {{ account.remark or '-' }}
Created {{ account.created_at[:10] }}
Last Checked {{ account.last_checked_at[:10] if account.last_checked_at else '-' }}
Quick Actions
+ Add Task Update Cookie
Tasks
{% if tasks %} {% for task in tasks %} {% endfor %}
Cron Expression Status Created Actions
{{ task.cron_expression }} {% if task.is_enabled %} Enabled {% else %} Disabled {% endif %} {{ task.created_at[:10] }}
{% else %}

No tasks yet

{% endif %}
Signin Logs
{% if logs.items %} {% for log in logs.items %} {% endfor %}
Topic Status Reward Time
{{ log.topic_title or '-' }} {% if log.status == 'success' %} Success {% elif log.status == 'failed_already_signed' %} Already Signed {% elif log.status == 'failed_network' %} Network Error {% elif log.status == 'failed_banned' %} Banned {% endif %} {% if log.reward_info %} {{ log.reward_info.get('points', '-') }} pts {% else %} - {% endif %} {{ log.signed_at[:10] }}
{% if logs.total > logs.size %} {% endif %} {% else %}

No signin logs yet

{% endif %}
{% endblock %}