forked from gitcoinco/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66b4a8a
commit 4fb0e45
Showing
7 changed files
with
69 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
{% extends 'settings/settings.html' %} | ||
{% load i18n static %} | ||
|
||
{% block settings_content %} | ||
<form id="settings" method="POST"> | ||
<div class="form-group"> | ||
<h5>{% trans "Slack Integration" %}</h5> | ||
<label class="form__label" for="token">{% trans "Slack API token" %}</label> | ||
<input type="text" name="token" class="form__input" placeholder='API token' value="{{ es.slack_token }}"> | ||
</div> | ||
<div class="form-group"> | ||
<label class="form__label" for="repos">{% trans "Github repos to monitor" %}</label> | ||
<input type="text" name="repos" class="form__input" placeholder='comma, separated, list' value="{{ repos }}"> | ||
</div> | ||
<div class="form-group"> | ||
<label class="form__label" for="channel">{% trans "Slack channel to post to" %}</label> | ||
<input type="text" name="channel" class="form__input" value="{{ es.slack_channel }}"> | ||
</div> | ||
{% csrf_token %} | ||
<input class='button button--primary' type='submit' name='submit' value="Go"> | ||
</form> | ||
<form id="settings" method="POST"> | ||
<div class="form-group"> | ||
<h5>{% trans "Slack Integration" %}</h5> | ||
<label class="form__label" for="token">{% trans "Slack API token" %}</label> | ||
<input type="text" name="token" class="form__input" placeholder='API token' value="{{ profile.slack_token }}"> | ||
</div> | ||
{% endblock %} | ||
<div class="form-group"> | ||
<label class="form__label" for="repos">{% trans "Github repos to monitor" %}</label> | ||
<input type="text" name="repos" class="form__input" placeholder='comma, separated, list' value="{{ repos }}"> | ||
</div> | ||
<div class="form-group"> | ||
<label class="form__label" for="channel">{% trans "Slack channel to post to" %}</label> | ||
<input type="text" name="channel" class="form__input" value="{{ profile.slack_channel }}"> | ||
</div> | ||
{% csrf_token %} | ||
<input class='button button--primary' type='submit' name='submit' value="Go"> | ||
</form> | ||
</div> | ||
{% endblock %} |