caparol6991

Untitled

Jul 6th, 2020
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <style>
  2. .hypertext{
  3. font-size: 24px;
  4. font-weight: bold;
  5. display: flex;
  6. align-items: flex-end;
  7. justify-content: flex-end;
  8. }
  9. .context{
  10. font-size: 36px;
  11. font-weight: bold;
  12. }
  13. #buttons{
  14. background: #ccc;
  15. display: flex;
  16. justify-content: space-between;
  17. }
  18. </style>
  19.  
  20. <form>
  21. <input id="price" name="price" type="hidden" value="{{ total }}"/>
  22. <input type="radio" name="browser" onclick="myFunction(this.value)" value="10.00">Kurier Inpost - 20 zł<br>
  23. <input type="radio" name="browser" onclick="myFunction(this.value)" value="40.00">Poczta Polska - 40 zł<br>
  24. <input type="radio" name="browser" onclick="myFunction(this.value)" value="30.00">Kurier - 30 zł<br>
  25. <input type="radio" name="browser" onclick="myFunction(this.value)" value="200.00">Dostawa z większymi gabarytami - 200 zł<br>
  26. <br>
  27. <p class="hypertext">Razem do zapłaty:
  28. <span id="result" class="context"> {{ total }} zł </span>
  29. </p>
  30.  
  31. <div id="buttons">
  32. <div><a href="{% url 'Home' %}" class="btn btn-primary btn-lg active" role="button" aria-pressed="true">Powrót</a></div>
  33. <div><input type="submit" class="btn btn-primary btn-lg active positions" value="Zapłać"></div>
  34. </div>
  35.  
  36. </form>
  37.  
  38. <br>
  39. <br>
RAW Paste Data