Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 985 | Rev 990 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 985 Rev 989
Línea 1490... Línea 1490...
1490
                <div class="card">
1490
                <div class="card">
1491
                    <div class="card-body">
1491
                    <div class="card-body">
1492
                        <table id="gridTable" class="table   table-hover">
1492
                        <table id="gridTable" class="table   table-hover">
1493
                            <thead>
1493
                            <thead>
1494
                                <tr>
1494
                                <tr>
1495
                                    <th>LABEL_NAME</th>
1495
                                    <th>LABEL_JOB_DESCRIPTION</th>
1496
                                    <th>LABEL_LANGUAGE</th>
-
 
1497
                                    <th>LABEL_ACTIVE</th>
1496
                                    <th>LABEL_REGISTER</th>
1498
                                    <th>LABEL_ACTIONS</th>
1497
                                    <th>LABEL_ACTIONS</th>
1499
                                </tr>
1498
                                </tr>
1500
                            </thead>
1499
                            </thead>
1501
                            <tbody></tbody>
1500
                            <tbody></tbody>
1502
                        </table>
1501
                        </table>
Línea 1519... Línea 1518...
1519
    <div class="row" id="row-edit" style="display: none">
1518
    <div class="row" id="row-edit" style="display: none">
1520
        <div class="col-xs-12 col-md-12">
1519
        <div class="col-xs-12 col-md-12">
1521
            <form action="#" name="form-main" id="form-main">
1520
            <form action="#" name="form-main" id="form-main">
1522
                <input type="hidden" name="form-id" id="form-id" value="0" />
1521
                <input type="hidden" name="form-id" id="form-id" value="0" />
1523
                <input type="hidden" name="form-continue" id="form-continue" value="0" />
1522
                <input type="hidden" name="form-continue" id="form-continue" value="0" />
1524
                <div class="form-group">
-
 
1525
                    <label for="form-name">LABEL_FIRST_NAME</label>
-
 
1526
                    <input type="text" name="form-name" id="form-name" class="form-control" maxlength="50" />
-
 
1527
                </div>
-
 
1528
                <div class="form-group">
-
 
1529
                    <label for="form-description">LABEL_DESCRIPTION</label>
-
 
1530
                    <!--  ckeditor -->
-
 
1531
                    <textarea  name="form-description" id="form-description" rows="5" class="ckeditor form-control"></textarea>
-
 
1532
                </div>
-
 
1533
                <div class="form-group">
-
 
1534
                    <label for="form-text">LABEL_TEXT</label>
-
 
1535
                    <!--  ckeditor -->
-
 
-
 
1523
 
1536
                    <textarea  name="form-text" id="form-text" rows="5" class="ckeditor form-control"></textarea>
-
 
1537
                </div>
-
 
1538
                <div class="form-group">
-
 
1539
                    <label for="form-language">LABEL_LANGUAGES</label>
-
 
1540
                    <select name="form-language" id="form-language" class="form-control">
-
 
1541
                        <option value="<?php echo $lang_en; ?>">LABEL_ENGLISH</option>
-
 
1542
                        <option value="<?php echo $lang_es; ?>">LABEL_SPANISH</option>
-
 
1543
                    </select>
-
 
1544
                </div>
-
 
1545
                <div class="form-group">
-
 
1546
                    <label for="form-status">LABEL_STATUS</label>
-
 
1547
                    <select name="form-status" id="form-status" class="form-control">
-
 
1548
                        <option value="<?php echo $status_inactive; ?>">LABEL_INACTIVE</option>
-
 
1549
                        <option value="<?php echo $status_active; ?>">LABEL_ACTIVE</option>
-
 
1550
                    </select>
-
 
1551
                </div>
-
 
1552
                <br/>
-
 
1553
                <div class="row">
1524
                <div class="row">
1554
                    <div class="col-xs-12 col-md-12 text-right">
1525
                    <div class="col-xs-12 col-md-12 text-right">
1555
                        <button class="btn btn-primary" id="btn-add-section" data-toggle="tooltip" title="LABEL_ADD LABEL_SECTION"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_SECTION</button>
1526
                        <button class="btn btn-primary" id="btn-add-section" data-toggle="tooltip" title="LABEL_ADD LABEL_SECTION"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_SECTION</button>
1556
                    </div>
1527
                    </div>
1557
                </div>
1528
                </div>
Línea 1570... Línea 1541...
1570
        </div>
1541
        </div>
1571
    </div>
1542
    </div>
Línea 1572... Línea 1543...
1572
 
1543
 
Línea 1573... Línea -...
1573
    <!-- Create/Edit Form-->
-
 
1574
 
-
 
1575
    <!-- Section Modal -->
-
 
1576
    <div  id="modal-section" class="modal" tabindex="-1" role="dialog">
-
 
1577
        <div class="modal-dialog modal-lg" role="document">
-
 
1578
            <form action="#" name="form-section" id="form-section">
-
 
1579
                <input type="hidden" name="section-slug" id="section-slug" value="" />
-
 
1580
                <div class="modal-content">
-
 
1581
                    <div class="modal-header">
-
 
1582
                        <h4 class="modal-title">LABEL_ADD LABEL_SECTION</h4>
-
 
1583
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
-
 
1584
                            <span aria-hidden="true">&times;</span>
-
 
1585
                        </button>
-
 
1586
                    </div>
-
 
1587
                    <div class="modal-body">
-
 
1588
                        <div class="form-group">
-
 
1589
                            <label for="section-name">LABEL_FIRST_NAME</label>
-
 
1590
                            <input type="text" name="section-name" id="section-name" class="form-control" maxlength="50" value="" />
-
 
1591
                        </div>
-
 
1592
                        <div class="form-group">
-
 
1593
                            <label for="section-text">LABEL_TEXT</label>
-
 
1594
                            <!--  ckeditor -->
-
 
1595
                            <textarea  name="section-text" id="section-text" rows="5" class="ckeditor form-control"></textarea>
-
 
1596
                        </div>
-
 
1597
                        <div class="form-group">
-
 
1598
                            <label for="section-value">LABEL_VALUE</label>
-
 
1599
                            <input type="text" name="section-value" id="section-value"  class="form-control" value="0" />
-
 
1600
                        </div>
-
 
1601
                    </div>
-
 
1602
                    <div class="modal-footer">
-
 
1603
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
1604
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
-
 
1605
                    </div>
-
 
1606
                </div>
-
 
1607
            </form>
-
 
1608
        </div>
-
 
Línea 1609... Línea 1544...
1609
    </div>
1544
    <!-- Create/Edit Form-->
Línea 1610... Línea 1545...
1610
    <!-- End Modal Section -->
1545
 
1611
 
1546
 
1612
    <!-- Question Modal -->
1547
    <!-- Question Modal -->
1613
 
1548
 
1614
    <div  id="modal-question" class="modal" tabindex="-1" role="dialog">
1549
    <div  id="modal-question" class="modal" tabindex="-1" role="dialog">
1615
        <div class="modal-dialog modal-lg" role="document">
1550
        <div class="modal-dialog modal-lg" role="document">
1616
            <form action="#" name="form-question" id="form-question">
1551
            <form action="#" name="form-question" id="form-question">
1617
                <input type="hidden" name="question-section" id="question-section" />
1552
                <input type="hidden" name="question-section" id="question-section" />
1618
                <input type="hidden" name="question-slug" id="question-slug" />
1553
                <input type="hidden" name="question-slug" id="question-slug" />
1619
                <div class="modal-content">
1554
                <div class="modal-content">
1620
                    <div class="modal-header">
1555
                    <div class="modal-header">
1621
                        <h4 class="modal-title">LABEL_ADD LABEL_QUESTION</h4>
1556
                        <h4 class="modal-title">LABEL_ADD LABEL_SECTION</h4>
1622
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1557
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
Línea 1628... Línea 1563...
1628
                            <label for="question-text">LABEL_TEXT</label>
1563
                            <label for="question-text">LABEL_TEXT</label>
1629
                            <!--  ckeditor -->
1564
                            <!--  ckeditor -->
1630
                            <textarea  name="question-text" id="question-text" rows="5" class="ckeditor form-control"></textarea>
1565
                            <textarea  name="question-text" id="question-text" rows="5" class="ckeditor form-control"></textarea>
1631
                        </div>
1566
                        </div>
1632
                        <div class="form-group">
1567
                        <div class="form-group">
1633
                            <label for="question-value">LABEL_VALUE</label>
-
 
1634
                            <input type="text" name="question-value" id="question-value"  class="form-control" />
-
 
1635
                        </div>
-
 
1636
                        <div class="form-group">
-
 
1637
                            <label for="question-type">LABEL_TYPE</label>
1568
                            <label for="question-type">LABEL_TYPE</label>
1638
                            <select name="question-type" id="question-type" class="form-control">
1569
                            <select name="question-type" id="question-type" class="form-control">
1639
                                <option value="open">LABEL_OPEN</option>
1570
                                <option value="open">LABEL_OPEN</option>
1640
                                <option value="simple">Simple</option>
1571
                                <option value="simple">Simple</option>
1641
                                <option value="multiple">Multiple</option>
1572
                                <option value="multiple">Multiple</option>
1642
                                <option value="rating-open">LABEL_RATING_OPEN</option>
-
 
1643
                                <option value="rating-range">LABEL_RATING_RANGE</option>
-
 
1644
                            </select>
1573
                            </select>
1645
                        </div>
1574
                        </div>
1646
                        <div class="form-group">
1575
                        <div class="form-group">
1647
                            <label for="question-max-length">LABEL_MAXLENGTH</label>
1576
                            <label for="question-max-length">LABEL_MAXLENGTH</label>
1648
                            <input type="text" name="question-max-length" id="question-max-length"  class="form-control" />
1577
                            <input type="text" name="question-max-length" id="question-max-length"  class="form-control" />
Línea 1652... Línea 1581...
1652
                            <select name="question-multiline" id="question-multiline" class="form-control">
1581
                            <select name="question-multiline" id="question-multiline" class="form-control">
1653
                                <option value="1">LABEL_YES</option>
1582
                                <option value="1">LABEL_YES</option>
1654
                                <option value="0">LABEL_NOT</option>
1583
                                <option value="0">LABEL_NOT</option>
1655
                            </select>
1584
                            </select>
1656
                        </div>
1585
                        </div>
1657
                        <div class="form-group">
-
 
1658
                            <label for="question-range">LABEL_RANGE</label>
-
 
1659
                            <select name="question-range" id="question-range" class="form-control">
-
 
1660
                                <option value="10">1-10</option>
-
 
1661
                                <option value="6">1-6</option>
-
 
1662
                                <option value="5">1-5</option>
-
 
1663
                            </select>
-
 
1664
                        </div>
-
 
1665
                    </div>
1586
                    </div>
1666
                    <div class="modal-footer">
1587
                    <div class="modal-footer">
1667
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
1588
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
1668
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
1589
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
1669
                    </div>
1590
                    </div>
Línea 1693... Línea 1614...
1693
                        <div class="form-group">
1614
                        <div class="form-group">
1694
                            <label for="option-text">LABEL_TEXT</label>
1615
                            <label for="option-text">LABEL_TEXT</label>
1695
                            <!--  ckeditor -->
1616
                            <!--  ckeditor -->
1696
                            <textarea  name="option-text" id="option-text" rows="5" class="ckeditor form-control"></textarea>
1617
                            <textarea  name="option-text" id="option-text" rows="5" class="ckeditor form-control"></textarea>
1697
                        </div>
1618
                        </div>
1698
                        <div class="form-group">
-
 
1699
                            <label for="option-correct">LABEL_ANSWER_CORRECT</label>
-
 
1700
                            <select name="option-correct" id="option-correct" class="form-control">
-
 
1701
                                <option value="1">LABEL_YES</option>
-
 
1702
                                <option value="0">LABEL_NOT</option>
-
 
1703
                            </select>
-
 
1704
                        </div>
-
 
1705
                        <div class="form-group">
-
 
1706
                            <label for="option-value">LABEL_VALUE</label>
-
 
1707
                            <input type="text" name="option-value" id="option-value" class="form-control" />
-
 
1708
                        </div>
-
 
1709
                    </div>
1619
                    </div>
1710
                    <div class="modal-footer">
1620
                    <div class="modal-footer">
1711
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
1621
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
1712
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
1622
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
1713
                    </div>
1623
                    </div>