diff --git a/buildServer/api/templates/login.html b/buildServer/api/templates/login.html new file mode 100644 index 0000000..dca87dd --- /dev/null +++ b/buildServer/api/templates/login.html @@ -0,0 +1,97 @@ + + +
+ + +Already have an account? Login here.
+ + diff --git a/buildServer/api/views.py b/buildServer/api/views.py index 9442d15..ec7296b 100644 --- a/buildServer/api/views.py +++ b/buildServer/api/views.py @@ -154,4 +154,4 @@ def run(request): @login_required def fetch_giturl(request): - return render(request, 'fetch_giturl.html') \ No newline at end of file + return render(request, 'fetch_giturl.html') diff --git a/buildServer/buildServer/urls.py b/buildServer/buildServer/urls.py index d432147..c92a0a4 100644 --- a/buildServer/buildServer/urls.py +++ b/buildServer/buildServer/urls.py @@ -23,4 +23,7 @@ path('admin/', admin.site.urls), path('', views.home_page), path('api/', include('api.urls')), + path('deployments/', views.deploy_page), + path('deployments/new-deploy/',views.new_deploy), + ] diff --git a/buildServer/buildServer/views.py b/buildServer/buildServer/views.py index d6df4fc..ba126fc 100644 --- a/buildServer/buildServer/views.py +++ b/buildServer/buildServer/views.py @@ -5,4 +5,8 @@ def home_page(request): return render(request, 'home.html') +def deploy_page(request): + return render(request, 'Deployments.html') +def new_deploy(request): + return render(request,'new_deploy.html') \ No newline at end of file diff --git a/buildServer/templates/Deployments.html b/buildServer/templates/Deployments.html new file mode 100644 index 0000000..611888d --- /dev/null +++ b/buildServer/templates/Deployments.html @@ -0,0 +1,73 @@ + + + + + +Deploy your GitHub projects with ease. Enter your GitHub URL below to get started.
+ + + + + +Enter your credentials or use GitHub OAuth
+ +