foreveralone

foreveralone Commit Details


Date:2016-03-06 18:58:00 (8 years 9 months ago)
Author:Natalie Adams
Branch:master
Commit:748565503ecb9dd3bbb6d48277735c1dac08aa93
Parents: 94aebf643d55b0996f4677d30b9ef74a6fff2eed
Message:Issue 139: Make the interface more mobile friendly

Changes:

File differences

web/application/views/base.html
3434
3535
3636
37
37
3838
3939
4040
<style type="text/css">
.centered {
position: fixed;
top: 50%;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
}
web/application/views/chat.html
2424
2525
2626
27
27
2828
2929
3030
......
3434
3535
3636
37
3837
3938
4039
......
6463
6564
6665
66
6767
6868
6969
<button title="This will prevent the person at the current session from talking to you and match you with a new person" id="banAndNewMatch" type="button" class="set-tooltip btn btn-danger">Ignore and find new match</button>
<br>
<br>
<textarea disabled="disabled" autocomplete="off" cols="100" rows="25" id="chat"></textarea>
<textarea disabled="disabled" autocomplete="off" cols="100" rows="15" id="chat"></textarea>
<br>
<input autocomplete="off" style="width: 725px;" placeholder="Your message here..." type="text" id="input"><br>
<script type="text/javascript">
$(function () {
$("#newMatch").click(function () {
location.reload();
});
// hit the read endpoint
// the read endpoint will return false if matching is in progress
// otherwise will return an array
$.ajax({
url: "./main/read/", success: function (data) {
if (data === false) {

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.05447s using 20 queries.