如何解决Dropzone CSS错误?

时间:2019-04-03 08:12:27

标签: html css dropzone.js

我正在使用jQuery步骤库。在上一节中,我使用dropzone上传文件。但这看起来并不正确。

如果我在行外重写了dropzone代码,它可以正常工作。但是,如果我在里面写,css混乱正在发生。

我正在为您添加示例图像。我的英语不好,对此我感到抱歉。

a busy cat

代码示例;

        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-body wizard-content ">
                        <h4 class="card-title">İş Oluşturun</h4>
                        <h6 class="card-subtitle">Ekibiniz için hemen bir iş tanımlayın</h6>
                        <form action="#" class="tab-wizard vertical wizard-circle">
                            <!-- Step 1 -->
                            <h6>İş Bilgileri</h6>
                            <section>
                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="form-group">
                                            <label for="jobTitle1">İş Başlığı :</label>
                                            <input type="text" class="form-control" id="job_title" name="job_title" required>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="form-group">
                                            <label for="shortDescription1">İş Açıklaması :</label>
                                            <textarea id="job_description" name="job_description" rows="6" class="form-control" required></textarea>
                                        </div>
                                    </div>
                                </div>
                            </section>
                            <!-- Step 2 -->
                            <h6>İş Ayrıntıları</h6>
                            <section>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label for="videoUrl1">İlgili Kullanıcı :</label>
                                            <select class="form-control select2" id="assigned_user" name="assigned_user" style="width: 100%">
                                                <option>Select</option>
                                                <option value="AK">Alaska</option>
                                                <option value="HI">Hawaii</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label for="videoUrl1">İlgili Müşteri :</label>
                                            <input type="text" class="form-control" id="videoUrl1">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label for="firstName1">Başlangıç Tarihi :</label>
                                            <input type="text" class="form-control" id="firstName1">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label for="lastName1">Bitiş Tarihi :</label>
                                            <input type="text" class="form-control" id="lastName1">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label for="emailAddress1">Öncelik :</label>
                                            <input type="email" class="form-control" id="emailAddress1">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-group">
                                            <label for="phoneNumber1">İşin Ücreti :</label>
                                            <input type="tel" class="form-control" id="phoneNumber1">
                                        </div>
                                    </div>
                                </div>
                            </section>
                            <!-- Step 3 -->
                            <h6>Ek Dosyalar</h6>
                            <section>
                                <div class="row">
                                    <div class="col-12">
                                        <div class="card">
                                            <div class="card-body">
                                                <h4 class="card-title">Dropzone</h4>
                                                <h6 class="card-subtitle">For multiple file upload put class <code>.dropzone</code> to form.</h6>
                                                <form action="#" class="dropzone">
                                                    <div class="fallback">
                                                        <input name="file" type="file" multiple />
                                                    </div>
                                                </form>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </section>
                        </form>
                    </div>
                </div>
            </div>
        </div>

0 个答案:

没有答案