diff --git a/public/assets/img/drag-drop.png b/public/assets/img/drag-drop.png new file mode 100644 index 00000000..d7ad84f9 Binary files /dev/null and b/public/assets/img/drag-drop.png differ diff --git a/public/assets/img/heartcat.png b/public/assets/img/heartcat.png new file mode 100644 index 00000000..2c80338c Binary files /dev/null and b/public/assets/img/heartcat.png differ diff --git a/public/assets/img/new-folder.png b/public/assets/img/new-folder.png new file mode 100644 index 00000000..ca323e13 Binary files /dev/null and b/public/assets/img/new-folder.png differ diff --git a/public/assets/img/new-page.png b/public/assets/img/new-page.png new file mode 100644 index 00000000..6335cc30 Binary files /dev/null and b/public/assets/img/new-page.png differ diff --git a/public/assets/img/welcome-close.png b/public/assets/img/welcome-close.png new file mode 100644 index 00000000..b72ba055 Binary files /dev/null and b/public/assets/img/welcome-close.png differ diff --git a/views/dashboard.erb b/views/dashboard.erb new file mode 100644 index 00000000..39f4ef0e --- /dev/null +++ b/views/dashboard.erb @@ -0,0 +1,110 @@ + + +
+
+ + + +
+

My Website

+

http://<%= current_site.username %>.neocities.org

+
    +<% if current_site.updated_at %> +
  • Last updated <%= current_site.updated_at %>
  • +<% end %> +
  • Using <%= ((current_site.total_space.to_f / Site::MAX_SPACE) * 100).round(1) %>% of your <%= (Site::MAX_SPACE.to_f / 2**20).to_i %> MB of free space
  • +
  • <%= current_site.hits.to_s.reverse.gsub(/...(?=.)/,'\&,').reverse %> visitors
  • +
+
+ +
+
+ +
+ +
+ +
+
+

Hello! Welcome to your new site.

+ To get started, click on the index.html file below to edit it. It's your home page! You can add more files (such as images) from your computer by dragging them into the box below. Need help building web sites? Check out these tutorials! +
+ +
+
+ + +
+
+
+ + <% current_site.file_list.each do |file| %> + + <% if file.ext.match(/jpg|png|bmp|gif/) %> + <%= file.filename %> + <% else %> + <%= file.filename %> + <% end %> + + + <% if file.ext.match(/html|htm|txt|js|css|md/) %> + + <% else %> + + <% end %> + + + <% if file.filename != 'index.html' %> + + <% else %> + + <% end %> + <% end %> +
+
+
+ +
+ + +
+ + + + + +
+
\ No newline at end of file