Skip to content

TS Template es.html front-end for 6/11 tickets WIP #301

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

Merged
merged 1 commit into from
Dec 17, 2019
Merged

Conversation

rosieprom
Copy link
Contributor

Done the HTML/CSS for these tickets

  • Airport Pickup
  • Airport Dropoff
  • Hotel Room
  • Summit
  • Tour Package A
  • Tour Package B

** Still need to work through the xml code and parse through data in the template.

Need the TS for the following tickets so i can continue making front end

  • Welcome Dinner
  • Final Match
  • AliPay VIP Night
  • Bus to Venue
  • Bus to Hotel

:)

@hboon
Copy link
Member

hboon commented Dec 16, 2019

@developerpeachy

I tested with the hotel TokenScript. If you change this:

.ticket {
  background-image: ...;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  background-size: cover;
  max-height: 99%;
  width: 100%;
}

to:

.ticket {
  background-image: ...;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  //background-size: cover;
  background-size: contain;
  background-repeat: no-repeat;
  //max-height: 99%;
  //height: auto;
  width: 100%;
}

It looks like the height will work out right and preserve aspect ratio. It doesn't occupy the entire width of the screen. Not sure why. But it's probably good enough for the demo?

@hboon
Copy link
Member

hboon commented Dec 16, 2019

This is probably not quite right:

.left-content {
    width: 75%;
}

If you run the web inspector, notice that the ticket does span the entire width as well as .ticket, it's .left-content that is too narrow.

correct contracts

swap
@JamesANZ JamesANZ merged commit 7ffa49c into master Dec 17, 2019
@JamesANZ JamesANZ deleted the airport-dropoff branch December 17, 2019 23:14
SmartLayer pushed a commit that referenced this pull request Jun 30, 2023
TS Template es.html front-end for 6/11 tickets WIP
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.

3 participants