Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
{% extends 'layouts/base.njk' %}
{% block main %}
<form name="new-lolly" action="/new" method="POST">
<div class="lolly">
<div class="giftLolly">
{% include "svg/lolly-image.svg" %}
<div class="flavours">
<label for="flavourTop" class="pickerLabel">
<input type="color" class="colourpicker" id="flavourTop" name="flavourTop" value="#d52358" />
<label for="flavourMiddle" class="pickerLabel">
<input type="color" class="colourpicker" id="flavourMiddle" name="flavourMiddle" value="#e95946" />
<label for="flavourBottom" class="pickerLabel">
<input type="color" class="colourpicker" id="flavourBottom" name="flavourBottom" value="#deaa43" />
<div class="info">
<div class="details">
<label for="recipientName">To</label>
<input type="text" id="recipientName" name="recipientName" placeholder="A {{ localize["lolly"] }} for..." />
<div class="message">
<label for="message">Say something nice</label>
<textarea name="message" id="message" cols="30" rows="10"></textarea>
<label for="sendersName">From</label>
<input type="text" id="sendersName" name="sendersName" placeholder="from your friend..." />
<input type="submit" value="Freeze this {{ localize["lolly"] }} and get a link">
{% endblock %}
{% block scripts %}
{% set js %}
{% include "js/core.js" %}
{% include "js/colorPicker.js" %}
{% endset %}
<script>{{ js | jsmin | safe }}</script>
{% endblock %}