MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / story_media

Function story_media

Scripts/ButSystem.py:18974–19003  ·  view source on GitHub ↗
(sid: int)

Source from the content-addressed store, hash-verified

18972
18973 <div class="msg-meta">
18974 <span class="ts" data-utc="{{ m.created_at_utc }}">{{ m.created_at_local }}</span>
18975 </div>
18976 </div>
18977 {% else %}
18978 <div class="small-muted text-center mt-2">{{ _('No messages yet.') }}</div>
18979 {% endfor %}
18980 <div id="bottomSentinel" style="height:1px"></div>
18981 </div>
18982
18983 <div class="chat-composer">
18984 <form method="post" action="{{ url_for('discussion_send') }}" enctype="multipart/form-data" id="discussionSendForm" autocomplete="off">
18985 <input type="hidden" name="csrf_token" value="{{ csrf_token }}">
18986 <input type="hidden" name="gif_url" id="gifUrl" value="">
18987 <div class="composer-row">
18988 <textarea class="form-control msg-input" name="body" id="discussionInput" rows="1" placeholder="{{ _('Message...') }}" style="resize:none;"></textarea>
18989
18990 <input class="file-hidden" type="file" name="file" id="fileInput">
18991 <label class="btn btn-ghost btn-sm icon-only mb-0" for="fileInput" title="{{ _('Send file') }}" aria-label="{{ _('Send file') }}">📎</label>
18992
18993 <button class="btn btn-ghost btn-sm gif-text-btn" type="button" id="gifBtn" title="{{ _('GIFs') }}" aria-label="{{ _('GIFs') }}">GIF</button>
18994
18995 <input class="file-hidden" type="file" name="voice" id="voiceInput" accept="audio/*">
18996 <button class="btn btn-ghost btn-sm icon-only" type="button" id="recBtn" title="{{ _('Send voice message') }}" aria-label="{{ _('Send voice message') }}">🎙️</button>
18997
18998 <button class="btn btn-accent btn-send" type="submit" id="discussionSendBtn" aria-label="{{ _('Send') }}" title="{{ _('Send') }}">➡️</button>
18999 </div>
19000 <div class="small-muted mt-1 composer-status" id="recStatus" aria-live="polite"></div>
19001 </form>
19002 </div>
19003</div>
19004
19005<!-- GIF picker modal -->
19006<div class="modal fade" id="gifModal" tabindex="-1" aria-hidden="true">

Callers

nothing calls this directly

Calls 9

_stories_tables_initFunction · 0.70
current_userFunction · 0.70
db_connectFunction · 0.70
_story_cutoff_zFunction · 0.70
current_scopeFunction · 0.70
_story_safe_pathFunction · 0.70
guess_mimeFunction · 0.70
_story_is_mediaFunction · 0.70

Tested by

no test coverage detected