mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-22 21:07:18 +00:00
responsive buttons
This commit is contained in:
parent
2513d26eec
commit
f4a1efdd88
@ -43,6 +43,14 @@ body {
|
|||||||
border-color: #adadad;
|
border-color: #adadad;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1199px) {
|
||||||
|
#btn-responsive-block > .btn {
|
||||||
|
padding: 6px 12px;
|
||||||
|
font-size: 14px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#salamisandwich td:nth-child(3), th:nth-child(3) {
|
#salamisandwich td:nth-child(3), th:nth-child(3) {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="btn-group-vertical btn-block btn-group-lg">
|
<div id="btn-responsive-block" class="btn-group-vertical btn-block btn-group-lg">
|
||||||
<button type="button" class="btn btn-default" onclick="updateDB();">
|
<button type="button" class="btn btn-default" onclick="updateDB();">
|
||||||
<span class="glyphicon glyphicon-refresh"></span> Update DB
|
<span class="glyphicon glyphicon-refresh"></span> Update DB
|
||||||
</button>
|
</button>
|
||||||
@ -138,12 +138,11 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="btn-group-vertical btn-block btn-group-lg" data-toggle="buttons">
|
<div id="btn-responsive-block" class="btn-group-vertical btn-block btn-group-lg" data-toggle="buttons">
|
||||||
<button type="button" class="btn btn-default" id="btnnotify">
|
<button type="button" class="btn btn-default" id="btnnotify">
|
||||||
<span class="glyphicon glyphicon-comment"></span> Notifications
|
<span class="glyphicon glyphicon-comment"></span> Notifications
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.col-md-2 -->
|
</div><!-- /.col-md-2 -->
|
||||||
</div><!-- /.row -->
|
</div><!-- /.row -->
|
||||||
|
@ -147,7 +147,7 @@ int callback_http(struct libwebsocket_context *context,
|
|||||||
LIBMPDCLIENT_PATCH_VERSION);
|
LIBMPDCLIENT_PATCH_VERSION);
|
||||||
|
|
||||||
/* Copy size to content-length field */
|
/* Copy size to content-length field */
|
||||||
sprintf(buf, "%6lu", response_size);
|
sprintf(buf, "%6zu", response_size);
|
||||||
memcpy(p + sizeof(http_header) - 11, buf, 6);
|
memcpy(p + sizeof(http_header) - 11, buf, 6);
|
||||||
|
|
||||||
n = libwebsocket_write(wsi, (unsigned char *)p,
|
n = libwebsocket_write(wsi, (unsigned char *)p,
|
||||||
|
Loading…
Reference in New Issue
Block a user