upgrade to jquery mobile 1.4.5
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<webMarkupMin xmlns="http://tempuri.org/WebMarkupMin.Configuration.xsd">
|
<webMarkupMin xmlns="http://tempuri.org/WebMarkupMin.Configuration.xsd">
|
||||||
<core>
|
<core>
|
||||||
<css>
|
<css>
|
||||||
|
|
|
@ -40,6 +40,11 @@
|
||||||
src: url('fonts/mblogo.woff') format('woff');
|
src: url('fonts/mblogo.woff') format('woff');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* For some reason jquery mobile 1.4.5 wants to horitontally pad mini form fields. */
|
||||||
|
.ui-mini {
|
||||||
|
margin: .5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
text-shadow: none !important;
|
text-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -846,7 +846,7 @@
|
||||||
var query = {
|
var query = {
|
||||||
UserId: userId,
|
UserId: userId,
|
||||||
Fields: getItemFields,
|
Fields: getItemFields,
|
||||||
Limit: 50,
|
Limit: 100,
|
||||||
Filters: "IsNotFolder",
|
Filters: "IsNotFolder",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
SortBy: "Random"
|
SortBy: "Random"
|
||||||
|
@ -889,13 +889,14 @@
|
||||||
ApiClient.getItem(userId, id).done(function (item) {
|
ApiClient.getItem(userId, id).done(function (item) {
|
||||||
|
|
||||||
var promise;
|
var promise;
|
||||||
|
var itemLimit = 100;
|
||||||
|
|
||||||
if (item.Type == "MusicArtist") {
|
if (item.Type == "MusicArtist") {
|
||||||
|
|
||||||
promise = ApiClient.getInstantMixFromArtist({
|
promise = ApiClient.getInstantMixFromArtist({
|
||||||
UserId: Dashboard.getCurrentUserId(),
|
UserId: Dashboard.getCurrentUserId(),
|
||||||
Fields: getItemFields,
|
Fields: getItemFields,
|
||||||
Limit: 50,
|
Limit: itemLimit,
|
||||||
Id: id
|
Id: id
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -905,7 +906,7 @@
|
||||||
promise = ApiClient.getInstantMixFromMusicGenre({
|
promise = ApiClient.getInstantMixFromMusicGenre({
|
||||||
UserId: Dashboard.getCurrentUserId(),
|
UserId: Dashboard.getCurrentUserId(),
|
||||||
Fields: getItemFields,
|
Fields: getItemFields,
|
||||||
Limit: 50,
|
Limit: itemLimit,
|
||||||
Id: id
|
Id: id
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -915,7 +916,7 @@
|
||||||
promise = ApiClient.getInstantMixFromAlbum(id, {
|
promise = ApiClient.getInstantMixFromAlbum(id, {
|
||||||
UserId: Dashboard.getCurrentUserId(),
|
UserId: Dashboard.getCurrentUserId(),
|
||||||
Fields: getItemFields,
|
Fields: getItemFields,
|
||||||
Limit: 50
|
Limit: itemLimit
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -924,7 +925,7 @@
|
||||||
promise = ApiClient.getInstantMixFromSong(id, {
|
promise = ApiClient.getInstantMixFromSong(id, {
|
||||||
UserId: Dashboard.getCurrentUserId(),
|
UserId: Dashboard.getCurrentUserId(),
|
||||||
Fields: getItemFields,
|
Fields: getItemFields,
|
||||||
Limit: 50
|
Limit: itemLimit
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
(function ($, document) {
|
(function ($, document) {
|
||||||
|
|
||||||
var view = LibraryBrowser.getDefaultItemsView('Poster', 'List');
|
var view = LibraryBrowser.getDefaultItemsView('Poster', 'Poster');
|
||||||
|
|
||||||
// The base query options
|
// The base query options
|
||||||
var query = {
|
var query = {
|
||||||
|
|
|
@ -15,11 +15,13 @@
|
||||||
|
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
|
|
||||||
ApiClient.getServerConfiguration().done(function (config) {
|
var apiClient = ApiClient;
|
||||||
|
|
||||||
|
apiClient.getServerConfiguration().done(function (config) {
|
||||||
|
|
||||||
config.UICulture = $('#selectLocalizationLanguage', page).val();
|
config.UICulture = $('#selectLocalizationLanguage', page).val();
|
||||||
|
|
||||||
ApiClient.updateServerConfiguration(config).done(function (result) {
|
apiClient.updateServerConfiguration(config).done(function (result) {
|
||||||
|
|
||||||
Dashboard.navigate('wizarduser.html');
|
Dashboard.navigate('wizarduser.html');
|
||||||
|
|
||||||
|
@ -28,26 +30,28 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on('pagebeforeshow', "#wizardStartPage", function () {
|
$(document).on('pageshow', "#wizardStartPage", function () {
|
||||||
|
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
var page = this;
|
var page = this;
|
||||||
|
|
||||||
ApiClient.getPublicUsers().done(function (u) {
|
var apiClient = ApiClient;
|
||||||
|
|
||||||
|
apiClient.getPublicUsers().done(function (u) {
|
||||||
|
|
||||||
var user = u.filter(function (i) {
|
var user = u.filter(function (i) {
|
||||||
return i.Configuration.IsAdministrator;
|
return i.Configuration.IsAdministrator;
|
||||||
})[0];
|
})[0];
|
||||||
|
|
||||||
ApiClient.authenticateUserByName(user.Name, '').done(function (result) {
|
apiClient.authenticateUserByName(user.Name, '').done(function (result) {
|
||||||
|
|
||||||
user = result.User;
|
user = result.User;
|
||||||
|
|
||||||
Dashboard.setCurrentUser(user.Id, result.AccessToken);
|
Dashboard.setCurrentUser(user.Id, result.AccessToken);
|
||||||
|
|
||||||
var promise1 = ApiClient.getServerConfiguration();
|
var promise1 = apiClient.getServerConfiguration();
|
||||||
|
|
||||||
var promise2 = ApiClient.getJSON(ApiClient.getUrl("Localization/Options"));
|
var promise2 = apiClient.getJSON(apiClient.getUrl("Localization/Options"));
|
||||||
|
|
||||||
$.when(promise1, promise2).done(function (response1, response2) {
|
$.when(promise1, promise2).done(function (response1, response2) {
|
||||||
|
|
||||||
|
|
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/ajax-loader.gif
vendored
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/action-black.png
vendored
Normal file
After Width: | Height: | Size: 219 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/action-white.png
vendored
Normal file
After Width: | Height: | Size: 227 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/alert-black.png
vendored
Normal file
After Width: | Height: | Size: 244 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/alert-white.png
vendored
Normal file
After Width: | Height: | Size: 243 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-d-black.png
vendored
Normal file
After Width: | Height: | Size: 146 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-d-l-black.png
vendored
Normal file
After Width: | Height: | Size: 167 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-d-l-white.png
vendored
Normal file
After Width: | Height: | Size: 173 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-d-r-black.png
vendored
Normal file
After Width: | Height: | Size: 159 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-d-r-white.png
vendored
Normal file
After Width: | Height: | Size: 171 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-d-white.png
vendored
Normal file
After Width: | Height: | Size: 149 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-l-black.png
vendored
Normal file
After Width: | Height: | Size: 149 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-l-white.png
vendored
Normal file
After Width: | Height: | Size: 156 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-r-black.png
vendored
Normal file
After Width: | Height: | Size: 147 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-r-white.png
vendored
Normal file
After Width: | Height: | Size: 152 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-u-black.png
vendored
Normal file
After Width: | Height: | Size: 147 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-u-l-black.png
vendored
Normal file
After Width: | Height: | Size: 163 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-u-l-white.png
vendored
Normal file
After Width: | Height: | Size: 169 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-u-r-black.png
vendored
Normal file
After Width: | Height: | Size: 163 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-u-r-white.png
vendored
Normal file
After Width: | Height: | Size: 165 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/arrow-u-white.png
vendored
Normal file
After Width: | Height: | Size: 151 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/audio-black.png
vendored
Normal file
After Width: | Height: | Size: 307 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/audio-white.png
vendored
Normal file
After Width: | Height: | Size: 314 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/back-black.png
vendored
Normal file
After Width: | Height: | Size: 233 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/back-white.png
vendored
Normal file
After Width: | Height: | Size: 240 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/bars-black.png
vendored
Normal file
After Width: | Height: | Size: 132 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/bars-white.png
vendored
Normal file
After Width: | Height: | Size: 135 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/bullets-black.png
vendored
Normal file
After Width: | Height: | Size: 147 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/bullets-white.png
vendored
Normal file
After Width: | Height: | Size: 152 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/calendar-black.png
vendored
Normal file
After Width: | Height: | Size: 146 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/calendar-white.png
vendored
Normal file
After Width: | Height: | Size: 143 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/camera-black.png
vendored
Normal file
After Width: | Height: | Size: 250 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/camera-white.png
vendored
Normal file
After Width: | Height: | Size: 251 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/carat-d-black.png
vendored
Normal file
After Width: | Height: | Size: 207 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/carat-d-white.png
vendored
Normal file
After Width: | Height: | Size: 213 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/carat-l-black.png
vendored
Normal file
After Width: | Height: | Size: 174 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/carat-l-white.png
vendored
Normal file
After Width: | Height: | Size: 177 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/carat-r-black.png
vendored
Normal file
After Width: | Height: | Size: 184 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/carat-r-white.png
vendored
Normal file
After Width: | Height: | Size: 194 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/carat-u-black.png
vendored
Normal file
After Width: | Height: | Size: 196 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/carat-u-white.png
vendored
Normal file
After Width: | Height: | Size: 204 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/check-black.png
vendored
Normal file
After Width: | Height: | Size: 169 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/check-white.png
vendored
Normal file
After Width: | Height: | Size: 172 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/clock-black.png
vendored
Normal file
After Width: | Height: | Size: 310 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/clock-white.png
vendored
Normal file
After Width: | Height: | Size: 316 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/cloud-black.png
vendored
Normal file
After Width: | Height: | Size: 212 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/cloud-white.png
vendored
Normal file
After Width: | Height: | Size: 210 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/comment-black.png
vendored
Normal file
After Width: | Height: | Size: 165 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/comment-white.png
vendored
Normal file
After Width: | Height: | Size: 160 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/delete-black.png
vendored
Normal file
After Width: | Height: | Size: 171 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/delete-white.png
vendored
Normal file
After Width: | Height: | Size: 185 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/edit-black.png
vendored
Normal file
After Width: | Height: | Size: 163 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/edit-white.png
vendored
Normal file
After Width: | Height: | Size: 170 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/eye-black.png
vendored
Normal file
After Width: | Height: | Size: 249 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/eye-white.png
vendored
Normal file
After Width: | Height: | Size: 253 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/forbidden-black.png
vendored
Normal file
After Width: | Height: | Size: 299 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/forbidden-white.png
vendored
Normal file
After Width: | Height: | Size: 308 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/forward-black.png
vendored
Normal file
After Width: | Height: | Size: 233 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/forward-white.png
vendored
Normal file
After Width: | Height: | Size: 243 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/gear-black.png
vendored
Normal file
After Width: | Height: | Size: 318 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/gear-white.png
vendored
Normal file
After Width: | Height: | Size: 302 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/grid-black.png
vendored
Normal file
After Width: | Height: | Size: 160 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/grid-white.png
vendored
Normal file
After Width: | Height: | Size: 167 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/heart-black.png
vendored
Normal file
After Width: | Height: | Size: 242 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/heart-white.png
vendored
Normal file
After Width: | Height: | Size: 246 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/home-black.png
vendored
Normal file
After Width: | Height: | Size: 150 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/home-white.png
vendored
Normal file
After Width: | Height: | Size: 154 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/info-black.png
vendored
Normal file
After Width: | Height: | Size: 250 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/info-white.png
vendored
Normal file
After Width: | Height: | Size: 251 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/location-black.png
vendored
Normal file
After Width: | Height: | Size: 245 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/location-white.png
vendored
Normal file
After Width: | Height: | Size: 247 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/lock-black.png
vendored
Normal file
After Width: | Height: | Size: 204 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/lock-white.png
vendored
Normal file
After Width: | Height: | Size: 207 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/mail-black.png
vendored
Normal file
After Width: | Height: | Size: 226 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/mail-white.png
vendored
Normal file
After Width: | Height: | Size: 227 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/minus-black.png
vendored
Normal file
After Width: | Height: | Size: 116 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/minus-white.png
vendored
Normal file
After Width: | Height: | Size: 116 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/navigation-black.png
vendored
Normal file
After Width: | Height: | Size: 242 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/navigation-white.png
vendored
Normal file
After Width: | Height: | Size: 241 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/phone-black.png
vendored
Normal file
After Width: | Height: | Size: 270 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/phone-white.png
vendored
Normal file
After Width: | Height: | Size: 274 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/plus-black.png
vendored
Normal file
After Width: | Height: | Size: 123 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/plus-white.png
vendored
Normal file
After Width: | Height: | Size: 124 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/power-black.png
vendored
Normal file
After Width: | Height: | Size: 292 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/power-white.png
vendored
Normal file
After Width: | Height: | Size: 302 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/recycle-black.png
vendored
Normal file
After Width: | Height: | Size: 243 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/recycle-white.png
vendored
Normal file
After Width: | Height: | Size: 253 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/refresh-black.png
vendored
Normal file
After Width: | Height: | Size: 295 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/refresh-white.png
vendored
Normal file
After Width: | Height: | Size: 301 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/search-black.png
vendored
Normal file
After Width: | Height: | Size: 324 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/search-white.png
vendored
Normal file
After Width: | Height: | Size: 321 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/shop-black.png
vendored
Normal file
After Width: | Height: | Size: 174 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/shop-white.png
vendored
Normal file
After Width: | Height: | Size: 173 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/star-black.png
vendored
Normal file
After Width: | Height: | Size: 231 B |
BIN
dashboard-ui/thirdparty/jquerymobile-1.4.5/images/icons-png/star-white.png
vendored
Normal file
After Width: | Height: | Size: 239 B |