HTML cleanup.

* Fix not being able to scroll the index page. Oops. Cleaned up how that was managed.
* Clean up things in changelog and known issues and future features. Some of it has been done for years, oops.
* Make the label for the join button for passworded games word-wrap.
This commit is contained in:
Andy Janata 2018-03-02 14:04:20 -08:00
parent cb0f2689c6
commit cdd38465fa
7 changed files with 21 additions and 19 deletions

View File

@ -21,8 +21,11 @@
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
body {
#gamebody {
overflow: hidden;
}
body {
min-height: 640px;
background: #eee;
color: #000;
@ -143,6 +146,7 @@ h2,h3,h4 {
border-radius: .25em;
text-transform: uppercase;
font-weight: 700;
white-space: normal;
}
.gamelist_lobby_spectate {

View File

@ -6,8 +6,17 @@
<title>PYX: Changelog</title>
<link rel="stylesheet" type="text/css" href="cah.css" media="screen" />
</head>
<body style="overflow: scroll">
<body>
<ul>
<li>13 August 2017:<ul>
<li><strong>Global chat is disabled.</strong> Far too spammy, far too shitty. Go shitpost
somewhere else, or at least take it to a game chat.</li>
<li>Added metrics logging. This will allow analysis over what cards are played often, and
regional trends. See the next bullet point for details. Your username and chat will
<strong>never</strong> be stored permanently.</li>
<li><a href="privacy.html"><strong>Hey, this is important:</strong> Read the privacy page for
details about what gameplay information is collected and how it's shared.</a></li>
</ul></li>
<li>3 May 2015:<ul>
<li>The game list automatically updates once per minute now, instead of several times per
second. You can still click the Refresh Games button in the top left corner at any time.</li>

View File

@ -69,7 +69,7 @@ HttpSession hSession = request.getSession(true);
<link rel="stylesheet" type="text/css" href="jquery-ui.min.css" media="screen" />
<jsp:include page="analytics.jsp" />
</head>
<body>
<body id="gamebody">
<div id="welcome">
<div id="tweetbox">

View File

@ -73,15 +73,6 @@ to, for instance, display the number of connected players.
been shuffled accordingly. Any cards not currently in any official decks are now removed.
The PAX panel sets have also been removed.</li>
</ul></li>
<li>13 August 2017:<ul>
<li><strong>Global chat is disabled.</strong> Far too spammy, far too shitty. Go shitpost
somewhere else, or at least take it to a game chat.</li>
<li>Added metrics logging. This will allow analysis over what cards are played often, and
regional trends. See the next bullet point for details. Your username and chat will
<strong>never</strong> be stored permanently.</li>
<li><a href="privacy.html"><strong>Hey, this is important:</strong> Read the privacy page for
details about what gameplay information is collected and how it's shared.</a></li>
</ul></li>
<li><a href="changelog.html">Older entries.</a></li>
</ul>
<p>Known issues:</p>
@ -92,8 +83,8 @@ to, for instance, display the number of connected players.
<li>This game was extensively tested in <a href="http://google.com/chrome">Google Chrome</a>.
It should work in all recent versions of major browsers, but it may not look 100% as intended. If
you find a major issue, please
<a href="mailto:ajanata@socialgamer.net?subject=PYX%20bug">email me</a> with a screenshot and the
name and version of the browser you are using, and I'll try to fix it.
<a href="https://github.com/ajanata/PretendYoureXyzzy/issues/new">open a bug on GitHub</a> with a
screenshot and the name and version of the browser you are using, and I'll try to fix it.
</li>
<li>You may not always see your card in the top area after you play it, but it has been played.
Also, sometimes the card will display in the top area but be small. I have no idea why either of
@ -133,8 +124,6 @@ to, for instance, display the number of connected players.
<ul>
<li>There may be an option to display who played every card.</li>
<li>A registration system and long-term statistics tracking may be added at some point.</li>
<li>Support for custom Black and White cards will also likely be added, with a game host option to
use them or just the stock cards.</li>
</ul>
<p>
If the game seems to be in a weird state, refresh the page and it should take you back to where

View File

@ -315,7 +315,7 @@ cah.GameListLobby = function(parentElem, data) {
$(".gamelist_lobby_cardset", this.element_).html(cardSetNames.join(', '));
if (data[cah.$.GameInfo.HAS_PASSWORD]) {
$(".gamelist_lobby_join", this.element_).val("Join\n(Passworded)");
$(".gamelist_lobby_join", this.element_).val("Join (Passworded)");
}
$(this.element_).attr(

View File

@ -7,7 +7,7 @@
<title>Pretend You're Xyzzy - Privacy Information</title>
<link rel="stylesheet" type="text/css" href="cah.css" media="screen" />
</head>
<body style="overflow: scroll">
<body>
<p>The information on this page applies only to Pretend You're Xyzzy servers running under the
<a href="//pretendyoure.xyz/zy">pretendyoure.xzy/zy domain</a>. Other servers may have other logging
policies.</p>

View File

@ -213,7 +213,7 @@ table td {
}
</style>
</head>
<body style="overflow: scroll">
<body>
<div style="float: left;">
Show only cards from card sets (hold ctrl or cmd to select multiple):
<br/>