SpecRunner.html 2.76 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Jasmine Spec Runner v2.4.1</title>

    <link rel="shortcut icon" type="image/png" href="../lib/jasmine-2.4.1/jasmine_favicon.png">
    <link rel="stylesheet" href="../lib/jasmine-2.4.1/jasmine.css">

    <script src="../lib/jasmine-2.4.1/jasmine.js"></script>
    <script src="../lib/jasmine-2.4.1/jasmine-html.js"></script>
    <script src="../lib/jasmine-2.4.1/boot.js"></script>

    <script src="../helper/mock-ajax.js"></script>

    <script src="../../../js/jquery.min.js"></script>
    <script src="../../../js/bootstrap.min.js"></script>
    <script src="../../../js/EventEmitter.min.js"></script>

    <!-- include source files here... -->
    <script src="../../../js/qfq.debug.js"></script>

    <!-- include spec files here... -->
    <script src="spec/FileUploadSpec.js"></script>

</head>


<body>

<div class="col-md-2 ">
    <div class="btn-toolbar pull-right" role="toolbar">
        <div class="btn-group" role="group">
            <button id="save-button" type="button" class="btn btn-default navbar-btn"><span
                    class="glyphicon glyphicon-ok"></span></button>
            <button id="close-button" type="button" class="btn btn-default navbar-btn"><span
                    class="glyphicon glyphicon-remove"></span></button>
        </div>
        <div class="btn-group" role="group">
            <button id="delete-button" type="button" class="btn btn-default navbar-btn"><span
                    class="glyphicon glyphicon-trash"></span></button>
        </div>
        <div class="btn-group" role="group">
            <a id="form-new-button" href="personmock.html?s=badcaffe1" class="btn btn-default navbar-btn"><span
                    class="glyphicon glyphicon-plus"></span></a>
        </div>
    </div>
</div>

<form id="myForm" class="form-horizontal" data-toggle="validator">

</form>

<script type="text/template" id="fileupload_new">
    <input type="hidden" name="s" value="badcaffee1234">

    <div class="form-group">
        <div class="col-md-2">
            <label for="fileupload" class="control-label">File upload</label>
        </div>
        <div class="col-md-6">
            <div class="col-md-6">
                <div class="uploaded-file hidden"><span class="uploaded-file-name">john.doe.png</span>
                    <button class="delete-file" data-sip="filedeletesip"
                            name="trash-picture:1"><span
                            class="glyphicon glyphicon-trash"></span></button>
                </div>
                <input id="fileupload" name="picture:1" class="hidden" type="file"
                       data-sip="fileuploadsip">

                <div class="help-block with-errors"></div>
            </div>
        </div>
    </div>
</script>

</body>
</html>