Merge remote-tracking branch 'origin/pr/1021'

master
Andrew DeMaria 6 years ago
commit f5250e36f1
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 4
      airsonic-main/src/main/webapp/WEB-INF/jsp/advancedSettings.jsp
  2. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/albumMain.jsp
  3. 3
      airsonic-main/src/main/webapp/WEB-INF/jsp/dlnaSettings.jsp
  4. 6
      airsonic-main/src/main/webapp/WEB-INF/jsp/internetRadioSettings.jsp
  5. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/login.jsp
  6. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/more.jsp
  7. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/playQueue.jsp
  8. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/podcastChannel.jsp
  9. 4
      airsonic-main/src/main/webapp/WEB-INF/jsp/shareSettings.jsp
  10. 3
      airsonic-main/src/main/webapp/WEB-INF/jsp/sonosSettings.jsp
  11. 30
      airsonic-main/src/main/webapp/WEB-INF/jsp/transcodingSettings.jsp
  12. 12
      airsonic-main/src/main/webapp/style/default-without-mediaelement.css

@ -96,7 +96,7 @@
<table class="indent"> <table class="indent">
<tr> <tr>
<td colspan="2"> <td colspan="2">
<form:checkbox path="captchaEnabled" id="enablecaptcha" cssclass="checkbox"/> <form:checkbox path="captchaEnabled" id="enablecaptcha"/>
<label for="enablecaptcha"> <label for="enablecaptcha">
<fmt:message key="advancedsettings.enableCaptcha"/> <fmt:message key="advancedsettings.enableCaptcha"/>
</label> </label>
@ -122,7 +122,7 @@
</table> </table>
<table class="indent"><tr><td> <table class="indent"><tr><td>
<form:checkbox path="ldapEnabled" id="ldap" cssClass="checkbox" onclick="enableLdapFields()"/> <form:checkbox path="ldapEnabled" id="ldap" onclick="enableLdapFields()"/>
<label for="ldap"><fmt:message key="advancedsettings.ldapenabled"/></label> <label for="ldap"><fmt:message key="advancedsettings.ldapenabled"/></label>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="ldap"/></c:import> <c:import url="helpToolTip.jsp"><c:param name="topic" value="ldap"/></c:import>
</td></tr></table> </td></tr></table>

@ -317,7 +317,7 @@
<c:param name="asTable" value="true"/> <c:param name="asTable" value="true"/>
</c:import> </c:import>
<td class="fit"><input type="checkbox" class="checkbox" id="songIndex${loopStatus.count - 1}"> <td class="fit"><input type="checkbox" id="songIndex${loopStatus.count - 1}">
<span id="songId${loopStatus.count - 1}" style="display: none">${song.id}</span></td> <span id="songId${loopStatus.count - 1}" style="display: none">${song.id}</span></td>
<c:if test="${model.visibility.trackNumberVisible}"> <c:if test="${model.visibility.trackNumberVisible}">

@ -37,8 +37,7 @@
<sec:csrfInput /> <sec:csrfInput />
<div> <div>
<input type="checkbox" name="dlnaEnabled" id="dlnaEnabled" class="checkbox" <input type="checkbox" name="dlnaEnabled" id="dlnaEnabled" {model.dlnaEnabled? "checked": ""}/>
<c:if test="${model.dlnaEnabled}">checked="checked"</c:if>/>
<label for="dlnaEnabled"><fmt:message key="dlnasettings.enabled"/></label> <label for="dlnaEnabled"><fmt:message key="dlnasettings.enabled"/></label>
</div> </div>
<p class="detail" style="width:60%;white-space:normal"> <p class="detail" style="width:60%;white-space:normal">

@ -27,8 +27,8 @@
<td><input type="text" name="name[${radio.id}]" size="20" value="${radio.name}"/></td> <td><input type="text" name="name[${radio.id}]" size="20" value="${radio.name}"/></td>
<td><input type="text" name="streamUrl[${radio.id}]" size="40" value="${radio.streamUrl}"/></td> <td><input type="text" name="streamUrl[${radio.id}]" size="40" value="${radio.streamUrl}"/></td>
<td><input type="text" name="homepageUrl[${radio.id}]" size="40" value="${radio.homepageUrl}"/></td> <td><input type="text" name="homepageUrl[${radio.id}]" size="40" value="${radio.homepageUrl}"/></td>
<td align="center" style="padding-left:1em"><input type="checkbox" ${radio.enabled ? "checked" : ""} name="enabled[${radio.id}]" class="checkbox"/></td> <td align="center" style="padding-left:1em"><input type="checkbox" ${radio.enabled ? "checked" : ""} name="enabled[${radio.id}]" /></td>
<td align="center" style="padding-left:1em"><input type="checkbox" name="delete[${radio.id}]" class="checkbox"/></td> <td align="center" style="padding-left:1em"><input type="checkbox" name="delete[${radio.id}]" /></td>
</tr> </tr>
</c:forEach> </c:forEach>
@ -42,7 +42,7 @@
<td><input type="text" name="name" size="20" placeholder="<fmt:message key="internetradiosettings.name"/>"/></td> <td><input type="text" name="name" size="20" placeholder="<fmt:message key="internetradiosettings.name"/>"/></td>
<td><input type="text" name="streamUrl" size="40" placeholder="<fmt:message key="internetradiosettings.streamurl"/>"/></td> <td><input type="text" name="streamUrl" size="40" placeholder="<fmt:message key="internetradiosettings.streamurl"/>"/></td>
<td><input type="text" name="homepageUrl" size="40" placeholder="<fmt:message key="internetradiosettings.homepageurl"/>"/></td> <td><input type="text" name="homepageUrl" size="40" placeholder="<fmt:message key="internetradiosettings.homepageurl"/>"/></td>
<td align="center" style="padding-left:1em"><input name="enabled" checked type="checkbox" class="checkbox"/></td> <td align="center" style="padding-left:1em"><input name="enabled" checked type="checkbox"/></td>
<td/> <td/>
</tr> </tr>

@ -30,7 +30,7 @@
<div class="details"> <div class="details">
<div id="loginremember"> <div id="loginremember">
<label for="remember"><fmt:message key="login.remember"/></label> <label for="remember"><fmt:message key="login.remember"/></label>
<input type="checkbox" name="remember-me" id="remember" class="checkbox" tabindex="3"> <input type="checkbox" name="remember-me" id="remember" tabindex="3">
</div> </div>
<a href="recover.view"><fmt:message key="login.recover"/></a> <a href="recover.view"><fmt:message key="login.recover"/></a>

@ -304,7 +304,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<input type="checkbox" checked name="unzip" id="unzip" class="checkbox"/> <input type="checkbox" checked name="unzip" id="unzip"/>
<label for="unzip"><fmt:message key="more.upload.unzip"/></label> <label for="unzip"><fmt:message key="more.upload.unzip"/></label>
</td> </td>
</tr> </tr>

@ -806,7 +806,7 @@
<td class="fit"> <td class="fit">
<img id="removeSong" onclick="onRemove(this.id.substring(10) - 1)" src="<spring:theme code="removeImage"/>" <img id="removeSong" onclick="onRemove(this.id.substring(10) - 1)" src="<spring:theme code="removeImage"/>"
style="cursor:pointer" alt="<fmt:message key="playlist.remove"/>" title="<fmt:message key="playlist.remove"/>"></td> style="cursor:pointer" alt="<fmt:message key="playlist.remove"/>" title="<fmt:message key="playlist.remove"/>"></td>
<td class="fit"><input type="checkbox" class="checkbox" id="songIndex"></td> <td class="fit"><input type="checkbox" id="songIndex"></td>
<c:if test="${model.visibility.trackNumberVisible}"> <c:if test="${model.visibility.trackNumberVisible}">
<td class="fit rightalign"><span class="detail" id="trackNumber">1</span></td> <td class="fit rightalign"><span class="detail" id="trackNumber">1</span></td>

@ -108,7 +108,7 @@
<tr> <tr>
<td class="fit"><input type="checkbox" class="checkbox" id="episode${i.index}" value="${episode.id}"/></td> <td class="fit"><input type="checkbox" id="episode${i.index}" value="${episode.id}"/></td>
<c:choose> <c:choose>
<c:when test="${empty episode.mediaFileId or episode.status ne 'COMPLETED'}"> <c:when test="${empty episode.mediaFileId or episode.status ne 'COMPLETED'}">

@ -50,7 +50,7 @@
<label><input type="radio" name="expireIn[${share.id}]" value="365"><fmt:message key="sharesettings.expirein.year"/></label> <label><input type="radio" name="expireIn[${share.id}]" value="365"><fmt:message key="sharesettings.expirein.year"/></label>
<label><input type="radio" name="expireIn[${share.id}]" value="0"><fmt:message key="sharesettings.expirein.never"/></label> <label><input type="radio" name="expireIn[${share.id}]" value="0"><fmt:message key="sharesettings.expirein.never"/></label>
</td> </td>
<td style="padding-left:1em" align="center" style="padding-left:1em"><input type="checkbox" name="delete[${share.id}]" class="checkbox"/></td> <td style="padding-left:1em" align="center" style="padding-left:1em"><input type="checkbox" name="delete[${share.id}]"/></td>
</tr> </tr>
</c:forEach> </c:forEach>
@ -59,7 +59,7 @@
<p style="padding-top:1em"> <p style="padding-top:1em">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>" style="margin-right:2.0em"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>" style="margin-right:2.0em"></a>
<input type="checkbox" id="deleteExpired" name="deleteExpired" class="checkbox"/> <input type="checkbox" id="deleteExpired" name="deleteExpired"/>
<label for="deleteExpired"><fmt:message key="sharesettings.deleteexpired"/></label> <label for="deleteExpired"><fmt:message key="sharesettings.deleteexpired"/></label>
</p> </p>

@ -37,8 +37,7 @@
<sec:csrfInput /> <sec:csrfInput />
<div> <div>
<input type="checkbox" name="sonosEnabled" id="sonosEnabled" class="checkbox" <input type="checkbox" name="sonosEnabled" id="sonosEnabled" ${model.sonosEnabled? "checked": ""}/>
<c:if test="${model.sonosEnabled}">checked="checked"</c:if>/>
<label for="sonosEnabled"><fmt:message key="sonossettings.enabled"/></label> <label for="sonosEnabled"><fmt:message key="sonossettings.enabled"/></label>
</div> </div>

@ -27,12 +27,12 @@
<c:forEach items="${model.transcodings}" var="transcoding"> <c:forEach items="${model.transcodings}" var="transcoding">
<tr> <tr>
<td><input style="font-family:monospace" type="text" name="name[${transcoding.id}]" size="10" value="${transcoding.name}"/></td> <td><input class="monospace" name="name[${transcoding.id}]" size="10" value="${transcoding.name}"/></td>
<td><input style="font-family:monospace" type="text" name="sourceFormats[${transcoding.id}]" size="36" value="${transcoding.sourceFormats}"/></td> <td><input class="monospace" name="sourceFormats[${transcoding.id}]" size="36" value="${transcoding.sourceFormats}"/></td>
<td><input style="font-family:monospace" type="text" name="targetFormat[${transcoding.id}]" size="10" value="${transcoding.targetFormat}"/></td> <td><input class="monospace" name="targetFormat[${transcoding.id}]" size="10" value="${transcoding.targetFormat}"/></td>
<td><input style="font-family:monospace" type="text" name="step1[${transcoding.id}]" size="60" value="${transcoding.step1}"/></td> <td><input class="monospace" name="step1[${transcoding.id}]" size="60" value="${transcoding.step1}"/></td>
<td><input style="font-family:monospace" type="text" name="step2[${transcoding.id}]" size="22" value="${transcoding.step2}"/></td> <td><input class="monospace" name="step2[${transcoding.id}]" size="22" value="${transcoding.step2}"/></td>
<td align="center" style="padding-left:1em"><input type="checkbox" name="delete[${transcoding.id}]" class="checkbox"/></td> <td align="center" style="padding-left:1em"><input type="checkbox" name="delete[${transcoding.id}]"/></td>
</tr> </tr>
</c:forEach> </c:forEach>
@ -41,17 +41,17 @@
</tr> </tr>
<tr> <tr>
<td><input style="font-family:monospace" type="text" name="name" size="10" placeholder="<fmt:message key="transcodingsettings.name"/>" value="${newTranscoding.name}"/></td> <td><input class="monospace" name="name" size="10" placeholder="<fmt:message key="transcodingsettings.name"/>" value="${newTranscoding.name}"/></td>
<td><input style="font-family:monospace" type="text" name="sourceFormats" size="36" placeholder="<fmt:message key="transcodingsettings.sourceformat"/>" value="${newTranscoding.sourceFormats}"/></td> <td><input class="monospace" name="sourceFormats" size="36" placeholder="<fmt:message key="transcodingsettings.sourceformat"/>" value="${newTranscoding.sourceFormats}"/></td>
<td><input style="font-family:monospace" type="text" name="targetFormat" size="10" placeholder="<fmt:message key="transcodingsettings.targetformat"/>" value="${newTranscoding.targetFormat}"/></td> <td><input class="monospace" name="targetFormat" size="10" placeholder="<fmt:message key="transcodingsettings.targetformat"/>" value="${newTranscoding.targetFormat}"/></td>
<td><input style="font-family:monospace" type="text" name="step1" size="60" placeholder="<fmt:message key="transcodingsettings.step1"/>" value="${newTranscoding.step1}"/></td> <td><input class="monospace" name="step1" size="60" placeholder="<fmt:message key="transcodingsettings.step1"/>" value="${newTranscoding.step1}"/></td>
<td><input style="font-family:monospace" type="text" name="step2" size="22" placeholder="<fmt:message key="transcodingsettings.step2"/>" value="${newTranscoding.step2}"/></td> <td><input class="monospace" name="step2" size="22" placeholder="<fmt:message key="transcodingsettings.step2"/>" value="${newTranscoding.step2}"/></td>
<td/> <td/>
</tr> </tr>
<tr> <tr>
<td colspan="6" style="padding-top:0.1em"> <td colspan="6" style="padding-top:0.1em">
<input type="checkbox" id="defaultActive" name="defaultActive" class="checkbox" checked/> <input type="checkbox" id="defaultActive" name="defaultActive" checked/>
<label for="defaultActive"><fmt:message key="transcodingsettings.defaultactive"/></label> <label for="defaultActive"><fmt:message key="transcodingsettings.defaultactive"/></label>
</td> </td>
</tr> </tr>
@ -61,7 +61,7 @@
<table style="white-space:nowrap" class="indent"> <table style="white-space:nowrap" class="indent">
<tr> <tr>
<td> <td>
<input type="checkbox" id="enableSeek" name="enableSeek" class="checkbox" ${model.enableSeek ? "checked" : ""}/> <input type="checkbox" id="enableSeek" name="enableSeek" ${model.enableSeek ? "checked" : ""}/>
<label for="enableSeek"><fmt:message key="transcodingsettings.enableseek"/></label> <label for="enableSeek"><fmt:message key="transcodingsettings.enableseek"/></label>
</td> </td>
<tr> <tr>
@ -70,7 +70,7 @@
<c:import url="helpToolTip.jsp"><c:param name="topic" value="downsamplecommand"/></c:import> <c:import url="helpToolTip.jsp"><c:param name="topic" value="downsamplecommand"/></c:import>
</td> </td>
<td> <td>
<input style="font-family:monospace" type="text" name="downsampleCommand" size="100" value="${model.downsampleCommand}"/> <input class="monospace" type="text" name="downsampleCommand" size="100" value="${model.downsampleCommand}"/>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -79,7 +79,7 @@
<c:import url="helpToolTip.jsp"><c:param name="topic" value="hlscommand"/></c:import> <c:import url="helpToolTip.jsp"><c:param name="topic" value="hlscommand"/></c:import>
</td> </td>
<td> <td>
<input style="font-family:monospace" type="text" name="hlsCommand" size="100" value="${model.hlsCommand}"/> <input class="monospace" type="text" name="hlsCommand" size="100" value="${model.hlsCommand}"/>
</td> </td>
</tr> </tr>
</table> </table>

@ -204,6 +204,10 @@ input[type=submit]:active, input[type=button]:active {
background: #e9e9e9; background: #e9e9e9;
} }
input[type=checkbox] {
border: 0;
}
input:hover, textarea:hover, select:hover { input:hover, textarea:hover, select:hover {
border: 1px solid darkgray; border: 1px solid darkgray;
} }
@ -267,6 +271,10 @@ img {
vertical-align: middle; vertical-align: middle;
} }
.monospace {
font-family: monospace;
}
.dropshadow { .dropshadow {
box-shadow: 2px 2px 10px #333333; box-shadow: 2px 2px 10px #333333;
} }
@ -398,10 +406,6 @@ img {
line-height: 1em; line-height: 1em;
} }
.checkbox {
border: 0
}
/* Table with simple lines between the cells. */ /* Table with simple lines between the cells. */
.ruleTable { .ruleTable {
border-collapse: collapse; border-collapse: collapse;

Loading…
Cancel
Save