From 37f64eb2bf117323dd910cc061d66704d05f64b1 Mon Sep 17 00:00:00 2001 From: Nikhil Sharma Date: Mon, 18 Jan 2021 21:32:12 +0530 Subject: [PATCH] styled the new contests page --- models/contests.js | 1 + views/new_contest.ejs | 41 ++++++++++++++++++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/models/contests.js b/models/contests.js index 6d315d01..91fd2902 100644 --- a/models/contests.js +++ b/models/contests.js @@ -1,3 +1,4 @@ +import "./contests.css". var mongoose = require('mongoose'); var contests = new mongoose.Schema({ diff --git a/views/new_contest.ejs b/views/new_contest.ejs index 00c0f605..4386e203 100644 --- a/views/new_contest.ejs +++ b/views/new_contest.ejs @@ -10,7 +10,42 @@ + @@ -18,7 +53,7 @@ <% include partials/header %> - +
ADD PROBLEM | @@ -35,7 +70,7 @@ Duration (minutes): *
Make the contest visible to the public? (1 for yes, 0 for no) *
Problems to be included (qID "," comma separated):
- +
@@ -45,4 +80,4 @@ - \ No newline at end of file +