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