Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit e1197fc5 authored by Jon Yu's avatar Jon Yu
Browse files

Rename ui app

parent 11bc1dd5
......@@ -37,7 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'um_django_ui'
'um_template_ui'
]
MIDDLEWARE = [
......
......@@ -7,5 +7,5 @@ urlpatterns = [
path('admin/', admin.site.urls),
path('login/', login, name='login'),
path('logout/', logout, name='logout'),
path('', include('um_django_ui.urls')),
path('', include('um_template_ui.urls')),
]
......@@ -6,7 +6,7 @@ from django.shortcuts import render
def login(request):
return render(request, 'um_django_ui/index.html')
return render(request, 'um_template_ui/index.html')
@login_required
......
from django.apps import AppConfig
class UmDjangoUiConfig(AppConfig):
name = 'um_django_ui'
class UmTemplateUiConfig(AppConfig):
name = 'um_template_ui'
......@@ -17,7 +17,7 @@
<body>
<nav class="navbar navbar-dark navbar-expand-md fixed-top">
<a class="navbar-brand" href="{% url 'um_django_ui:home' %}"><img class="img-fluid my-1 py-1" src="{% static 'images/its-logo.png' %}" /></a>
<a class="navbar-brand" href="{% url 'um_template_ui:home' %}"><img class="img-fluid my-1 py-1" src="{% static 'images/its-logo.png' %}" /></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarLinks" aria-controls="navbarLinks" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
......@@ -25,7 +25,7 @@
<div class="collapse navbar-collapse" id="navbarLinks">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{% url 'um_django_ui:home' %}">Home</a>
<a class="nav-link" href="{% url 'um_template_ui:home' %}">Home</a>
</li>
</ul>
<div class="navbar-nav ml-auto">
......
from django.urls import path
from .views import IndexView
app_name = 'um_django_ui'
app_name = 'um_template_ui'
urlpatterns = [
path('', IndexView.as_view(), name='home')
]
......@@ -2,4 +2,4 @@ from django.views.generic import TemplateView
class IndexView(TemplateView):
template_name = 'um_django_ui/index.html'
template_name = 'um_template_ui/index.html'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment