is anyone reading these commit msgs

This commit is contained in:
biglyderv 2024-11-25 14:12:43 -05:00
parent dabbc7d862
commit 40f9c219b8
9 changed files with 66 additions and 10 deletions

View file

@ -7,8 +7,14 @@
<% for (let elem of data) { %>
<span class='form-entry'> <span class='form-key'>
<%= elem.label %>
</span> <input type='<%= elem.type %>' name='<%= elem.name %>'></span>
</span>
<% if (elem.type=='textarea' ) { %>
<textarea name='<%= elem.name %>'></textarea>
<% } else { %>
<input type='<%= elem.type %>' name='<%= elem.name %>'>
</span>
<% } %>
<input type='Submit' name='Submit'>
<% } %>
<input type='Submit' name='Submit'>
</form>
<%- include('footer.ejs') -%>

View file

@ -3,12 +3,19 @@
<h1>BiglyChat</h1>
<p><b>Collab on videos... make creative animations... and more!</b></p>
<h2>About</h2>
<p><i>I am <a href='https://zenoverse.net/'>Onez</a>, a self-taught developer from a young age. Following the unexpected growth
of <i>Video Bot Thing</i>, I made this as a home for the logo editing community. View the <a
<p><i>I am <a href='https://zenoverse.net/'>Onez</a>, a self-taught developer from a young age. Following the
unexpected growth
of <i>Video Bot Thing</i>, I made this as a home for the video editing community. View the <a
href='https://codeberg.org/onezDerv/bigly-chat'>source</a> if you want to contribute or make a
fork.</i></p>
<%if (username=='!nobody' ) { %>
<div class="button"><a href="/client/register">Join</a></div>
<% } %>
</div>
<div class='area'>
<h1>Recent Videos</h1>
<div class=' videos'>
<%- include('videos.ejs') -%>
</div>
</div>
<%- include('footer.ejs') -%>

View file

@ -9,6 +9,7 @@
<div>by <a href="/client/user?id=<%= videoData.username %>">
<%= videoData.username %>
</a></div>
<pre><%= videoData.desc %></pre>
<!-- todo: custom video player-->
</div>
<%- include('footer.ejs') -%>

14
views/videos.ejs Normal file
View file

@ -0,0 +1,14 @@
<%for (videoData of videos) { %>
<a href='/client/video?id=<%= videoData.id %>'>
<div class='video'>
<img src='/videos/<%= videoData.id %>.png'>
<div><b>
<%= videoData.title %>
</b>
</div>
<div>by <a href="/client/user?id=<%= videoData.username %>">
<%= videoData.username %>
</a></div>
</div>
</a>
<% } %>