Spaces:
Running

undefined / settings.html
Mkourhany's picture
Promote version 847d985 to main
5dbc8fb verified
Raw History Blame Contribute Delete
11.2 kB
<!DOCTYPE html>
<html lang="en" class="h-full bg-gray-50">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Settings | SkyERP</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="h-full">
<!-- Same sidebar and header structure as index.html -->
<div class="min-h-full flex">
<!-- Sidebar -->
<!-- ... same sidebar code from index.html ... -->
<!-- Main content -->
<div class="flex-1 flex flex-col overflow-hidden">
<!-- Header -->
<!-- ... same header code from index.html with "Settings" as title ... -->
<!-- Content area -->
<div class="flex-1 overflow-auto focus:outline-none bg-gray-50">
<div class="px-4 py-6 sm:px-6 lg:px-8">
<!-- Settings tabs -->
<div class="mb-6 border-b border-gray-200">
<nav class="-mb-px flex space-x-8">
<a href="#" class="border-primary-500 text-primary-600 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">General</a>
<a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Company</a>
<a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Users</a>
<a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Integrations</a>
<a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Backup</a>
</nav>
</div>
<!-- Settings form -->
<div class="bg-white shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<h3 class="text-lg leading-6 font-medium text-gray-900 mb-6">General Settings</h3>
<form class="space-y-8 divide-y divide-gray-200">
<div class="space-y-8 divide-y divide-gray-200">
<div>
<div class="grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">
<div class="sm:col-span-4">
<label for="company-name" class="block text-sm font-medium text-gray-700">Company Name</label>
<div class="mt-1">
<input type="text" name="company-name" id="company-name" class="shadow-sm focus:ring-primary-500 focus:border-primary-500 block w-full sm:text-sm border-gray-300 rounded-md" value="Acme Corporation">
</div>
</div>
<div class="sm:col-span-4">
<label for="timezone" class="block text-sm font-medium text-gray-700">Timezone</label>
<div class="mt-1">
<select id="timezone" name="timezone" class="shadow-sm focus:ring-primary-500 focus:border-primary-500 block w-full sm:text-sm border-gray-300 rounded-md">
<option>(UTC-08:00) Pacific Time</option>
<option>(UTC-07:00) Mountain Time</option>
<option selected>(UTC-05:00) Eastern Time</option>
</select>
</div>
</div>
<div class="sm:col-span-4">
<label for="date-format" class="block text-sm font-medium text-gray-700">Date Format</label>
<div class="mt-1">
<select id="date-format" name="date-format" class="shadow-sm focus:ring-primary-500 focus:border-primary-500 block w-full sm:text-sm border-gray-300 rounded-md">
<option>MM/DD/YYYY</option>
<option selected>DD/MM/YYYY</option>
<option>YYYY-MM-DD</option>
</select>
</div>
</div>
<div class="sm:col-span-4">
<label for="currency" class="block text-sm font-medium text-gray-700">Default Currency</label>
<div class="mt-1">
<select id="currency" name="currency" class="shadow-sm focus:ring-primary-500 focus:border-primary-500 block w-full sm:text-sm border-gray-300 rounded-md">
<option>USD ($)</option>
<option>EUR (€)</option>
<option selected>GBP (£)</option>
<option>JPY (¥)</option>
</select>
</div>
</div>
</div>
</div>
<div class="pt-8">
<div>
<h3 class="text-lg leading-6 font-medium text-gray-900">System Settings</h3>
<p class="mt-1 text-sm text-gray-500">Configure system-wide preferences and defaults.</p>
</div>
<div class="mt-6 grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">
<div class="sm:col-span-4">
<label for="auto-logout" class="block text-sm font-medium text-gray-700">Auto Logout</label>
<div class="mt-1">
<select id="auto-logout" name="auto-logout" class="shadow-sm focus:ring-primary-500 focus:border-primary-500 block w-full sm:text-sm border-gray-300 rounded-md">
<option>After 15 minutes</option>
<option selected>After 30 minutes</option>
<option>After 1 hour</option>
<option>After 2 hours</option>
</select>
</div>
</div>
<div class="sm:col-span-4">
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="notifications" name="notifications" type="checkbox" checked class="focus:ring-primary-500 h-4 w-4 text-primary-600 border-gray-300 rounded">
</div>
<div class="ml-3 text-sm">
<label for="notifications" class="font-medium text-gray-700">Enable Notifications</label>
<p class="text-gray-500">Receive system notifications</p>
</div>
</div>
</div>
<div class="sm:col-span-4">
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="audit-log" name="audit-log" type="checkbox" checked class="focus:ring-primary-500 h-4 w-4 text-primary-600 border-gray-300 rounded">
</div>
<div class="ml-3 text-sm">
<label for="audit-log" class="font-medium text-gray-700">Enable Audit Log</label>
<p class="text-gray-500">Track all system changes</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="pt-5">
<div class="flex justify-end">
<button type="button" class="bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
Cancel
</button>
<button type="submit" class="ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
Save
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
// Initialize Feather Icons
feather.replace();
</script>
</body>
</html>