Merge branch 'master' of mowoe.com:reverend/lostplaces-backend
This commit is contained in:
		@@ -106,6 +106,10 @@ body {
 | 
				
			|||||||
    background-color: #76323F;
 | 
					    background-color: #76323F;
 | 
				
			||||||
    color: #f9f9f9; }
 | 
					    color: #f9f9f9; }
 | 
				
			||||||
  .LP-Button--cancel {
 | 
					  .LP-Button--cancel {
 | 
				
			||||||
 | 
					    background-color: #565656;
 | 
				
			||||||
 | 
					    color: #f9f9f9; }
 | 
				
			||||||
 | 
					    .LP-Button--cancel:active {
 | 
				
			||||||
 | 
					      color: #565656;
 | 
				
			||||||
      background-color: #f9f9f9; }
 | 
					      background-color: #f9f9f9; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.LP-Form .LP-Form__Checkbox {
 | 
					.LP-Form .LP-Form__Checkbox {
 | 
				
			||||||
@@ -134,6 +138,17 @@ body {
 | 
				
			|||||||
      background-color: #f9f9f9;
 | 
					      background-color: #f9f9f9;
 | 
				
			||||||
      border-radius: 3px 3px 0 0;
 | 
					      border-radius: 3px 3px 0 0;
 | 
				
			||||||
      box-shadow: none; }
 | 
					      box-shadow: none; }
 | 
				
			||||||
 | 
					    .LP-Input .LP-Input__Field[type=submit] {
 | 
				
			||||||
 | 
					      background-color: #C09F80;
 | 
				
			||||||
 | 
					      color: #565656;
 | 
				
			||||||
 | 
					      border: none;
 | 
				
			||||||
 | 
					      padding: 8px 14px;
 | 
				
			||||||
 | 
					      border-radius: 2px;
 | 
				
			||||||
 | 
					      font-weight: bold;
 | 
				
			||||||
 | 
					      cursor: pointer; }
 | 
				
			||||||
 | 
					      .LP-Input .LP-Input__Field[type=submit]:active {
 | 
				
			||||||
 | 
					        background-color: #76323F;
 | 
				
			||||||
 | 
					        color: #f9f9f9; }
 | 
				
			||||||
  .LP-Input .LP-Input__Label {
 | 
					  .LP-Input .LP-Input__Label {
 | 
				
			||||||
    font-family: Montserrat, Helvetica, sans-serif;
 | 
					    font-family: Montserrat, Helvetica, sans-serif;
 | 
				
			||||||
    font-size: 16px; }
 | 
					    font-size: 16px; }
 | 
				
			||||||
@@ -483,6 +498,17 @@ body {
 | 
				
			|||||||
        flex: 2 0; }
 | 
					        flex: 2 0; }
 | 
				
			||||||
      .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrower {
 | 
					      .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrower {
 | 
				
			||||||
        flex: 1 0; }
 | 
					        flex: 1 0; }
 | 
				
			||||||
 | 
					    .LP-Form .LP-Form__Fieldset .LP-Form__Composition--buttons {
 | 
				
			||||||
 | 
					      justify-content: flex-end; }
 | 
				
			||||||
 | 
					    .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Button {
 | 
				
			||||||
 | 
					      flex-grow: 0;
 | 
				
			||||||
 | 
					      padding-left: 0;
 | 
				
			||||||
 | 
					      min-width: 130px; }
 | 
				
			||||||
 | 
					      .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Button .LP-Link {
 | 
				
			||||||
 | 
					        display: contents; }
 | 
				
			||||||
 | 
					    .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__InfoText .LP-Paragraph {
 | 
				
			||||||
 | 
					      font-family: Montserrat, Helvetica, sans-serif;
 | 
				
			||||||
 | 
					      color: #565656; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media (max-width: 650px) {
 | 
					@media (max-width: 650px) {
 | 
				
			||||||
  .LP-Form .LP-Form__Fieldset .LP-Form__Composition--breakable {
 | 
					  .LP-Form .LP-Form__Fieldset .LP-Form__Composition--breakable {
 | 
				
			||||||
@@ -495,9 +521,13 @@ body {
 | 
				
			|||||||
    display: flex;
 | 
					    display: flex;
 | 
				
			||||||
    flex-direction: column;
 | 
					    flex-direction: column;
 | 
				
			||||||
    justify-content: space-between; }
 | 
					    justify-content: space-between; }
 | 
				
			||||||
    .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field {
 | 
					    .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field:not(.LP-Form__Button) {
 | 
				
			||||||
      flex: 3 1 100px;
 | 
					      flex: 3 1 100px;
 | 
				
			||||||
      padding: 12px 15px; } }
 | 
					      padding: 12px 15px; }
 | 
				
			||||||
 | 
					    .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Button {
 | 
				
			||||||
 | 
					      padding: 0 15px; }
 | 
				
			||||||
 | 
					    .LP-Form .LP-Form__Fieldset .LP-Form__Composition--buttons {
 | 
				
			||||||
 | 
					      justify-content: flex-end; } }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.LP-ImageGrid .LP-ImageGrid__List {
 | 
					.LP-ImageGrid .LP-ImageGrid__List {
 | 
				
			||||||
  list-style-type: none;
 | 
					  list-style-type: none;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,13 +9,20 @@
 | 
				
			|||||||
    <fieldset class="LP-Form__Fieldset">
 | 
					    <fieldset class="LP-Form__Fieldset">
 | 
				
			||||||
        <legend class="LP-Form__Legend">Delete place</legend>
 | 
					        <legend class="LP-Form__Legend">Delete place</legend>
 | 
				
			||||||
        {% csrf_token %}
 | 
					        {% csrf_token %}
 | 
				
			||||||
        <div class="LP-Form__Composition LP-Form__Composition--breakable">
 | 
					 | 
				
			||||||
            <p class="LP-Paragraph">Are you sure you want to delete "{{place.name}}"?</p>
 | 
					 | 
				
			||||||
		<div class="LP-Form__Composition">
 | 
							<div class="LP-Form__Composition">
 | 
				
			||||||
                <a href="{% url 'place_detail' pk=place.pk %}">
 | 
								<div class="LP-Form__Field LP-Form__InfoText">
 | 
				
			||||||
 | 
									<p class="LP-Paragraph">Are you sure you want to delete "{{place.name}}"? </p>
 | 
				
			||||||
 | 
								</div>
 | 
				
			||||||
 | 
							</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<div class="LP-Form__Composition LP-Form__Composition--buttons">
 | 
				
			||||||
 | 
								<div class="LP-Form__Field LP-Form__Button LP-Input">
 | 
				
			||||||
 | 
									<button class="LP-Button">Delete</button>
 | 
				
			||||||
 | 
								</div>
 | 
				
			||||||
 | 
								<div class="LP-Form__Field LP-Form__Button LP-Input">
 | 
				
			||||||
 | 
									<a class="LP-Link" href="{% url 'place_detail' pk=place.pk %}">
 | 
				
			||||||
					<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
 | 
										<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
 | 
				
			||||||
				</a>
 | 
									</a>
 | 
				
			||||||
                <input type="submit" class="LP-Button" value="Delete"/>
 | 
					 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
    </fieldset>
 | 
					    </fieldset>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user