Skip to content

Node.js based forum software built for the modern web

2.6 KB
Raw Blame
<div class="acp-page-container">
	<!-- IMPORT admin/partials/settings/header.tpl -->

	<div class="row settings m-0">
		<div id="spy-container" class="col-12 col-md-8 px-0 mb-4" tabindex="0">
			<div id="notifications" class="mb-4">
				<h5 class="fw-bold tracking-tight settings-header hidden">{{tx("admin/settings/notifications:notifications")}}</h5>
				<div class="form-check form-switch mb-3">
					<input class="form-check-input" type="checkbox" id="disableNotificationEmails" data-field="disableNotificationEmails">
					<label for="disableNotificationEmails" class="form-check-label">{{tx("admin/settings/notifications:disable-notification-emails")}}</label>
				</div>

				<div class="mb-3">
					<label class="form-label">{{tx("admin/settings/notifications:welcome-notification")}}</label>
					<textarea class="form-control" data-field="welcomeNotification"></textarea>
				</div>
				<div class="mb-3">
					<label class="form-label">{{tx("admin/settings/notifications:welcome-notification-link")}}</label>
					<input type="text" class="form-control" data-field="welcomeLink">
				</div>
				<div class="mb-3">
					<label class="form-label">{{tx("admin/settings/notifications:welcome-notification-uid")}}</label>
					<input type="text" class="form-control" data-field="welcomeUid">
				</div>
				<div class="mb-3">
					<label class="form-label">{{tx("admin/settings/notifications:post-queue-notification-uid")}}</label>
					<input type="text" class="form-control" data-field="postQueueNotificationUid">
				</div>
				<div class="mb-3">
					<label class="form-label" for="notificationSendDelay">{{tx("admin/settings/notifications:notification-delay")}}</label>
					<input id="notificationSendDelay" type="text" class="form-control" value="60" data-field="notificationSendDelay">
					<p class="form-text">{{tx("admin/settings/notifications:notification-delay-help")}}</p>
				</div>
			</div>

			<div id="tinycon-settings" class="mb-4">
				<h5 class="fw-bold tracking-tight settings-header">{{tx("admin/settings/notifications:tinycon.settings")}}</h5>
				<div class="mb-3">
					<label class="form-label">{{tx("admin/settings/notifications:tinycon.notification-color")}}</label>
					<input type="color" class="form-control form-control-color" data-field="tinyconColor" />
				</div>
				<div class="mb-3">
					<label class="form-label">{{tx("admin/settings/notifications:tinycon.notification-background")}}</label>
					<input type="color" class="form-control form-control-color" data-field="tinyconBackground" />
				</div>
			</div>
		</div>

		<!-- IMPORT admin/partials/settings/toc.tpl -->
	</div>
</div>