Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved default town popup text #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MilesBHuff
Copy link

Changed the default town popup text to be prettier and more-useful.

Screenshot:
Dynmap-Towny Suggestion

Tabulated code:

  <div class="infowindow">
    <h3 style="font-size:large;margin:0">%regionname%</h3>
    <p style="margin:0">%board%</p>
    <hr/>
    <p style="margin:0">
      <b>Founded:</b>
      %founded%
    </p>
    <p style="margin:0">
      <b>Mayor:</b>
      %playerowners%
    </p>
    <p style="margin:0">
      <b>Nation:</b>
      %nation%
    </p>
    <hr/>
    <p style="margin:0">
      <b>Bank:</b>
      %bank%
    </p>
    <p style="margin:0">
      <b>Upkeep:</b>
      %upkeep%
    </p>
    <p style="margin:0">
      <b>Resident(s):</b>
      %residentcount%
    </p>
  </div>

@MilesBHuff
Copy link
Author

As an alternative to adding "margin:0" to every <p/> tag, the site's stylesheets could be updated.

@MilesBHuff MilesBHuff changed the title Improved default town popup text. Improved default town popup text Apr 15, 2020
@LlmDl
Copy link
Member

LlmDl commented Apr 25, 2020

The backend for the default config changed to have a list of flags. I do like the improvement in looks but your concept needs to be adjusted to the new default.

QbDesu added a commit to QbDesu/Dynmap-Meets-Towny that referenced this pull request Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants