mirror of
https://github.com/neocities/neocities.git
synced 2025-07-25 11:58:28 +02:00
initial contact form for domain registration
This commit is contained in:
parent
f026d9d5fe
commit
47c0e52d93
7 changed files with 1051 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
|||
<div class="tabbable" style="margin-top: 20px"> <!-- Only required for left/right tabs -->
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#profile" data-toggle="tab">Profile</a></li>
|
||||
<li><a href="#domain" data-toggle="tab">Domain Name</a></li>
|
||||
<li><a href="#custom_domain" data-toggle="tab">Custom Domain</a></li>
|
||||
<li><a href="#username" data-toggle="tab">Change Site (User) Name</a></li>
|
||||
|
||||
|
@ -37,6 +38,9 @@
|
|||
<div class="tab-pane active" id="profile">
|
||||
<%== erb :'settings/site/profile' %>
|
||||
</div>
|
||||
<div class="tab-pane" id="domain">
|
||||
<%== erb :'settings/site/domain' %>
|
||||
</div>
|
||||
<div class="tab-pane" id="custom_domain">
|
||||
<%== erb :'settings/site/custom_domain' %>
|
||||
</div>
|
||||
|
|
12
views/settings/site/domain.erb
Normal file
12
views/settings/site/domain.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
<h2>Create a domain name</h2>
|
||||
<h3 class="subtitle">Register a domain name for your Neocities site!</h3>
|
||||
|
||||
<p>
|
||||
Neocities now allows you to create a domain name for your site directly through Neocities. Instead of being at <%= current_site.username %>.neocities.org, your site would be accessible via your full domain name (example.com). You get one free domain per Neocities account.
|
||||
</p>
|
||||
|
||||
<% if parent_site.supporter? %>
|
||||
<a href="/domain/new">Register your domain name now</a>
|
||||
<% else %>
|
||||
<strong>Getting a domain name requires a Supporter account. <a href="/plan">Upgrade now</a>.</strong>
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue