Skip to content

Commit

Permalink
Remove
Browse files Browse the repository at this point in the history
  • Loading branch information
an-dev committed Dec 15, 2020
1 parent ba9f2c1 commit 00efe00
Show file tree
Hide file tree
Showing 23 changed files with 6 additions and 327 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ django-appconf==1.0.4
django-celery-email==3.0.0
django-heroku==0.3.1
django-model-utils==4.0.0
django-markdownx==3.0.1
gunicorn==20.0.4
idna==2.8
importlib-metadata==1.6.0
Expand Down
40 changes: 0 additions & 40 deletions templates/blog/index.html

This file was deleted.

37 changes: 0 additions & 37 deletions templates/blog/post.html

This file was deleted.

16 changes: 1 addition & 15 deletions templates/web/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta
name="description"
content={% block description %}"Native Slack integration for Calendly. Receive Slack messages for new scheduled and cancelled events. No other third party needed."{% endblock %}
content="Native Slack integration for Calendly. Receive Slack messages for new scheduled and cancelled events. No other third party needed."
/>
<meta name="slack-app-id" content="AS7JCAATV">
<meta name="theme-color" content="#003c5b">
Expand Down Expand Up @@ -76,7 +76,6 @@
</button>
<div class="navbar-collapse collapse">
<ul class="navbar-nav ml-auto text-center">
{% if not blog_nav %}
<li class="nav-item">
<a class="nav-link" href="/#how-it-works">How it works</a>
</li>
Expand All @@ -85,19 +84,6 @@
</li>
{% block pricing %}
{% endblock %}
<li class="nav-item">
<a class="nav-link" href="/blog/">Blog</a>
</li>
{% else %}
<li class="nav-item">
<a class="nav-link" href="https://twitter.com/calenduckapp">
<i class="fab fa-twitter"></i>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/">Go back Home</a>
</li>
{% endif %}
{% block cta %}
{% endblock %}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion templates/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h2 class="h1 font-weight-bold">Filter incoming events</h2>
</div>
</section>

<section>
<section class="cbot-bg text-light">
<div class="container my-5 py-5">
<div class="row align-items-center justify-content-center">
<div class="col-lg-5 order-lg-2">
Expand Down
Empty file removed web/blog/__init__.py
Empty file.
14 changes: 0 additions & 14 deletions web/blog/admin.py

This file was deleted.

5 changes: 0 additions & 5 deletions web/blog/apps.py

This file was deleted.

1 change: 0 additions & 1 deletion web/blog/data/dump.json

This file was deleted.

33 changes: 0 additions & 33 deletions web/blog/migrations/0001_initial.py

This file was deleted.

19 changes: 0 additions & 19 deletions web/blog/migrations/0002_auto_20200604_1301.py

This file was deleted.

19 changes: 0 additions & 19 deletions web/blog/migrations/0003_post_description.py

This file was deleted.

23 changes: 0 additions & 23 deletions web/blog/migrations/0004_auto_20200604_2252.py

This file was deleted.

18 changes: 0 additions & 18 deletions web/blog/migrations/0005_auto_20200604_2256.py

This file was deleted.

Empty file removed web/blog/migrations/__init__.py
Empty file.
27 changes: 0 additions & 27 deletions web/blog/models.py

This file was deleted.

Empty file removed web/blog/templatetags/__init__.py
Empty file.
12 changes: 0 additions & 12 deletions web/blog/templatetags/markdown_extras.py

This file was deleted.

7 changes: 0 additions & 7 deletions web/blog/urls.py

This file was deleted.

27 changes: 0 additions & 27 deletions web/blog/views.py

This file was deleted.

3 changes: 3 additions & 0 deletions web/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class SubscriptionInline(admin.StackedInline):

class WorkspaceAdmin(admin.ModelAdmin):
inlines = (SubscriptionInline,)
search_fields = ('name', 'slack_id', 'bot_token', 'user_count', 'trial_end', 'created', 'modified')
fields = ('name', 'slack_id', 'bot_token', 'user_count', 'trial_end', 'created', 'modified')
readonly_fields = ('slack_id', 'bot_token', 'user_count', 'created', 'modified')

Expand All @@ -28,6 +29,8 @@ class FiltersInline(admin.StackedInline):

class SlackUserAdmin(admin.ModelAdmin):
inlines = (WebhooksInline, FiltersInline)
search_fields = ('slack_id', 'slack_name', 'slack_email', 'calendly_email', 'calendly_authtoken', 'created',
'modified')
fields = (
'slack_id', 'slack_name', 'slack_email', 'calendly_email', 'calendly_authtoken', 'created',
'modified', 'workspace')
Expand Down
2 changes: 0 additions & 2 deletions web/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
'django.contrib.messages',
'django.contrib.sitemaps',
'web.core',
'web.blog',
'djcelery_email',
'markdownx'
]

MIDDLEWARE = [
Expand Down
Loading

0 comments on commit 00efe00

Please sign in to comment.