summaryrefslogtreecommitdiffstats
path: root/web/react/components/admin_console/jobs_settings.jsx
blob: 34ec9693de33fdca8a05ab4a118d55578c535ae5 (plain)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.

export default class Jobs extends React.Component {
    constructor(props) {
        super(props);

        this.state = {
        };
    }

    render() {
        return (
            <div className='wrapper--fixed'>
                <h3>{' **************   JOB Settings'}</h3>
                <form
                    className='form-horizontal'
                    role='form'
                >
                    <div className='form-group'>
                        <label
                            className='control-label col-sm-4'
                            htmlFor='email'
                        >
                            {'Bypass Email: '}
                            <a
                                href='#'
                                data-trigger='hover click'
                                data-toggle='popover'
                                data-position='bottom'
                                data-content={'Here\'s some more help text inside a popover for the Bypass Email field just to show how popovers look.'}
                            >
                                {'(?)'}
                            </a>
                        </label>
                        <div className='col-sm-8'>
                            <label className='radio-inline'>
                                <input
                                    type='radio'
                                    name='byPassEmail'
                                    value='option1'
                                />
                                    {'True'}
                            </label>
                            <label className='radio-inline'>
                                <input
                                    type='radio'
                                    name='byPassEmail'
                                    value='option2'
                                />
                                    {'False'}
                            </label>
                            <p className='help-text'>{'This is some sample help text for the Bypass Email field'}</p>
                        </div>
                    </div>
                    <div className='form-group'>
                        <label
                            className='control-label col-sm-4'
                            htmlFor='smtpUsername'
                        >
                            {'SMTP Username:'}
                        </label>
                        <div className='col-sm-8'>
                            <input
                                type='email'
                                className='form-control'
                                id='smtpUsername'
                                placeholder='Enter your SMTP username'
                                value=''
                            />
                            <div className='help-text'>
                                <div className='alert alert-warning'><i className='fa fa-warning'></i>{' This is some error text for the Bypass Email field'}</div>
                            </div>
                            <p className='help-text'>{'This is some sample help text for the SMTP username field'}</p>
                        </div>
                    </div>
                    <div
                        className='panel-group'
                        id='accordion'
                        role='tablist'
                        aria-multiselectable='true'
                    >
                        <div className='panel panel-default'>
                            <div
                                className='panel-heading'
                                role='tab'
                                id='headingOne'
                            >
                                <h3 className='panel-title'>
                                    <a
                                        className='collapsed'
                                        role='button'
                                        data-toggle='collapse'
                                        data-parent='#accordion'
                                        href='#collapseOne'
                                        aria-expanded='true'
                                        aria-controls='collapseOne'
                                    >
                                        {'Advanced Settings '}
                                        <i className='fa fa-plus'></i>
                                        <i className='fa fa-minus'></i>
                                    </a>
                                </h3>
                            </div>
                            <div
                                id='collapseOne'
                                className='panel-collapse collapse'
                                role='tabpanel'
                                aria-labelledby='headingOne'
                            >
                                <div className='panel-body'>
                                    <div className='form-group'>
                                        <label
                                            className='control-label col-sm-4'
                                            htmlFor='feedbackUsername'
                                        >
                                            {'Apple push server:'}
                                        </label>
                                        <div className='col-sm-8'>
                                            <input
                                                type='text'
                                                className='form-control'
                                                id='feedbackUsername'
                                                placeholder='Enter your Apple push server'
                                                value=''
                                            />
                                            <p className='help-text'>{'This is some sample help text for the Apple push server field'}</p>
                                        </div>
                                    </div>
                                    <div className='form-group'>
                                        <label
                                            className='control-label col-sm-4'
                                            htmlFor='feedbackUsername'
                                        >
                                            {'Apple push certificate public:'}
                                        </label>
                                        <div className='col-sm-8'>
                                            <input
                                                type='text'
                                                className='form-control'
                                                id='feedbackUsername'
                                                placeholder='Enter your public apple push certificate'
                                                value=''
                                            />
                                        </div>
                                    </div>
                                    <div className='form-group'>
                                        <label
                                            className='control-label col-sm-4'
                                            htmlFor='feedbackUsername'
                                        >
                                            {'Apple push certificate private:'}
                                        </label>
                                        <div className='col-sm-8'>
                                            <input
                                                type='text'
                                                className='form-control'
                                                id='feedbackUsername'
                                                placeholder='Enter your private apple push certificate'
                                                value=''
                                            />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div className='form-group'>
                        <div className='col-sm-12'>
                            <button
                                type='submit'
                                className='btn btn-primary'
                            >
                                {'Submit'}
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        );
    }
}