Skip to content

Commit

Permalink
Djongo Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
nesdis committed Aug 6, 2021
1 parent 184b549 commit c731fbc
Show file tree
Hide file tree
Showing 34 changed files with 219 additions and 243 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
dist/
build/
venv/
venv3.8/
venv_py38_dj30/
.idea/
.tox/
*__pycache__*
*egg-info/


docs/.sass-cache/*
docs/_site/*
tests/logs

Gemfile.lock
upload.sh

/docs/.jekyll-metadata
3 changes: 2 additions & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,14 @@ defaults:
notice:
not_ready: "Parts of this feature are still under development.\n{: .notice--warning}"
_support: "If you are an enterprise that uses Djongo in your products, contact us for long term support and [licensing options](/support/).\n{: .notice--danger}"
not_standard: "Features under development in this section come preinstalled on the Djongo Webserver. Visit the [support page](/support/) for more information.\n{: .notice--danger}"
not_standard: "Features under development in this section come preinstalled on DjongoCS. Visit the [support page](/support/) for more information.\n{: .notice--danger}"
layout: single
read_time: false
author_profile: false
share: false
comments: false
toc: true
toc_sticky: true
sidebar:
nav: "docs"

14 changes: 7 additions & 7 deletions docs/_data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# main links
main:
- title: "Server"
url: /server/
- title: "Support"
url: /support/
- title: "Docs"
url: /get-started/
- title: "DjongoCS"
url: /djongocs/
- title: "Support"
url: /support/

docs:
- title: "Djongo"
Expand All @@ -23,7 +23,7 @@ docs:
- title: "Other fields"
url: /using-django-with-other-fields/

- title: "Djongo Server"
- title: "DjongoCS"
# url: /djongonxt/
children:
- title: "Indexes"
Expand Down Expand Up @@ -56,6 +56,6 @@ docs:

server:
- title: "Info"
url: /server/
url: /djongocs/
- title: "Control"
url: /server/control
url: /djongocs/control
2 changes: 2 additions & 0 deletions docs/_data/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ forms:
name: userName
required: ''
autocomplete: username
title: 'Only alphanumeric characters'
pattern: '[a-z0-9]{4,8}'

- type: input
label: "Password"
Expand Down
10 changes: 5 additions & 5 deletions docs/_data/support/tire_column.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ form:
required: true

tires:
- title: Djongo Webserver
- title: DjongoCS
price: 15
url: webserver
url: djongocs/create-account/
benefits:
- A VM instance for deploying your Djongo powered APIs.
- An unique API endpoint that is accessible from the web.
- Unique API endpoint, accessible from the web.

- title: Basic Support
price: 59
url: discord-support
url: contact/discord-support/
benefits:
- You get access to the *priority discussion board* on Discord.
- Resolution time within 2 - 4 weeks.

- title: Premium Support
price: 149
per_hour: true
url: book-a-debug
url: contact/book-a-debug/
benefits:
- Issue resolved within the next day.
- Email support.
Expand Down
20 changes: 11 additions & 9 deletions docs/_data/support/tire_form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,8 @@ webserver:
name: userName
required: ''
autocomplete: username

- type: input
label: "Email"
attr:
type: email
name: email
placeholder: "[email protected]"
required: ''
autocomplete: email
title: 'Alphanumeric characters: min 4, max 8'
pattern: '[a-z0-9]{4,8}'

- type: input
label: "Password"
Expand All @@ -77,6 +70,15 @@ webserver:
required: ''
autocomplete: new-password

- type: input
label: "Email"
attr:
type: email
name: email
placeholder: "[email protected]"
required: ''
autocomplete: email

- type: input
attr:
type: submit
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/feature_page/support/tire.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
PER MONTH
{% endif %}
</div>
<a class="btn btn--success btn--large" href="/support/contact/{{ tire.url }}">Apply</a>
<a class="btn btn--success btn--large" href="/support/{{ tire.url }}">Apply</a>
<div itemprop="description">
<ul>
{% for b in tire.benefits %}
Expand Down
26 changes: 0 additions & 26 deletions docs/_includes/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,6 @@
{% endfor %}
>
{% if field.label %}</label>{% endif %}

{% elsif field.type == 'text' %}
<label>{{ field.label }}
<input name="{{ field.name }}" type="text" {% if field.required %}required{% endif %}>
</label>
{% elsif field.type == 'current-password'
or field.type == 'new-password' %}
<label>{{ field.label }}
<input name="{{ field.name }}"
type="password"
required autocomplete="{{ field.type }}">
</label>
{% elsif field.type == 'textarea' %}
<label>{{ field.label }}
<textarea name="{{ field.name }}" rows="3"></textarea>
</label>
{% elsif field.type == 'email' %}
<label>{{ field.label }}
<input name="{{ field.name }}"
type="email"
autocomplete="email"
{% if field.required %}required{% endif %}
{% if field.placeholder %}placeholder="{{ field.placeholder }}" {% endif %}>
</label>
{% elsif field.type == 'submit' %}
<input class="btn btn--primary btn--large" type="submit" value="{{ field.value }}">
{% endif %}
{% endfor %}
<input type="hidden" name="_subject" value="{{ subject }}">
Expand Down
8 changes: 5 additions & 3 deletions docs/_includes/head/custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
{% include vendors/hotjar.html %}

<script src="{{ '/assets/js/cookie-consent.js' | relative_url }}"></script>
{% if page.permalink == '/server/' %}
<script type="module" src="{{ '/assets/js/client.js' | relative_url }}"></script>
{% elsif page.permalink == '/server/login/'%}
{% if page.permalink == '/djongocs/' %}
<script type="module" src="{{ '/assets/js/dashboard.js' | relative_url }}"></script>
{% elsif page.permalink == '/djongocs/login/'%}
<script type="module" src="{{ '/assets/js/login.js' | relative_url }}"></script>
{% elsif page.permalink == '/support/djongocs/create-account/'%}
<script type="module" src="{{ '/assets/js/create-account.js' | relative_url }}"></script>
{% endif %}
<!-- end custom head snippets -->
8 changes: 8 additions & 0 deletions docs/_sass/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,11 @@ $feature-margin-bottom: 1em;
min-width: 0;
}
}

.is-hidden {
display: none;
}

h2.reset-border {
border-bottom: none;
}
22 changes: 0 additions & 22 deletions docs/assets/js/client.js

This file was deleted.

15 changes: 1 addition & 14 deletions docs/assets/js/cookie-consent.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/assets/js/create-account.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/assets/js/dashboard.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file added docs/assets/js/login.js
Empty file.
2 changes: 1 addition & 1 deletion docs/assets/js/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Djongo Webserver
permalink: /server/
title: DjongoCS
permalink: /djongocs/
layout: docs
toc: false
sidebar:
Expand Down
6 changes: 5 additions & 1 deletion docs/docs/webserver/login.md → docs/docs/djongoCS/login.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
---
title: Djongo Support
layout: splash
permalink: /server/login/
permalink: /djongocs/login/
classes:
- empty-header
- l-splash
---

# DjongoCS Login

{% include form.html
form=site.data.server.forms.login %}

[Create Account](/support/djongocs/create-account/)
{: .text-center}
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit c731fbc

Please sign in to comment.