UI and icon fixes
This commit is contained in:
parent
b66c5e3c47
commit
845b0cc954
6 changed files with 135 additions and 5 deletions
64
public/next.svg
Normal file
64
public/next.svg
Normal file
|
@ -0,0 +1,64 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="54.616257"
|
||||
height="54.498734"
|
||||
viewBox="0 0 54.616257 54.498735"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
sodipodi:docname="next.svg"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="px"
|
||||
showguides="true"
|
||||
inkscape:zoom="4"
|
||||
inkscape:cx="29.75"
|
||||
inkscape:cy="30.625"
|
||||
inkscape:window-width="1918"
|
||||
inkscape:window-height="1056"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="22"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g4"
|
||||
showgrid="false"
|
||||
inkscape:lockguides="true" /><defs
|
||||
id="defs1" /><g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-52.617235,-55.869021)"><g
|
||||
id="g4"
|
||||
style="stroke-width:10;stroke-dasharray:none"><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 104.47802,83.246297 100.40754,79.605544 78.449175,59.965366 V 106.29824 L 100.94587,86.374477 Z"
|
||||
id="path2"
|
||||
sodipodi:nodetypes="cccccc" /><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 104.47802,83.246297 100.40754,79.605544 78.449175,59.965366 V 106.29824 L 100.94587,86.374477 Z"
|
||||
id="path3"
|
||||
sodipodi:nodetypes="cccccc" /><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 104.47802,83.246297 100.40754,79.605544 78.449175,59.965366 V 106.29824 L 100.94587,86.374477 Z"
|
||||
id="path4"
|
||||
sodipodi:nodetypes="cccccc" /><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 92.47802,83.246297 88.407538,79.605544 66.449175,59.965366 V 106.29824 L 88.945869,86.374477 Z"
|
||||
id="path5"
|
||||
sodipodi:nodetypes="cccccc" /><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 80.47802,83.246297 76.407538,79.605544 54.449175,59.965366 V 106.29824 L 76.945869,86.374477 Z"
|
||||
id="path6"
|
||||
sodipodi:nodetypes="cccccc" /></g></g></svg>
|
After Width: | Height: | Size: 2.6 KiB |
64
public/prev.svg
Normal file
64
public/prev.svg
Normal file
|
@ -0,0 +1,64 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="54.616257"
|
||||
height="54.498734"
|
||||
viewBox="0 0 54.616257 54.498735"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||
sodipodi:docname="prev.svg"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="px"
|
||||
showguides="true"
|
||||
inkscape:zoom="4"
|
||||
inkscape:cx="29.75"
|
||||
inkscape:cy="30.625"
|
||||
inkscape:window-width="1918"
|
||||
inkscape:window-height="1056"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="22"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g4"
|
||||
showgrid="false"
|
||||
inkscape:lockguides="true" /><defs
|
||||
id="defs1" /><g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-52.617235,-55.869021)"><g
|
||||
id="g4"
|
||||
style="stroke-width:10;stroke-dasharray:none"><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 55.372705,83.246297 59.443187,79.605544 81.40155,59.965366 V 106.29824 L 58.904856,86.374477 Z"
|
||||
id="path2"
|
||||
sodipodi:nodetypes="cccccc" /><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 55.372705,83.246297 59.443187,79.605544 81.40155,59.965366 V 106.29824 L 58.904856,86.374477 Z"
|
||||
id="path3"
|
||||
sodipodi:nodetypes="cccccc" /><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 55.372705,83.246297 59.443187,79.605544 81.40155,59.965366 V 106.29824 L 58.904856,86.374477 Z"
|
||||
id="path4"
|
||||
sodipodi:nodetypes="cccccc" /><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 67.372705,83.246297 71.443187,79.605544 93.40155,59.965366 V 106.29824 L 70.904856,86.374477 Z"
|
||||
id="path5"
|
||||
sodipodi:nodetypes="cccccc" /><path
|
||||
style="fill:#ab88aa;stroke:#0d0c11;stroke-width:3.66388"
|
||||
d="M 79.372705,83.246297 83.443187,79.605544 105.40155,59.965366 V 106.29824 L 82.904856,86.374477 Z"
|
||||
id="path6"
|
||||
sodipodi:nodetypes="cccccc" /></g></g></svg>
|
After Width: | Height: | Size: 2.6 KiB |
|
@ -78,7 +78,8 @@ function initr(req, res, next) {
|
|||
let headerCtx = [
|
||||
{ link: '/walls/get/hub/main/0', icon: '/icon.svg', name: 'DervNet' },
|
||||
{ link: '/walls/list', icon: '/walls.svg', name: 'Explore' },
|
||||
{ link: '/you/logout', icon: '/logout.svg', name: 'Leave' } // fix icon
|
||||
{ link: '/users/' + (res.auth ? res.auth.username : ''), icon: '/login.svg', name: 'You' },
|
||||
{ link: '/you/logout', icon: '/logout.svg', name: 'Leave' }
|
||||
];
|
||||
|
||||
if (!res.auth || !res.auth.valid) {
|
||||
|
|
|
@ -18,5 +18,5 @@
|
|||
<div class='sub'><b>Posted on</b> <%= new Date(date).toISOString() %> </div>
|
||||
<% } %>
|
||||
<%- include ('vblock.ejs', {link: `/${type}/${id}`, icon: '/icon.svg', name: 'Original'}) %>
|
||||
<%- include ('vblock.ejs', {link: `/walls/get/${type}/${id}/0`, icon: '/icon.svg', name: 'Replies'}) %>
|
||||
<%- include ('vblock.ejs', {link: `/walls/get/${type}/${id}/0`, icon: '/walls.svg', name: 'Replies'}) %>
|
||||
</div>
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
<div class='main'>
|
||||
<h1 class="header-big">Replies</h1>
|
||||
<%- include ('vblock.ejs', {link: `${Math.max(page - 1,0)}`, icon: '/icon.svg', name: 'Previous'}) %>
|
||||
<%- include ('vblock.ejs', {link: `${page * 1 + 1}`, icon: '/icon.svg', name: 'Next'}) %>
|
||||
<%- include ('vblock.ejs', {link: `${Math.max(page - 1,0)}`, icon: '/prev.svg', name: 'Previous'}) %>
|
||||
<%- include ('vblock.ejs', {link: `${page * 1 + 1}`, icon: '/next.svg', name: 'Next'}) %>
|
||||
</div>
|
||||
<% if (page == 0) { %>
|
||||
<%- include('form.ejs', {
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
<img src="/uploads/pfp_<%= username %>.png" class="avatar-img">
|
||||
<span><%= username %></span>
|
||||
</h1>
|
||||
<span>A very cool person!</span>
|
||||
<div class='commentbox'>A very cool person!</div>
|
||||
<%- include ('vblock.ejs', {link: `/walls/get/users/${username}/0`, icon: '/icon.svg', name: 'Replies'}) %>
|
||||
</div>
|
||||
|
||||
<% if (isYou) { %>
|
||||
|
|
Loading…
Reference in a new issue