2017-02-23 01:58:50 +01:00
|
|
|
<li class="bot-information-box">
|
|
|
|
<div class="image overflow-hidden">
|
2013-10-21 01:04:25 +02:00
|
|
|
<img src="{{avatar_url}}" class="avatar" />
|
2017-02-23 01:58:50 +01:00
|
|
|
<div class="details">
|
|
|
|
<div class="name">{{name}}</div>
|
|
|
|
<div class="edit-bot-buttons">
|
2017-03-01 01:31:33 +01:00
|
|
|
<button type="submit" class="btn open_edit_bot_form" data-sidebar-form="edit-bot" title="{{t 'Edit bot' }}" data-email="{{email}}">
|
|
|
|
<i class="icon-vector-pencil blue"></i>
|
2017-02-23 01:58:50 +01:00
|
|
|
</button>
|
|
|
|
<a type="submit" download="{{zuliprc}}" class="btn download_bot_zuliprc" title="{{t 'Download .zuliprc' }}" data-email="{{email}}">
|
|
|
|
<i class="icon-vector-download-alt sea-green"></i>
|
|
|
|
</a>
|
|
|
|
<button type="submit" class="btn delete_bot" title="{{t 'Delete bot' }}" data-email="{{email}}">
|
2017-03-01 01:31:33 +01:00
|
|
|
<i class="icon-vector-trash danger-red"></i>
|
2017-02-23 01:58:50 +01:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-10-21 01:04:25 +02:00
|
|
|
</div>
|
2017-02-23 01:58:50 +01:00
|
|
|
<div class="bot_info">
|
2013-10-21 01:04:25 +02:00
|
|
|
<div class="email">
|
2017-02-23 01:58:50 +01:00
|
|
|
<div class="field">{{t "Username" }}</div>
|
|
|
|
<div class="value">{{email}}</div>
|
2013-10-21 01:04:25 +02:00
|
|
|
</div>
|
|
|
|
<div class="api_key">
|
2016-05-12 13:53:41 +02:00
|
|
|
<span class="field">{{t "API Key" }}</span>
|
2013-10-21 01:04:25 +02:00
|
|
|
<span class="api-key-value-and-button">
|
|
|
|
<span class="value">{{api_key}}
|
|
|
|
</span>
|
2016-09-14 02:20:13 +02:00
|
|
|
<button type="submit" class="button no-style btn-secondary regenerate_bot_api_key" title="{{t 'Generate new API key' }}" data-email="{{email}}">
|
2013-10-21 01:04:25 +02:00
|
|
|
<i class="icon-vector-refresh"></i>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
<div class="api_key_error text-error"></div>
|
|
|
|
</div>
|
2014-02-19 16:07:28 +01:00
|
|
|
<div id="bot_delete_error{{id_suffix}}" class="alert alert-error hide"></div>
|
2013-10-21 01:04:25 +02:00
|
|
|
</div>
|
2013-07-22 20:09:34 +02:00
|
|
|
</li>
|