2023-07-13 19:50:45 +10:00
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
|
|
|
2023-07-14 01:52:00 +10:00
|
|
|
|
{% include 'navbar.html' %}
|
2023-07-18 23:22:14 +10:00
|
|
|
|
|
|
|
|
|
<div class="row">
|
2023-07-18 23:26:41 +10:00
|
|
|
|
<div class="col s7 m6">
|
2023-07-18 23:26:32 +10:00
|
|
|
|
<div class="card">
|
2023-07-18 23:30:11 +10:00
|
|
|
|
<div class="posting_form">
|
|
|
|
|
<h4>Создай то, о чем будут говорить многие.</h4>
|
2023-07-18 23:26:32 +10:00
|
|
|
|
<br>
|
2023-07-18 23:31:26 +10:00
|
|
|
|
<div class="input-field col s6">
|
|
|
|
|
<input id="send_this_text" type="text" >
|
|
|
|
|
<label for="send_this_text">Печатать сюда</label>
|
|
|
|
|
</div>
|
2023-07-18 23:26:32 +10:00
|
|
|
|
<p>
|
2023-07-18 23:30:11 +10:00
|
|
|
|
<button (click)="create()" >Отправить</button>
|
2023-07-18 23:26:32 +10:00
|
|
|
|
</p>
|
|
|
|
|
<h1>Загрузить картинку:</h1>
|
|
|
|
|
<input type="file" #file placeholder="Загрузить картинку" (change)="sendPic($event)" style="display:none;">
|
|
|
|
|
<button type="button" class="btn btn-success" (click)="file.click()">Загрузить картинку</button>
|
|
|
|
|
<div *ngFor="let singlePic of inputImages" >Картинка: {{singlePic}}</div>
|
|
|
|
|
<p>
|
2023-07-18 23:30:11 +10:00
|
|
|
|
<button (click)="eraseData()" >Отмена</button>
|
2023-07-18 23:26:32 +10:00
|
|
|
|
</p>
|
|
|
|
|
</div>
|
2023-07-18 23:23:27 +10:00
|
|
|
|
</div>
|
2023-07-18 23:22:14 +10:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-07-13 19:50:45 +10:00
|
|
|
|
|
2023-07-13 21:45:11 +10:00
|
|
|
|
<div class="row" >
|
2023-07-18 23:28:39 +10:00
|
|
|
|
<div class="col s5 m4" id="neu-posts">
|
2023-07-13 21:26:04 +10:00
|
|
|
|
{% include 'i-posts.html' %}
|
2023-07-13 21:34:06 +10:00
|
|
|
|
</div>
|
2023-07-13 21:26:04 +10:00
|
|
|
|
</div>
|
|
|
|
|
|
2023-07-13 19:50:45 +10:00
|
|
|
|
|
|
|
|
|
{% endblock content %}
|