Skip to content
Snippets Groups Projects
Commit 62b4eb88 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-3706: updating sylings and adding md file for mailman

parent ffcd1d26
No related branches found
No related tags found
No related merge requests found
...@@ -4,12 +4,21 @@ ...@@ -4,12 +4,21 @@
&__label { &__label {
display: block; display: block;
font-family: "BureauGrotCond Book",impact,"avenir next condensed heavy","Droid Sans",sans-serif;
font-size: 1.26562rem;
font-weight: 400;
margin-bottom: .35rem; margin-bottom: .35rem;
&--email {
font-family: "BureauGrotCond Book",impact,"avenir next condensed heavy","Droid Sans",sans-serif;
font-size: 1.26562rem;
font-weight: 400;
}
} }
&__servername { &__servername {
text-align: center; text-align: center;
} }
.uw-input--grey {
display: inline-block;
max-width: 18.125rem;
}
} }
---
el: .uw-mailman
title: Mailman
---
__Variables:__
* mailman: [array] Variables for mailman.
* server: [string] Mailman server url.
* servername: [string] Mailman server name.
* uniqueid: [string] Unique id of the mailman component.
\ No newline at end of file
<div class="uw-mailman"> <div id="uw-mailmain-{{ uniqueid }}" class="uw-mailman">
<form action="//{{ mailman.server }}/mailman/subscribe/{{ mailman.servername }}"> <form action="//{{ mailman.server }}/mailman/subscribe/{{ mailman.servername }}">
<div class="uw-mailman__label"><label for="{{ mailman.uniqueid }}">Email address:</label></div> <div class="uw-mailmain__label">
<div class="uw-mailman__email"> <label for="uw-mailmain__input-{{ mailman.uniqueid }}" class="uw-mailman__label--email">Email address:</label>
<input type="email" name="email" id="{{ mailman.uniqueid }}"> </div>
<input type="submit" value="Subscribe"> <div class="uw-mailmain__email">
{% include '@base/02-html-elements/27-input/input.twig' with {
'type': 'email',
'name': 'uw-mailmain-email',
'id': 'uw-mailmain__input-' ~ mailman.uniqueid
} %}
{% include '@base/02-html-elements/27-input/input--grey/input--grey.twig' with {
'type': 'submit',
'value': 'Subscribe'
} %}
</div> </div>
</form> </form>
</div> </div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment