Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV URL=http://developer.rebble.io
ENV HTTPS_URL=https://developer.rebble.io
ENV EXTERNAL_SERVER=https://example.com
ENV EXTERNAL_SERVER=https://events.rebble.io
ENV SKIP_DOCS=true
ENV JEKYLL_ENV=production

Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ url: https://developer.rebble.io
https_url: https://developer.rebble.io
baseurl:
asset_path: /assets
external_server: https://developer-api.getpebble.com
external_server: https://events.rebble.io

title: Pebble Developers
description: The official developer website for the Pebble smartwatch.
Expand Down
23 changes: 14 additions & 9 deletions source/_includes/community/events/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@
{% endcomment %}

<form action="{{ site.data_server }}/events/submit" method="post" id="js-events-form">
<div class="gray-box">
<h3>Add an Event</h3>
<div>
<h3>Adding a new event</h3>
<p>You can add events to the list (<code>events.yml</code>) by
<a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork">creating a Pull Request</a>
targetting the
<a href="https://github.com/pebble-dev/rebble-events">Events GitHub repository</a>.</p>

<p>We don't just accept submission by the event organizers, we want to create a
comprehensive list, so if you are aware of a trustworthy public event, we would
like to know about it.</p>
<p>Below is a convinience form to help you submit properly formatted YAML with all the details we need in the submissions.</p>
<div class="alert" id="form-errors" style="display: none;"></div>
<div class="row">
<div class="col-m-6">
<div class="form__group">
<label for="submission_name">Your Name</label><input type="text" id="event-name" name="submission_name">
</div>
<div class="form__group">
<label for="email">Email Address</label><input type="email" id="event-email" name="submission_email">
</div>
<div class="form__group">
<label for="title">Event Title</label><input type="text" id="event-title" name="title">
</div>
Expand Down Expand Up @@ -57,8 +60,10 @@ <h3>Add an Event</h3>
<div class="form__group">
<label for="details">Details</label><textarea id="event-description" name="details" rows=5></textarea></div>

<p style="text-right"><input type="submit" value="Submit" class="btn btn--fg-white btn--bg-green"></p>
<p style="text-right"><input type="submit" value="Generate" class="btn btn--fg-white btn--bg-green"></p>
</div>
</div>
<p>Output:</p>
<pre class="gray-box" id="js-events-form-output"></pre>
</div>
</form>
Loading