Copied over some styles from the PHP project

This commit is contained in:
2022-09-25 00:59:05 -04:00
parent d71d78319a
commit c4286373e3
6 changed files with 98 additions and 3 deletions

View File

@ -1,4 +1,30 @@
extends layout.pug
block content
p This is a test.
header.row
div.columns.twelve
h1 Welcome to MCST!
p Using MCST you can easily manage your Minecraft: Java Edition servers.
section.row
div.columns.twelve
h3 List of servers:
if servers.length < 1
p There are currently no servers registered.
else
table.u-full-width
thead
tr
th Server name
th Minecraft version
th State
th Actions
tbody
each m in servers
tr.serverItem
td.serverName m.name
td.serverVersion m.version
td.serverState m.state
td
a(href="/server/#{server.name}/start") Start
a(href="/server/#{server.name}/stop") Stop

View File

@ -2,5 +2,20 @@ doctype html
html(lang="en")
head
title= pageTitle
link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css')
link(rel='stylesheet', href='/css/wyrm.css')
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js')
script(src='/js/drake.js')
body
block content
// global navigation
nav.navbar
div.navbar-left
ul
li.menu-text MCST
li: a(href='/') Home
li: a(href='/create') Create
li: a(href='/status') Status
// main content
div#main-content.container
block content