12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <%include file="header.inc.html"/>
- <div class="media">
- <div class="media-left">
- <figure class="image is-128x128">
- <img id="avatar" src="/static/avatars/default/default.128.png">
- </figure>
- <div id="change_avatar">
- <div id="change_avatar_dropdown" class="dropdown">
- <div class="dropdown-trigger">
- <button id="change_avatar_button" class="button is-small is-light is-success" style="width: 128px !important;" onclick="$('#change_avatar_dropdown').toggleClass('is-active');">
- Change avatar
- </button>
- </div>
- <div class="dropdown-menu" id="dropdown-menu" role="menu">
- <div class="dropdown-content" style="padding: 5px;">
- <div class="field">
- <div class="control">
- <input type="file" id="avatar_input" />
- </div>
- </div>
- <div class="field has-text-right">
- <div class="control">
- <button id="upload_avatar_button" class="button is-primary is-small">Upload</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="media-content">
- <p id="username" class="title is-4"></p>
- <p class="subtitle is-6">registered at <time id="signup_date" class="has-text-weight-bold"></time> • uploaded <span id="videos_count" class="has-text-weight-bold"></span> video<span id="videos_count_suffix"></span>.</p>
- </div>
- </div>
- <hr>
- <p id="no_videos" class="content is-size-5 has-text-weight-bold has-text-centered">
- No videos.
- </p>
- <div id="user_videos" class="columns is-multiline is-desktop"></div>
- <script>
- window.user_id = ${user_id};
- </script>
- <script src="/static/js/user.js"></script>
- <%include file="footer.inc.html"/>
|