calendar/base/content/preferences/editCategory.xhtml
author welpy-cw <h.w.forms@arcor.de>
Tue, 15 Jul 2025 11:15:26 +0000 (23 hours ago)
changeset 45497 cf58558da62a16663fdd28164673e665d971a51f
parent 43784 7a94400ed8f1f60282283a0b32b15c64d34291af
permissions -rw-r--r--
Bug 1966810 - Restore archiving of feed messages directly under the feed account. r=darktrojan Differential Revision: https://phabricator.services.mozilla.com/D257245
<?xml version="1.0" encoding="UTF-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE html>
<html
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
  scrolling="false"
>
  <head>
    <title><!-- category-new-label / category-edit-label --></title>
    <meta
      http-equiv="Content-Security-Policy"
      content="default-src chrome:; script-src chrome: 'unsafe-inline'; style-src chrome: 'unsafe-inline'"
    />
    <link rel="stylesheet" href="chrome://global/skin/global.css" />

    <link rel="localization" href="calendar/category-dialog.ftl" />
    <script defer="defer" src="chrome://messenger/content/globalOverlay.js"></script>
    <script defer="defer" src="chrome://global/content/editMenuOverlay.js"></script>
    <script defer="defer" src="chrome://calendar/content/preferences/editCategory.js"></script>
  </head>
  <html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    <dialog id="editCategory" buttons="accept,cancel" style="width: 100vw; height: 100vh">
      <label id="categoryNameLabel" data-l10n-id="category-name-label" control="categoryName" />
      <html:input
        id="categoryName"
        type="text"
        onchange="categoryNameChanged()"
        oninput="delay(500, categoryNameChanged)"
        aria-labelledby="categoryNameLabel"
      />
      <hbox id="colorSelectRow">
        <checkbox
          id="useColor"
          data-l10n-id="category-color-label"
          oncommand="toggleColor(); categoryNameChanged()"
        />
        <html:input
          id="categoryColor"
          type="color"
          style="width: 64px; height: 23px"
          onclick="clickColor()"
          onchange="colorPickerChanged()"
          aria-labelledby="useColor"
        />
      </hbox>
    </dialog>
  </html:body>
</html>