From 41f0c782fa68aa01b5b8f1d4f5638c948ba702b9 Mon Sep 17 00:00:00 2001 From: magnolia-fan Date: Fri, 24 Jun 2011 01:43:34 +0400 Subject: [PATCH] Folders reorganize complete --- public/index.html | 40 +++++++++++++++++----------------- public/js/beathaven/ajax.js | 12 +++------- public/templates/search.html | 13 +++++++++++ public/templates/settings.html | 32 +++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 29 deletions(-) create mode 100644 public/templates/search.html create mode 100644 public/templates/settings.html diff --git a/public/index.html b/public/index.html index cb60d83..7269b8b 100644 --- a/public/index.html +++ b/public/index.html @@ -3,26 +3,26 @@ BetaHaven - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/public/js/beathaven/ajax.js b/public/js/beathaven/ajax.js index 3ee9fdf..0674ded 100644 --- a/public/js/beathaven/ajax.js +++ b/public/js/beathaven/ajax.js @@ -30,27 +30,21 @@ var Ajax = { }, loadSearchPage: function() { - $.get('/search.html', function(data){ + $.get('/templates/search.html', function(data){ Ajax.setArchor('/search/'); Pages.renderSearch(data); }) }, loadSettingsPage: function() { - $.get('/settings.html', function(data){ + $.get('/templates/settings.html', function(data){ Ajax.setArchor('/settings/'); Pages.renderSettings(data); }) }, - loadWheePage: function() { - $.get('/demo/whee.html', function(data){ - $('#data-container .inner').html(data); - }) - }, - load404Page: function() { - $.get('/demo/404.html', function(data){ + $.get('/404.html', function(data){ $('#data-container .inner').html(data); beathaven.redrawScrollbar(); }) diff --git a/public/templates/search.html b/public/templates/search.html new file mode 100644 index 0000000..93199b3 --- /dev/null +++ b/public/templates/search.html @@ -0,0 +1,13 @@ +
+
+ + +
+ +
Artist info is loading for the first time now. Usually it takes less than a minute, please wait a bit.
+
+
+
Misspelled?
+
    +
    +
    \ No newline at end of file diff --git a/public/templates/settings.html b/public/templates/settings.html new file mode 100644 index 0000000..dee94f3 --- /dev/null +++ b/public/templates/settings.html @@ -0,0 +1,32 @@ +
    +
    +
    +
    Account
    +
    +
    Last.fm
    +
    +
    +
    + +
    +
    +
    +
    Username:
    +
    +
    +
    +
    +
    +
    +
    \ No newline at end of file