~yerinalexey/gobin

1cb80e408f3bac9097c3597856e14b32beafab2b — Alexey Yerin 1 year, 1 month ago e2fb6a3
feat: checkbox for public status
2 files changed, 9 insertions(+), 0 deletions(-)

M static/style.css
M templates/new.html
M static/style.css => static/style.css +4 -0
@@ 69,6 69,10 @@ main {
  border-color: #3c6dd6;
}

.form__checkbox {
  margin: 0.6rem;
}

.form__button {
  background: #297c2a;
  color: #eee;

M templates/new.html => templates/new.html +5 -0
@@ 14,6 14,11 @@
        placeholder="Paste contents"
      ></textarea>

      <div class="form__checkbox">
        <label for="public">Is public?</label>
        <input type="checkbox" name="public" id="public" />
      </div>

      <input class="form__button" type="submit" value="Paste!" />
    </form>
  </body>