Skip to content

Commit

Permalink
Minor template updates
Browse files Browse the repository at this point in the history
  • Loading branch information
elnappo committed Apr 30, 2019
1 parent fcd1fff commit ad553d6
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 39 deletions.
2 changes: 1 addition & 1 deletion project_novis/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
openapi.Info(
title="project novis API",
default_version='v1',
description="Ham radio API",
description="Ham radio API provided by project novis. API is in beta stage and not stable.",
terms_of_service="https://www.project-novis.org/terms/",
contact=openapi.Contact(email="help@project-novis.org", url="https://www.project-novis.org"),
license=openapi.License(name="MIT License", url="https://choosealicense.com/licenses/mit/"),
Expand Down
77 changes: 42 additions & 35 deletions project_novis/main/templates/marketing.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,74 +4,81 @@
{% block title %}project novis{% endblock %}

{% block extra_head %}
<style>
<style>
.jumbotron {
text-align: center;
background-color: transparent;
}

.jumbotron .btn {
padding: 14px 24px;
font-size: 21px;
}
</style>
</style>
{% endblock %}

{% block content_header %}
{% endblock %}

{% block content %}
<div class="alert alert-warning alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4><i class="icon fa fa-warning"></i> Beta</h4>
This site is in beta stage, use with caution. API is not stable yet. Please report problems or improvements to
<a href="mailto:feedback@project-novis.org?subject=Feedback%20project-novis">feedback@project-novis.org</a>.
</div>
<div class="alert alert-warning alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h4><i class="icon fa fa-warning"></i> Beta</h4>
This site is in beta stage, use with caution. API is not stable yet. Please report problems or improvements to
<a href="mailto:feedback@project-novis.org?subject=Feedback%20project-novis">feedback@project-novis.org</a>.
</div>

<div class="jumbotron">
<h1>Free & open amateur radio web services</h1>
<p class="lead">We want to establish a open and free platform for amateur radio related web services everyone can participate.</p>
<p class="lead">We want to establish a open and free platform for amateur radio related web services everyone can
participate.</p>
{% if not user.is_authenticated %}
<p><a class="btn btn-lg btn-success" href="{% url 'account_signup' %}" role="button">Get started today</a></p>
<p><a class="btn btn-lg btn-success" href="{% url 'account_signup' %}" role="button">Get started today</a></p>
{% endif %}
</div>

<div class="row">
<div class="col-lg-4">
<h2>OAuth Provider</h2>
<p>Use project novis as a <a href="https://en.wikipedia.org/wiki/OAuth" target="_blank" rel="noopener">OAuth</a> provider to authenticate users
to your amateur radio related service. As we are validating the ownership of call sings you can make sure that
a user owns a specific callsign. No more callsign validations required on different sites!</p>
<p><a class="btn btn-primary" href="{% url "oauth2_provider:list" %}" role="button">View details »</a></p>
<h2>Amateur Radio Database</h2>
<p>We try to build a database for many different use cases. Currently this includes callsigns, prefixes, DXCC
entries, repeater and DMR IDs. All available on this website or from a simple and modern API.</p>
<p><a class="btn btn-primary" href="{% url "project_novis.api:schema-swagger-ui" %}" role="button">View details
»</a></p>
</div>
<div class="col-lg-4">
<h2>Open-Source</h2>
<p>project novis is free and open-source software. We believe in the open amateur radio spirit and want to
provide an open platform for various tech related ham radio services. If you have am idea or missing something
feel free to open an issue on GitHub. Contributors wanted!</p>
<p><a class="btn btn-primary" href="https://github.com/elnappo/project-novis" target="_blank" rel="noopener"
role="button">View details »</a></p>
</div>
<div class="col-lg-4">
<h2>API</h2>
<p>We provide an open and modern REST API for all kinds of amateur radio applications. As our APIs are based on
Swagger/OpenAPI it can easily be integrated in your application with the help of auto-generated code. GraphQL
support is planed for the near future.</p>
<p><a class="btn btn-primary" href="{% url "project_novis.api:schema-swagger-ui" %}" role="button">View details »</a></p>
</div>
<div class="col-lg-4">
<h2>Hamnet Authentication</h2>
<p>At the moment authentication to Hamnet access points is suboptimal. We try to solve this problem and make
hamnet more secure by restricted access to to users which validated their callsign.
Therefore we provide a <a href="https://en.wikipedia.org/wiki/RADIUS" target="_blank" rel="noopener">RADIUS</a> server which can be used by
your access point with WPA2 Enterprise.</p>
<p><a class="btn btn-primary" href="#" role="button">View details »</a></p>
Swagger/OpenAPI it can easily be integrated in your application with the help of auto-generated code. GraphQL
support is planed for the near future.</p>
<p><a class="btn btn-primary" href="{% url "project_novis.api:schema-swagger-ui" %}" role="button">View details
»</a></p>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<h2>Open-Source</h2>
<p>project novis is free and open-source software. We believe in the open amateur radio spirit and want to
provide an open platform for various tech related ham radio services. If you have am idea or missing something
feel free to open an issue on GitHub. Contributors wanted!</p>
<p><a class="btn btn-primary" href="https://github.com/elnappo/project-novis" target="_blank" rel="noopener" role="button">View details »</a></p>
<h2>OAuth Provider</h2>
<p>Use project novis as a <a href="https://en.wikipedia.org/wiki/OAuth" target="_blank" rel="noopener">OAuth</a>
provider to authenticate users
to your amateur radio related service. As we are validating the ownership of call sings you can make sure that
a user owns a specific callsign. No more callsign validations required on different sites!</p>
<p><a class="btn btn-primary" href="{% url "oauth2_provider:list" %}" role="button">View details »</a></p>
</div>
<div class="col-lg-4">
<h2>Amateur Radio Database</h2>
<p>We try to build a database for many different use cases. Currently this includes callsigns, prefixes, DXCC
entries, repeater and DMR IDs. All available from a simple and modern API.</p>
<p><a class="btn btn-primary" href="{% url "project_novis.api:schema-swagger-ui" %}" role="button">View details »</a></p>
<h2>Hamnet Authentication</h2>
<p>At the moment authentication to Hamnet access points is suboptimal. We try to solve this problem and make
hamnet more secure by restricted access to to users which validated their callsign.
Therefore we provide a <a href="https://en.wikipedia.org/wiki/RADIUS" target="_blank"
rel="noopener">RADIUS</a> server which can be used by
your access point with WPA2 Enterprise.</p>
<p><a class="btn btn-primary" href="#" role="button">View details »</a></p>
</div>
</div>
{% endblock %}
2 changes: 1 addition & 1 deletion project_novis/main/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
# Flatpages
path('about/', views.flatpage, {'url': '/about/'}, name='about'),
path('privacy/', views.flatpage, {'url': '/privacy/'}, name='privacy'),
path('terms/', views.flatpage, {'url': '/terms/'}, name='terms'),
path('contrib/', views.flatpage, {'url': '/contrib/'}, name='contrib'),
path('help/', views.flatpage, {'url': '/help/'}, name='help'),
]
4 changes: 2 additions & 2 deletions project_novis/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h1>
{% endif %}

{% block content %}
<!--------------------------
<!--------------------------
| Your Page Content Here |
-------------------------->
{% endblock %}
Expand All @@ -159,7 +159,7 @@ <h1>
<footer class="main-footer">
<!-- To the right -->
<div class="pull-right hidden-xs">
<a href="{% url 'help' %}">Help</a> &bull; <a href="{% url 'privacy' %}">Privacy</a> &bull; <a href="{% url 'about' %}">About</a>
<a href="{% url 'about' %}">About</a> &bull; <a href="{% url 'privacy' %}">Privacy</a> &bull; <a href="{% url 'terms' %}">Terms</a> &bull; <a href="https://github.com/elnappo/project-novis" class="fa fa-github"></a>
</div>
<!-- Default to the left -->
Please submit feedback to <a href="mailto:feedback@project-novis.org">feedback@project-novis.org</a>
Expand Down

0 comments on commit ad553d6

Please sign in to comment.