mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 13:07:50 +02:00
This tab will set the "allowedTlds", but might have other functionality in the future. It is based on (branches from) the security-settings tab, because I'm copying the functionality of the "whitelisted IPs" to the "allowed TLDs": they are both lists of "arbitrary" strings that you can remove from and add to. There are a lot of moving parts in this CL, because of how all the different elements need to interact, and how intertwined they are (for example, we need to disable the admin-settings view for non admins both in the soy and in the JS code) It's really time to refactor the console given all we've learned... :/ ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220373443
53 lines
1.1 KiB
Text
53 lines
1.1 KiB
Text
package(default_visibility = ["//java/google/registry:registry_project"])
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_css_binary", "closure_css_library")
|
|
|
|
closure_css_library(
|
|
name = "kd_components_lib",
|
|
srcs = ["kd_components.css"],
|
|
)
|
|
|
|
closure_css_library(
|
|
name = "registry_lib",
|
|
srcs = [
|
|
"console.css",
|
|
"forms.css",
|
|
"registry.css",
|
|
],
|
|
deps = [
|
|
":kd_components_lib",
|
|
],
|
|
)
|
|
|
|
closure_css_library(
|
|
name = "registrar_lib",
|
|
srcs = [
|
|
"admin-settings.css",
|
|
"contact-settings.css",
|
|
"contact-us.css",
|
|
"dashboard.css",
|
|
"epp.css",
|
|
"resources.css",
|
|
"security-settings.css",
|
|
],
|
|
deps = [":registry_lib"],
|
|
)
|
|
|
|
closure_css_binary(
|
|
name = "registrar_bin",
|
|
deps = [":registrar_lib"],
|
|
)
|
|
|
|
closure_css_binary(
|
|
name = "registrar_dbg",
|
|
debug = 1,
|
|
deps = [":registrar_lib"],
|
|
)
|
|
|
|
closure_css_library(
|
|
name = "registrar_raw",
|
|
srcs = ["registrar_imports_raw.css"],
|
|
deps = [":registrar_lib"],
|
|
)
|