mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Push Free Plan to 20MB 🤘
This commit is contained in:
parent
d844e540db
commit
814570801d
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ class Site < Sequel::Model
|
||||||
}
|
}
|
||||||
|
|
||||||
ONE_MEGABYTE_IN_BYTES = 1048576
|
ONE_MEGABYTE_IN_BYTES = 1048576
|
||||||
FREE_MAXIMUM_IN_MEGABYTES = 10
|
FREE_MAXIMUM_IN_MEGABYTES = 20
|
||||||
SUPPORTER_MAXIMUM_IN_MEGABYTES = 200
|
SUPPORTER_MAXIMUM_IN_MEGABYTES = 200
|
||||||
FREE_MAXIMUM_IN_BYTES = FREE_MAXIMUM_IN_MEGABYTES * ONE_MEGABYTE_IN_BYTES
|
FREE_MAXIMUM_IN_BYTES = FREE_MAXIMUM_IN_MEGABYTES * ONE_MEGABYTE_IN_BYTES
|
||||||
SUPPORTER_MAXIMUM_IN_BYTES = SUPPORTER_MAXIMUM_IN_MEGABYTES * ONE_MEGABYTE_IN_BYTES
|
SUPPORTER_MAXIMUM_IN_BYTES = SUPPORTER_MAXIMUM_IN_MEGABYTES * ONE_MEGABYTE_IN_BYTES
|
||||||
|
|
|
@ -76,12 +76,12 @@
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<input type="radio" name="plan" value="free" <%= params[:plan].nil? || params[:plan] == 'free' ? 'checked' : '' %>>
|
<input type="radio" name="plan" value="free" <%= params[:plan].nil? || params[:plan] == 'free' ? 'checked' : '' %>>
|
||||||
<span><strong>Free Plan (10MB)</strong></span>
|
<span><strong>Free Plan (<%= Site::FREE_MAXIMUM_IN_MEGABYTES %>MB)</strong></span>
|
||||||
</div>
|
</div>
|
||||||
<a name="plan_error_link"></a>
|
<a name="plan_error_link"></a>
|
||||||
<div>
|
<div>
|
||||||
<input id="supporter" type="radio" name="plan" value="supporter" <%= params[:plan] == 'supporter' ? 'checked' : '' %>>
|
<input id="supporter" type="radio" name="plan" value="supporter" <%= params[:plan] == 'supporter' ? 'checked' : '' %>>
|
||||||
<span><strong>Supporter Plan (200MB)</strong></span>
|
<span><strong>Supporter Plan (<%= Site::SUPPORTER_MAXIMUM_IN_MEGABYTES %>MB)</strong></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="plan_container" style="margin-top:20px; display: none">
|
<div id="plan_container" style="margin-top:20px; display: none">
|
||||||
|
|
Loading…
Add table
Reference in a new issue