@ -0,0 +1,51 @@
|
||||
server {
|
||||
listen localhost;
|
||||
server_name daapr.localhost;
|
||||
|
||||
root /home/www-data/daapr;
|
||||
index index.html;
|
||||
|
||||
location ~ ^/favicon.ico$ {
|
||||
root /home/www-data/roundcube/web/skins/default/images;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
expires max;
|
||||
}
|
||||
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
|
||||
location ~ /(\.|temp|logs) {
|
||||
deny all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name daap.localhost;
|
||||
|
||||
add_header Access-Control-Allow-Origin "*";
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:3689;
|
||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
||||
proxy_redirect off;
|
||||
#proxy_buffering off;
|
||||
proxy_buffering on;
|
||||
#proxy_buffers 128k;
|
||||
proxy_cache daap;
|
||||
proxy_cache_valid 6d;
|
||||
proxy_cache_valid 404 1m;
|
||||
proxy_ignore_headers Cache-Control Expires DAAP-Server;
|
||||
|
||||
#proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
/**
|
||||
* DataTables
|
||||
*/
|
||||
table.dataTable {
|
||||
margin: 0 auto;
|
||||
clear: both;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.dataTable thead th,
|
||||
table.dataTable tbody td {
|
||||
height: ;
|
||||
padding: 0px 2px;
|
||||
}
|
||||
|
||||
table.dataTable thead th {
|
||||
cursor: pointer;
|
||||
*cursor: hand;
|
||||
}
|
||||
|
||||
table.dataTable td.center,
|
||||
table.dataTable td.dataTables_empty {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
table.dataTable tr td.sorting_1 { background-color: #EBEBEB; }
|
||||
table.dataTable tr td.sorting_2 { background-color: #EBEBEB; }
|
||||
table.dataTable tr td.sorting_3 { background-color: #EBEBEB; }
|
||||
/*
|
||||
table.dataTable tr.odd { background-color: #E2E4FF; }
|
||||
table.dataTable tr.even { background-color: white; }
|
||||
|
||||
table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
|
||||
table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
|
||||
table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
|
||||
table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
|
||||
table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
|
||||
table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
|
||||
*/
|
||||
/*.sorting { background: url('../vendors/DataTables-1.9.4/media/images/sort_both.png') no-repeat center right; }*/
|
||||
.sorting_asc { background: url('../vendors/DataTables-1.9.4/media/images/sort_asc.png') no-repeat center right; }
|
||||
.sorting_desc { background: url('../vendors/DataTables-1.9.4/media/images/sort_desc.png') no-repeat center right; }
|
||||
|
||||
.sorting_asc_disabled { background: url('../vendors/DataTables-1.9.4/media/images/sort_asc_disabled.png') no-repeat center right; }
|
||||
.sorting_desc_disabled { background: url('../vendors/DataTables-1.9.4/media/images/sort_desc_disabled.png') no-repeat center right; }
|
@ -0,0 +1,375 @@
|
||||
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
||||
|
||||
/* ==========================================================================
|
||||
HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Corrects `block` display not defined in IE 8/9.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects `inline-block` display not defined in IE 8/9.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
video {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling for `hidden` attribute not present in IE 8/9.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Base
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* 1. Sets default font family to sans-serif.
|
||||
* 2. Prevents iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Links
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses `outline` inconsistency between Chrome and other browsers.
|
||||
*/
|
||||
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
}
|
||||
|
||||
/*
|
||||
* Improves readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Typography
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
|
||||
* Safari 5, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in IE 8/9, Safari 5, and Chrome.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in Safari 5 and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Corrects font family set oddly in Safari 5 and Chrome.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/*
|
||||
* Improves readability of pre-formatted text in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/*
|
||||
* Sets consistent quote types.
|
||||
*/
|
||||
|
||||
q {
|
||||
quotes: "\201C" "\201D" "\2018" "\2019";
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents `sub` and `sup` affecting `line-height` in all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Removes border when inside `a` element in IE 8/9.
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects overflow displayed oddly in IE 9.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Figures
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses margin not present in IE 8/9 and Safari 5.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Forms
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Corrects color not being inherited in IE 8/9.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Corrects font family not being inherited in all browsers.
|
||||
* 2. Corrects font size not being inherited in all browsers.
|
||||
* 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit; /* 1 */
|
||||
font-size: 100%; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
button,
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Corrects inability to style clickable `input` types in iOS.
|
||||
* 3. Improves usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses box sizing set to `content-box` in IE 8/9.
|
||||
* 2. Removes excess padding in IE 8/9.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
|
||||
* 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes inner padding and search cancel button in Safari 5 and Chrome
|
||||
* on OS X.
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Removes default vertical scrollbar in IE 8/9.
|
||||
* 2. Improves readability and alignment in all browsers.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto; /* 1 */
|
||||
vertical-align: top; /* 2 */
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Tables
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
@ -0,0 +1,247 @@
|
||||
|
||||
div#wrapperPlayer #daaprPlayerViewport {
|
||||
margin: 6px auto 0 auto;
|
||||
background: transparent url('../img/player_background.png') repeat-x;
|
||||
height: 40px;
|
||||
width: 450px;
|
||||
border: 1px solid #6B6D5E;
|
||||
border-bottom-color: #DCDDDE;
|
||||
border-left-color: #939885;
|
||||
border-right-color: #939885;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
div#wrapperPlayer #daaprPlayerViewport h1 {
|
||||
color: #5F5F5F;
|
||||
font-size: 2em;
|
||||
font-style: oblique;
|
||||
font-variant: small-caps;
|
||||
font-weight: bold;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
text-shadow: #ACACAC 2px 2px 2px;
|
||||
margin: 0;
|
||||
-webkit-gradient(
|
||||
linear,
|
||||
left top,
|
||||
left bottom,
|
||||
color-stop(0.3, rgb(0,0,0)),
|
||||
color-stop(0.27, rgb(46,46,46)),
|
||||
color-stop(0.83, rgb(0,0,0))
|
||||
);
|
||||
-moz-linear-gradient(
|
||||
center top,
|
||||
rgb(0,0,0) 30%,
|
||||
rgb(46,46,46) 27%,
|
||||
rgb(0,0,0) 83%
|
||||
);
|
||||
}
|
||||
|
||||
.daaprPlayerTitleIndicator,
|
||||
.daaprPlayerInfoIndicator {
|
||||
height: 12px;
|
||||
line-height: 12px;
|
||||
font-size: 0.7em;
|
||||
text-align: center;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.daaprPlayerTitleIndicator {
|
||||
font-size: 0.7em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#daaprProgressTimeRemain,
|
||||
#daaprProgressTimeElapsed {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
#daaprProgressTimeRemain {
|
||||
vertical-align: top;
|
||||
height: 7px;
|
||||
line-height: 7px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#daaprProgressTimeElapsed {
|
||||
vertical-align: top;
|
||||
height: 7px;
|
||||
line-height: 7px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.daaprProgressWrap {
|
||||
width: auto;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
height: 9px;
|
||||
}
|
||||
|
||||
.daaprControlsWrap {
|
||||
float: left;
|
||||
clear: left;
|
||||
margin-top: 8px;
|
||||
margin-left: 25px;
|
||||
}
|
||||
|
||||
.daaprControlsWrap #buttonPlay {
|
||||
float: left;
|
||||
clear: none;
|
||||
display: block;
|
||||
width: 37px;
|
||||
height: 38px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
background: transparent url('../img/button_play.png') no-repeat left top;
|
||||
}
|
||||
.daaprControlsWrap #buttonPlay.playing {
|
||||
background-image: url('../img/button_pause.png');
|
||||
}
|
||||
|
||||
.daaprControlsWrap #buttonPlay.stopped {
|
||||
background-image: url('../img/button_stop.png');
|
||||
}
|
||||
|
||||
.daaprControlsWrap #buttonVolume,
|
||||
.daaprControlsWrap #buttonPrev,
|
||||
.daaprControlsWrap #buttonNext {
|
||||
float: left;
|
||||
clear: none;
|
||||
display: block;
|
||||
width: 31px;
|
||||
height: 32px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.daaprControlsWrap #buttonPrev {
|
||||
background: url('../img/button_prev.png') no-repeat left top;
|
||||
}
|
||||
|
||||
.daaprControlsWrap #buttonNext {
|
||||
background: url('../img/button_next.png') no-repeat left top;
|
||||
}
|
||||
|
||||
.daaprControlsWrap #buttonNext:active,
|
||||
.daaprControlsWrap #buttonPrev:active,
|
||||
.daaprControlsWrap #buttonPlay:active,
|
||||
.daaprControlsWrap #buttonNext.disabled:active,
|
||||
.daaprControlsWrap #buttonPrev.disabled:active,
|
||||
.daaprControlsWrap #buttonPlay.disabled:active {
|
||||
background-position: left bottom;
|
||||
}
|
||||
|
||||
progress,
|
||||
progress::-webkit-progress-bar-value,
|
||||
progress::-webkit-progress-value,
|
||||
progress::-moz-progress-bar {
|
||||
-webkit-appearance: progress-bar;
|
||||
/*background-color: #BFBFBF;*/
|
||||
}
|
||||
|
||||
progress#daaprPlayerProgress {
|
||||
vertical-align: top;
|
||||
/*-moz-border-radius: 7px;
|
||||
-webkit-border-radius: 7px;*/
|
||||
display: inline-block;
|
||||
/*height: 7px;*/
|
||||
margin-top: -3px;
|
||||
padding: 0;
|
||||
width: 350px;
|
||||
/*border: 1px solid #393939;*/
|
||||
}
|
||||
/*
|
||||
progress#daaprPlayerProgress, progress#daaprPlayerProgress span {
|
||||
-moz-border-radius: 7px;
|
||||
-webkit-border-radius: 7px;
|
||||
}
|
||||
progress#daaprPlayerProgress span {
|
||||
background: url('../img/progressbar_fg.png') repeat-x;
|
||||
display: block;
|
||||
height: 7px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
*/
|
||||
#volumeWrapper {
|
||||
float: left;
|
||||
clear: none;
|
||||
margin-left: 25px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
#volumeWrapper input#buttonVolume {
|
||||
float: left;
|
||||
clear: none;
|
||||
vertical-align: bottom;
|
||||
-moz-border-radius: 6px;
|
||||
-webkit-border-radius: 6px;
|
||||
/*background: url('../img/volume_bg.png') repeat-x;*/
|
||||
display: block;
|
||||
height: 6px;
|
||||
line-height: 6px;
|
||||
padding: 0;
|
||||
width: 74px;
|
||||
border: 1px solid #393939;
|
||||
border-top: none;
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
#volumeWrapper input#buttonVolume,
|
||||
#volumeWrapper input#buttonVolume span {
|
||||
-moz-border-radius: 6px;
|
||||
-webkit-border-radius: 6px;
|
||||
}
|
||||
/*
|
||||
#volumeWrapper progress#buttonVolume span {
|
||||
background: url('../img/volume_fg.png') repeat-x;
|
||||
display: block;
|
||||
height: 6px;
|
||||
width: 0%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#volumeWrapper progress#buttonVolume span a {
|
||||
display: none;
|
||||
}
|
||||
*/
|
||||
|
||||
#volumeWrapper a#buttonVolDown {
|
||||
vertical-align: top;
|
||||
display:block;
|
||||
float: left;
|
||||
clear: left;
|
||||
height: 10px;
|
||||
width: 9px;
|
||||
background: transparent url('../img/volume_minus.png') no-repeat;
|
||||
}
|
||||
|
||||
|
||||
#volumeWrapper a#buttonVolUp {
|
||||
vertical-align: top;
|
||||
display:block;
|
||||
float: left;
|
||||
clear: right;
|
||||
height: 10px;
|
||||
width: 13px;
|
||||
background: transparent url('../img/volume_plus.png') no-repeat;
|
||||
}
|
||||
|
||||
table tbody tr.itemplaying td:first-child span {
|
||||
display: inline-block;
|
||||
background-color: transparent;
|
||||
background-image: url('../img/playicon2.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: left bottom;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
table tbody tr.itemplaying.itempaused td:first-child span {
|
||||
background-image: url('../img/playicon.png');
|
||||
}
|
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 6.9 KiB |
After Width: | Height: | Size: 7.8 KiB |
After Width: | Height: | Size: 8.0 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 107 B |
After Width: | Height: | Size: 9.3 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.1 KiB |
@ -0,0 +1,22 @@
|
||||
/*jslint laxbreak:true */
|
||||
/*jslint laxcomma:true */
|
||||
/*jslint loopfunc:true */
|
||||
/*jslint strict:true */
|
||||
/*jslint browser:true */
|
||||
/*jslint devel:true */
|
||||
define([
|
||||
"underscore"
|
||||
, "backbone"
|
||||
, "backbone-localstorage"
|
||||
]
|
||||
, function (_, Backbone) {
|
||||
"use strict";
|
||||
|
||||
return Backbone.Collection.extend({
|
||||
localStorage: new Backbone.LocalStorage("daap-servers")
|
||||
|
||||
, initialize: function () {
|
||||
return this.__super__.initialize.call(this, arguments);
|
||||
}
|
||||
});
|
||||
});
|
@ -0,0 +1,71 @@
|
||||
/*jslint laxbreak:true */
|
||||
/*jslint laxcomma:true */
|
||||
/*jslint loopfunc:true */
|
||||
/*jslint strict:true */
|
||||
/*jslint browser:true */
|
||||
/*jslint devel:true */
|
||||
define([
|
||||
"underscore"
|
||||
, "backbone"
|
||||
, "toolbox"
|
||||
, "models/dmap-type"
|
||||
]
|
||||
, function (_, Backbone, Toolbox, DMAPType) {
|
||||
"use strict";
|
||||
|
||||
var that
|
||||
|
||||
, set = function (attributes) {
|
||||
|
||||
}
|
||||
|
||||
, DMAP = Toolbox.Base.extend({
|
||||
id: null
|
||||
, attributes: false
|
||||
, collection: false
|
||||
, parentid: null
|
||||
, index: {}
|
||||
, items: []
|
||||
|
||||
, constructor: function (buffer, parent, options) {
|
||||
|
||||
}
|
||||
|
||||
, set: function () {
|
||||
|
||||
}
|
||||
|
||||
, get: function () {
|
||||
|
||||
}
|
||||
|
||||
, getItem: function () {
|
||||
|
||||
}
|
||||
|
||||
, getItemByIndex: function () {
|
||||
|
||||
}
|
||||
|
||||
, parseBinary: function () {
|
||||
|
||||
}
|
||||
|
||||
, parseContentCode: function () {
|
||||
|
||||
}
|
||||
|
||||
, addItem: function (item) {
|
||||
|
||||
}
|
||||
|
||||
, remove: function (items) {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
_.extend(DMAP.prototype, Backbone.Events, {});
|
||||
|
||||
return DMAP;
|
||||
|
||||
});
|
@ -0,0 +1,59 @@
|
||||
/*jslint laxbreak:true */
|
||||
/*jslint laxcomma:true */
|
||||
/*jslint loopfunc:true */
|
||||
/*jslint strict:true */
|
||||
/*jslint browser:true */
|
||||
/*jslint devel:true */
|
||||
|
||||
define([
|
||||
"jquery"
|
||||
, "backbone"
|
||||
, "jquery-layout"
|
||||
]
|
||||
, function ($, Backbone) {
|
||||
"use strict";
|
||||
|
||||
return Backbone.View.extend({
|
||||
el: $("body")
|
||||
|
||||
, layout: null
|
||||
, layoutItems: null
|
||||
|
||||
, events: {
|
||||
}
|
||||
|
||||
, initialize: function() {
|
||||
//_.bindAll(this);
|
||||
|
||||
var that = this;
|
||||
|
||||
that.layout = that.$el.layout({
|
||||
//applyDefaultStyles: true
|
||||
defaults: {
|
||||
closable: false
|
||||
, resizable: false
|
||||
, slidable: false
|
||||
, spacing_open: 0
|
||||
, spacing_closed: 0
|
||||
}
|
||||
|
||||
, north: {
|
||||
size: 52
|
||||
}
|
||||
|
||||
, west: {
|
||||
size: 150
|
||||
, closable: true
|
||||
}
|
||||
|
||||
, center: {
|
||||
resizable: false
|
||||
}
|
||||
|
||||
, south: {
|
||||
size: 30
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
@ -0,0 +1,32 @@
|
||||
/*
|
||||
|
||||
that.layoutItems = $(that.layout.panes.center).layout({
|
||||
defaults: {
|
||||
closable: false
|
||||
, resizable: true
|
||||
, slidable: true
|
||||
, spacing_open: 5
|
||||
, spacing_closed: 5
|
||||
}
|
||||
|
||||
, north: {
|
||||
minSize: 100
|
||||
, size: 200
|
||||
, closable: true
|
||||
//, onresize: function (pane, $pane, state, options) {
|
||||
// var viewportHeight = $pane.innerHeight() - App.BrowserView.$el.find(".dataTables_scrollHead").height();
|
||||
// App.BrowserView.$el.find(".dataTables_scrollBody").height(viewportHeight);
|
||||
// //App.BrowserView.reDraw();
|
||||
// }
|
||||
}
|
||||
|
||||
, center: {
|
||||
minSize: 200
|
||||
//, onresize: function (pane, $pane, state, options) {
|
||||
// var viewportHeight = $pane.innerHeight() - App.ListView.$el.find(".dataTables_scrollHead").height();
|
||||
// App.ListView.$el.find(".dataTables_scrollBody").height(viewportHeight);
|
||||
// //App.ListView.render();
|
||||
// }
|
||||
}
|
||||
});
|
||||
*/
|
@ -0,0 +1,14 @@
|
||||
/*jslint laxbreak:true */
|
||||
/*jslint laxcomma:true */
|
||||
/*jslint loopfunc:true */
|
||||
/*jslint strict:true */
|
||||
/*jslint browser:true */
|
||||
/*jslint devel:true */
|
||||
define([
|
||||
"bootstrap"
|
||||
]
|
||||
, function (Bootstrap) {
|
||||
"use strict";
|
||||
|
||||
return function() {};
|
||||
});
|
@ -0,0 +1,13 @@
|
||||
/*jslint laxbreak:true */
|
||||
/*jslint laxcomma:true */
|
||||
/*jslint loopfunc:true */
|
||||
/*jslint strict:true */
|
||||
/*jslint browser:true */
|
||||
/*jslint devel:true */
|
||||
define([
|
||||
]
|
||||
, function () {
|
||||
"use strict";
|
||||
|
||||
return function() {};
|
||||
});
|
@ -0,0 +1,13 @@
|
||||
/*jslint laxbreak:true */
|
||||
/*jslint laxcomma:true */
|
||||
/*jslint loopfunc:true */
|
||||
/*jslint strict:true */
|
||||
/*jslint browser:true */
|
||||
/*jslint devel:true */
|
||||
define([
|
||||
]
|
||||
, function () {
|
||||
"use strict";
|
||||
|
||||
return function() {};
|
||||
});
|
@ -0,0 +1,13 @@
|
||||
/*jslint laxbreak:true */
|
||||
/*jslint laxcomma:true */
|
||||
/*jslint loopfunc:true */
|
||||
/*jslint strict:true */
|
||||
/*jslint browser:true */
|
||||
/*jslint devel:true */
|
||||
define([
|
||||
]
|
||||
, function () {
|
||||
"use strict";
|
||||
|
||||
return function() {};
|
||||
});
|
@ -0,0 +1 @@
|
||||
Subproject commit 8651291560d37403bf347466213bd8b900b0a501
|