225 lines
12 KiB
HTML
225 lines
12 KiB
HTML
{% extends 'base.html' %}
|
|
{% load static i18n crispy_forms_tags %}
|
|
|
|
{% block title %}{% trans "System Settings" %} - ATS{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<!-- Page Header -->
|
|
<div class="mb-6 sm:mb-8">
|
|
<div class="flex items-center gap-3 mb-2">
|
|
<div class="w-10 h-10 sm:w-12 sm:h-12 bg-temple-red/10 rounded-xl flex items-center justify-center" style="background-color: #f8f7f2;">
|
|
<i data-lucide="settings" class="w-5 h-5 sm:w-6 sm:h-6" style="color: #9d2235;"></i>
|
|
</div>
|
|
<div>
|
|
<h1 class="text-2xl sm:text-3xl font-bold text-gray-900">
|
|
{% trans "System Settings" %}
|
|
</h1>
|
|
<p class="text-sm text-gray-500 mt-0.5">
|
|
{% trans "Configure and manage your ATS system" %}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Settings Cards Grid -->
|
|
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-5 lg:gap-6">
|
|
|
|
<!-- Integration Settings -->
|
|
<a href="{% url 'settings_list' %}" class="group block no-underline">
|
|
<div class="bg-white border-2 border-gray-200 rounded-xl shadow-sm hover:shadow-lg transition-all duration-200 overflow-hidden h-full hover:border-red-200">
|
|
<!-- Icon Header -->
|
|
<div class="p-5 sm:p-6 border-b border-gray-100" style="background: linear-gradient(to bottom right, #f8f7f2, #f8f7f2);">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 sm:w-14 sm:h-14 bg-white rounded-xl shadow-sm group-hover:scale-110 transition-transform duration-200">
|
|
<i data-lucide="plug" class="w-6 h-6 sm:w-7 sm:h-7" style="color: #9d2235;"></i>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content -->
|
|
<div class="p-5 sm:p-6">
|
|
<h3 class="text-lg sm:text-xl font-bold text-gray-900 mb-2 group-hover:transition-colors" style="color: #9d2235;">
|
|
{% trans "Integration Settings" %}
|
|
</h3>
|
|
<p class="text-sm sm:text-base text-gray-600 leading-relaxed mb-4">
|
|
{% trans "Connect and manage external services like Zoom, email providers, and third-party tools." %}
|
|
</p>
|
|
|
|
<!-- Action Button -->
|
|
<div class="flex items-center justify-between pt-3 border-t border-gray-100">
|
|
<span class="text-sm font-medium" style="color: #9d2235;">
|
|
{% trans "Configure" %}
|
|
</span>
|
|
<i data-lucide="arrow-right" class="w-4 h-4 group-hover:translate-x-1 transition-transform" style="color: #9d2235;"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
|
|
<!-- Source & Sync Settings -->
|
|
<a href="{% url 'source_list' %}" class="group block no-underline">
|
|
<div class="bg-white border-2 border-gray-200 rounded-xl shadow-sm hover:shadow-lg transition-all duration-200 overflow-hidden h-full hover:border-red-200">
|
|
<!-- Icon Header -->
|
|
<div class="p-5 sm:p-6 border-b border-gray-100" style="background: linear-gradient(to bottom right, #f8f7f2, #f8f7f2);">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 sm:w-14 sm:h-14 bg-white rounded-xl shadow-sm group-hover:scale-110 transition-transform duration-200">
|
|
<i data-lucide="git-branch" class="w-6 h-6 sm:w-7 sm:h-7" style="color: #9d2235;"></i>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content -->
|
|
<div class="p-5 sm:p-6">
|
|
<h3 class="text-lg sm:text-xl font-bold text-gray-900 mb-2 group-hover:transition-colors" style="color: #9d2235;">
|
|
{% trans "Source & Sync Settings" %}
|
|
</h3>
|
|
<p class="text-sm sm:text-base text-gray-600 leading-relaxed mb-4">
|
|
{% trans "Configure automated syncs with job boards and external talent databases (CRM)." %}
|
|
</p>
|
|
|
|
<!-- Action Button -->
|
|
<div class="flex items-center justify-between pt-3 border-t border-gray-100">
|
|
<span class="text-sm font-medium" style="color: #9d2235;">
|
|
{% trans "Configure" %}
|
|
</span>
|
|
<i data-lucide="arrow-right" class="w-4 h-4 group-hover:translate-x-1 transition-transform" style="color: #9d2235;"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
|
|
<!-- Staff & Access Settings -->
|
|
<a href="{% url 'admin_settings' %}" class="group block no-underline">
|
|
<div class="bg-white border-2 border-gray-200 rounded-xl shadow-sm hover:shadow-lg transition-all duration-200 overflow-hidden h-full hover:border-red-200">
|
|
<!-- Icon Header -->
|
|
<div class="p-5 sm:p-6 border-b border-gray-100" style="background: linear-gradient(to bottom right, #f8f7f2, #f8f7f2);">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 sm:w-14 sm:h-14 bg-white rounded-xl shadow-sm group-hover:scale-110 transition-transform duration-200">
|
|
<i data-lucide="users" class="w-6 h-6 sm:w-7 sm:h-7" style="color: #9d2235;"></i>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content -->
|
|
<div class="p-5 sm:p-6">
|
|
<h3 class="text-lg sm:text-xl font-bold text-gray-900 mb-2 group-hover:transition-colors" style="color: #9d2235;">
|
|
{% trans "Staff & Access Settings" %}
|
|
</h3>
|
|
<p class="text-sm sm:text-base text-gray-600 leading-relaxed mb-4">
|
|
{% trans "Manage user accounts, define roles, and control system permissions." %}
|
|
</p>
|
|
|
|
<!-- Action Button -->
|
|
<div class="flex items-center justify-between pt-3 border-t border-gray-100">
|
|
<span class="text-sm font-medium" style="color: #9d2235;">
|
|
{% trans "Configure" %}
|
|
</span>
|
|
<i data-lucide="arrow-right" class="w-4 h-4 group-hover:translate-x-1 transition-transform" style="color: #9d2235;"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
|
|
<!-- System Activity Logs -->
|
|
<a href="{% url 'easy_logs' %}" class="group block no-underline">
|
|
<div class="bg-white border-2 border-gray-200 rounded-xl shadow-sm hover:shadow-lg transition-all duration-200 overflow-hidden h-full hover:border-red-200">
|
|
<!-- Icon Header -->
|
|
<div class="p-5 sm:p-6 border-b border-gray-100" style="background: linear-gradient(to bottom right, #f8f7f2, #f8f7f2);">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 sm:w-14 sm:h-14 bg-white rounded-xl shadow-sm group-hover:scale-110 transition-transform duration-200">
|
|
<i data-lucide="file-text" class="w-6 h-6 sm:w-7 sm:h-7" style="color: #9d2235;"></i>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content -->
|
|
<div class="p-5 sm:p-6">
|
|
<h3 class="text-lg sm:text-xl font-bold text-gray-900 mb-2 group-hover:transition-colors" style="color: #9d2235;">
|
|
{% trans "System Activity Logs" %}
|
|
</h3>
|
|
<p class="text-sm sm:text-base text-gray-600 leading-relaxed mb-4">
|
|
{% trans "Check complete activity of your system here." %}
|
|
</p>
|
|
|
|
<!-- Action Button -->
|
|
<div class="flex items-center justify-between pt-3 border-t border-gray-100">
|
|
<span class="text-sm font-medium" style="color: #9d2235;">
|
|
{% trans "View Logs" %}
|
|
</span>
|
|
<i data-lucide="arrow-right" class="w-4 h-4 group-hover:translate-x-1 transition-transform" style="color: #9d2235;"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
|
|
<!-- LinkedIn Integration -->
|
|
<a href="{% if not request.session.linkedin_authenticated %}{% url 'linkedin_login' %}{% else %}#{% endif %}" class="group block no-underline">
|
|
<div class="bg-white border-2 border-gray-200 rounded-xl shadow-sm hover:shadow-lg transition-all duration-200 overflow-hidden h-full hover:border-red-200 {% if request.session.linkedin_authenticated %}opacity-75{% endif %}">
|
|
<!-- Icon Header -->
|
|
<div class="p-5 sm:p-6 border-b border-gray-100" style="background: linear-gradient(to bottom right, #f8f7f2, #f8f7f2);">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 sm:w-14 sm:h-14 bg-white rounded-xl shadow-sm group-hover:scale-110 transition-transform duration-200">
|
|
<i data-lucide="linkedin" class="w-6 h-6 sm:w-7 sm:h-7" style="color: #9d2235;"></i>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content -->
|
|
<div class="p-5 sm:p-6">
|
|
<h3 class="text-lg sm:text-xl font-bold text-gray-900 mb-2 group-hover:transition-colors" style="color: #9d2235;">
|
|
{% trans "LinkedIn Integration" %}
|
|
</h3>
|
|
<p class="text-sm sm:text-base text-gray-600 leading-relaxed mb-4">
|
|
{% trans "Connect ATS with your LinkedIn Recruiter account to enable profile sourcing." %}
|
|
</p>
|
|
|
|
<!-- Action Button / Status -->
|
|
<div class="flex items-center justify-between pt-3 border-t border-gray-100">
|
|
{% if not request.session.linkedin_authenticated %}
|
|
<span class="text-sm font-medium" style="color: #9d2235;">
|
|
{% trans "Connect Now" %}
|
|
</span>
|
|
<i data-lucide="arrow-right" class="w-4 h-4 group-hover:translate-x-1 transition-transform" style="color: #9d2235;"></i>
|
|
{% else %}
|
|
<div class="flex items-center gap-2">
|
|
<div class="w-2 h-2 bg-green-500 rounded-full animate-pulse"></div>
|
|
<span class="text-sm font-medium" style="color: #9d2235;">
|
|
{% trans "Connected" %}
|
|
</span>
|
|
</div>
|
|
<i data-lucide="check-circle" class="w-5 h-5" style="color: #9d2235;"></i>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<!-- Help Section -->
|
|
<div class="mt-8 sm:mt-10 rounded-xl p-6 sm:p-8 border border-gray-200" style="background: linear-gradient(to bottom right, #f8f7f2, #f8f7f2);">
|
|
<div class="flex flex-col sm:flex-row items-start sm:items-center gap-4 sm:gap-6">
|
|
<div class="flex-shrink-0">
|
|
<div class="w-12 h-12 sm:w-14 sm:h-14 bg-white rounded-xl flex items-center justify-center shadow-sm">
|
|
<i data-lucide="help-circle" class="w-6 h-6 sm:w-7 sm:h-7 text-gray-600"></i>
|
|
</div>
|
|
</div>
|
|
<div class="flex-1">
|
|
<h3 class="text-lg sm:text-xl font-bold text-gray-900 mb-1">
|
|
{% trans "Need Help?" %}
|
|
</h3>
|
|
<p class="text-sm sm:text-base text-gray-600">
|
|
{% trans "Check our documentation or contact support for assistance with system configuration." %}
|
|
</p>
|
|
</div>
|
|
<div class="w-full sm:w-auto">
|
|
<a href="mailto:support@example.com"
|
|
class="inline-flex items-center justify-center gap-2 px-5 py-3 bg-white hover:bg-gray-50 border-2 border-gray-300 rounded-xl text-sm font-medium text-gray-700 transition-all shadow-sm hover:shadow w-full sm:w-auto">
|
|
<i data-lucide="mail" class="w-4 h-4"></i>
|
|
<span>{% trans "Contact Support" %}</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
// Initialize Lucide icons
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
if (typeof lucide !== 'undefined') {
|
|
lucide.createIcons();
|
|
}
|
|
});
|
|
</script>
|
|
|
|
{% endblock %} |