Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

slack_import: Don't use `a` tag for form submission.

Aman Agrawal04fa43e1df37
diff --git a/templates/zerver/slack_import.html b/templates/zerver/slack_import.html
index f9e7dd2e0e5..0fc5b8468c3 100644
--- a/templates/zerver/slack_import.html
+++ b/templates/zerver/slack_import.html
@@ -100,7 +100,7 @@
</form>
<div class="bottom-text">
{% trans %}
- Or <a href="#" id="cancel-slack-import">create organization</a> without importing data.
+ Or <span id="cancel-slack-import" tabindex="0">create organization</span> without importing data.
{% endtrans %}
</div>
{% endif %}
diff --git a/web/styles/portico/portico_signin.css b/web/styles/portico/portico_signin.css
index 4f045a0cb06..2b7527da3d3 100644
--- a/web/styles/portico/portico_signin.css
+++ b/web/styles/portico/portico_signin.css
@@ -1556,3 +1556,15 @@ button#register_auth_button_gitlab {
overflow: hidden;
white-space: nowrap;
}
+
+#cancel-slack-import {
+ color: hsl(200deg 100% 40%);
+ text-decoration: none;
+
+ &:hover,
+ &:focus {
+ cursor: pointer;
+ color: hsl(200.16deg 100% 25.1%);
+ text-decoration: underline;
+ }
+}