mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Merge branch 'newdesign' of github.com:kyledrake/neocities-web into newdesign
This commit is contained in:
commit
b2aacfe34d
8 changed files with 248 additions and 227 deletions
|
@ -6,7 +6,7 @@
|
||||||
.header-Base{
|
.header-Base{
|
||||||
background:#65a0ad;
|
background:#65a0ad;
|
||||||
border-bottom:6px solid #e93250;
|
border-bottom:6px solid #e93250;
|
||||||
min-height:47px;
|
min-height:42px;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -181,11 +181,16 @@
|
||||||
.status-Nav{
|
.status-Nav{
|
||||||
float:right;
|
float:right;
|
||||||
|
|
||||||
li{float:left}
|
|
||||||
|
|
||||||
@media (max-device-width:480px), screen and (max-width:800px){
|
@media (max-device-width:480px), screen and (max-width:800px){
|
||||||
float:none;
|
float:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li{
|
||||||
|
float:left;
|
||||||
|
@media (max-device-width:480px), screen and (max-width:800px){
|
||||||
|
float:none
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// hp CSS
|
// hp CSS
|
||||||
|
@ -261,5 +266,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.interior .header-Nav{
|
.interior .header-Nav{
|
||||||
padding-left:70px
|
padding-left:70px;
|
||||||
|
@media (max-device-width:480px), screen and (max-width:800px){
|
||||||
|
width:100%;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.interior .constant-Nav{margin:0}
|
||||||
|
|
|
@ -934,7 +934,7 @@ a {
|
||||||
.header-Base {
|
.header-Base {
|
||||||
background: #65a0ad;
|
background: #65a0ad;
|
||||||
border-bottom: 6px solid #e93250;
|
border-bottom: 6px solid #e93250;
|
||||||
min-height: 47px;
|
min-height: 42px;
|
||||||
overflow: hidden; }
|
overflow: hidden; }
|
||||||
|
|
||||||
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
||||||
|
@ -1083,10 +1083,13 @@ a {
|
||||||
|
|
||||||
.status-Nav {
|
.status-Nav {
|
||||||
float: right; }
|
float: right; }
|
||||||
|
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
||||||
|
.status-Nav {
|
||||||
|
float: none; } }
|
||||||
.status-Nav li {
|
.status-Nav li {
|
||||||
float: left; }
|
float: left; }
|
||||||
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
||||||
.status-Nav {
|
.status-Nav li {
|
||||||
float: none; } }
|
float: none; } }
|
||||||
|
|
||||||
.hp .header-Base {
|
.hp .header-Base {
|
||||||
|
@ -1156,6 +1159,12 @@ a {
|
||||||
|
|
||||||
.interior .header-Nav {
|
.interior .header-Nav {
|
||||||
padding-left: 70px; }
|
padding-left: 70px; }
|
||||||
|
@media (max-device-width: 480px), screen and (max-width: 800px) {
|
||||||
|
.interior .header-Nav {
|
||||||
|
width: 100%; } }
|
||||||
|
|
||||||
|
.interior .constant-Nav {
|
||||||
|
margin: 0; }
|
||||||
|
|
||||||
.content-Base {
|
.content-Base {
|
||||||
background: #f6f0e6;
|
background: #f6f0e6;
|
||||||
|
|
2
public/assets/css/neo.min.css
vendored
2
public/assets/css/neo.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -9,10 +9,11 @@ javascript:
|
||||||
$('#deleteFilenameForm').submit();
|
$('#deleteFilenameForm').submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
.row
|
.content-Base
|
||||||
.span5.offset1
|
.row.content
|
||||||
|
.col.col-60
|
||||||
|
|
||||||
h1 Your home page
|
h1 Your Website
|
||||||
|
|
||||||
- current_site.file_list.each do |file|
|
- current_site.file_list.each do |file|
|
||||||
.row
|
.row
|
||||||
|
@ -49,20 +50,20 @@ javascript:
|
||||||
a href="http://#{current_site.username}.neocities.org/#{file.filename}" target="_blank" View <br>
|
a href="http://#{current_site.username}.neocities.org/#{file.filename}" target="_blank" View <br>
|
||||||
a href="#" onclick="confirmFileDelete('#{file.filename}')" Delete
|
a href="#" onclick="confirmFileDelete('#{file.filename}')" Delete
|
||||||
|
|
||||||
.span5
|
.col.col-40
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.span5
|
.span5
|
||||||
|
|
||||||
a href="http://#{current_site.username}.neocities.org" target="_blank": img src="/site_screenshots/#{current_site.username}.jpg"
|
a href="http://#{current_site.username}.neocities.org" target="_blank": img src="/site_screenshots/#{current_site.username}.jpg"
|
||||||
|
|
||||||
h3 style="color: green": a href="http://#{current_site.username}.neocities.org" target="_blank" http://#{current_site.username}.neocities.org
|
h3 class="eps": a href="http://#{current_site.username}.neocities.org" target="_blank" http://#{current_site.username}.neocities.org
|
||||||
br
|
br
|
||||||
|
|
||||||
.progress.progress-info.progress-striped
|
.progress.progress-info.progress-striped
|
||||||
.bar style="width: #{(current_site.total_space / Site::MAX_SPACE.to_f) * 100}%"
|
.bar style="width: #{(current_site.total_space / Site::MAX_SPACE.to_f) * 100}%"
|
||||||
|
|
||||||
h4 You are currently using #{((current_site.total_space.to_f / Site::MAX_SPACE) * 100).round(1)}% (#{(current_site.total_space.to_f / 2**20).round(2)}MB) of your #{(Site::MAX_SPACE.to_f / 2**20).to_i}MB of free space.
|
h4 class="base": You are currently using #{((current_site.total_space.to_f / Site::MAX_SPACE) * 100).round(1)}% (#{(current_site.total_space.to_f / 2**20).round(2)}MB) of your #{(Site::MAX_SPACE.to_f / 2**20).to_i}MB of free space.
|
||||||
|
|
||||||
.row style="margin-top: 20px"
|
.row style="margin-top: 20px"
|
||||||
.span5
|
.span5
|
||||||
|
|
|
@ -14,7 +14,7 @@ html
|
||||||
link href="/assets/css/neo.min.css" rel="stylesheet" type="text/css" media="all"
|
link href="/assets/css/neo.min.css" rel="stylesheet" type="text/css" media="all"
|
||||||
script src="/assets/scripts/nav.min.js"
|
script src="/assets/scripts/nav.min.js"
|
||||||
|
|
||||||
body
|
body.interior
|
||||||
a id="top"
|
a id="top"
|
||||||
|
|
||||||
== erb :'_header', layout: false
|
== erb :'_header', layout: false
|
||||||
|
|
|
@ -11,7 +11,8 @@ javascript:
|
||||||
- @site.errors.each do |error|
|
- @site.errors.each do |error|
|
||||||
p = error.last.first
|
p = error.last.first
|
||||||
|
|
||||||
.row
|
.page
|
||||||
|
.row.content
|
||||||
.span8.offset3
|
.span8.offset3
|
||||||
form method="POST" action="/create"
|
form method="POST" action="/create"
|
||||||
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
||||||
|
@ -76,4 +77,4 @@ javascript:
|
||||||
|
|
||||||
.row style="margin-top: 10px"
|
.row style="margin-top: 10px"
|
||||||
.span3.offset1
|
.span3.offset1
|
||||||
input.btn.btn-success.btn-large type="submit" value="Create Home Page"
|
input.btn-Action type="submit" value="Create Home Page"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
.row
|
.page
|
||||||
|
.row.content
|
||||||
.span12.text-center
|
.span12.text-center
|
||||||
h1 Site Settings
|
h1 Site Settings
|
||||||
|
|
||||||
|
@ -29,7 +30,7 @@
|
||||||
p Confirm New Password:
|
p Confirm New Password:
|
||||||
input name="new_password_confirm" type="password"
|
input name="new_password_confirm" type="password"
|
||||||
|
|
||||||
input.btn.btn-success type="submit" value="Change Password"
|
input.btn-Action type="submit" value="Change Password"
|
||||||
.span4
|
.span4
|
||||||
h2 Change Site (User) Name
|
h2 Change Site (User) Name
|
||||||
|
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
p New name:
|
p New name:
|
||||||
input name="name" type="text" placeholder="newname"
|
input name="name" type="text" placeholder="newname"
|
||||||
div
|
div
|
||||||
input.btn.btn-success type="submit" value="Change Name"
|
input.btn-Action type="submit" value="Change Name"
|
||||||
|
|
||||||
.span4
|
.span4
|
||||||
h2 Mark Adult Content
|
h2 Mark Adult Content
|
||||||
|
@ -55,4 +56,4 @@
|
||||||
input name="is_nsfw" type="hidden" value="false"
|
input name="is_nsfw" type="hidden" value="false"
|
||||||
p: strong My page contains objectionable (adult) content: <input name="is_nsfw" type="checkbox" value="true" style="margin-top: 0px" #{"checked" if current_site.is_nsfw}>
|
p: strong My page contains objectionable (adult) content: <input name="is_nsfw" type="checkbox" value="true" style="margin-top: 0px" #{"checked" if current_site.is_nsfw}>
|
||||||
|
|
||||||
input.btn.btn-success type="submit" value="Update"
|
input.btn-Action type="submit" value="Update"
|
|
@ -1,16 +1,15 @@
|
||||||
.text-center
|
.page
|
||||||
.row
|
.content.single-Col
|
||||||
.span12
|
|
||||||
h1 Welcome back!
|
h1 Welcome back!
|
||||||
.row
|
|
||||||
.span12
|
|
||||||
form method="POST" action="/signin"
|
form method="POST" action="/signin"
|
||||||
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
input name="csrf_token" type="hidden" value="#{csrf_token}"
|
||||||
|
|
||||||
fieldset
|
fieldset
|
||||||
div: input name="username" type="text" placeholder="Your username" autocapitalize="off" autocorrect="off"
|
div: input name="username" type="text" placeholder="Your username" class="input-Area" autocapitalize="off" autocorrect="off"
|
||||||
div: input name="password" type="password" placeholder="Your password"
|
div: input name="password" type="password" class="input-Area" placeholder="Your password"
|
||||||
div: button class="btn btn-large btn-success" href="#" style="margin-top: 10px" Sign in
|
div: button class="btn-Action" href="#" Sign in
|
||||||
.row
|
.row
|
||||||
.span12
|
.span12
|
||||||
div
|
div
|
||||||
|
|
Loading…
Add table
Reference in a new issue