mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +02:00
Adding begginings of hrapplications
This commit is contained in:
parent
fd8801d006
commit
6e99823252
@ -58,7 +58,8 @@ INSTALLED_APPS = (
|
||||
'registration',
|
||||
'services',
|
||||
'eveonline',
|
||||
'groupmanagement'
|
||||
'groupmanagement',
|
||||
'hrapplications',
|
||||
)
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
|
@ -1,5 +1,4 @@
|
||||
from django.db import models
|
||||
from django.contrib import admin
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
|
0
hrapplications/__init__.py
Normal file
0
hrapplications/__init__.py
Normal file
6
hrapplications/admin.py
Normal file
6
hrapplications/admin.py
Normal file
@ -0,0 +1,6 @@
|
||||
from django.contrib import admin
|
||||
from models import HRApplications
|
||||
from models import HRApplicationComment
|
||||
|
||||
admin.site.register(HRApplications)
|
||||
admin.site.register(HRApplicationComment)
|
1
hrapplications/forms.py
Normal file
1
hrapplications/forms.py
Normal file
@ -0,0 +1 @@
|
||||
__author__ = 'r4stl1n'
|
21
hrapplications/models.py
Normal file
21
hrapplications/models.py
Normal file
@ -0,0 +1,21 @@
|
||||
from django.db import models
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
class HRApplications(models.Model):
|
||||
character_name = models.CharField(max_length=254, default="")
|
||||
full_api_id = models.CharField(max_length=254, default="")
|
||||
full_api_key = models.CharField(max_length=254, default="")
|
||||
prefered_corp = models.CharField(max_length=254, default="")
|
||||
is_a_spi = models.BooleanField(default=False)
|
||||
about = models.TextField(default="")
|
||||
extra = models.TextField(default="")
|
||||
|
||||
user = models.ForeignKey(User)
|
||||
|
||||
|
||||
class HRApplicationComment(models.Model):
|
||||
date = models.DateTimeField(auto_now=True)
|
||||
comment = models.TextField(default="")
|
||||
|
||||
user = models.ForeignKey(User)
|
3
hrapplications/tests.py
Normal file
3
hrapplications/tests.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
3
hrapplications/views.py
Normal file
3
hrapplications/views.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
@ -8,11 +8,7 @@
|
||||
<h1 class="page-header text-center">Dashboard</h1>
|
||||
{% if perms.auth.alliance_member %}
|
||||
<div class="col-lg-12 container" id="example">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Alliance Announcment</div>
|
||||
|
||||
<div class="panel-body">Something something dark side </div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
|
@ -8,8 +8,14 @@
|
||||
<div class="col-lg-12">
|
||||
|
||||
<h1 class="page-header text-center">Help</h1>
|
||||
<div class="container">
|
||||
<p>WAT</p>
|
||||
<div class="container-fluid">
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<div class="row">
|
||||
<p class="text-center">
|
||||
Contact IT
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user