无关风月
2025-05-08 9486766c806fe1d9e082b2fd02ea1cc558f1b443
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
@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="versionInfoForm">
 
            <div class="row">
                <div class="col-sm-11">
 
                    @if(language==1){
                    <#input id="version" name="版本编号" />
                    @}
                    @if(language==2){
                    <#input id="version" name="Version number" />
                    @}
                    @if(language==3){
                    <#input id="version" name="Nomor Versi" />
                    @}
                    <div class="form-group">
 
                        @if(language==1){
                        <label class="col-sm-3 control-label">端口类型:</label>
                        @}
                        @if(language==2){
                        <label class="col-sm-3 control-label">Port type:</label>
                        @}
                        @if(language==3){
                        <label class="col-sm-3 control-label">Tipe port:</label>
                        @}
                        <div class="col-sm-9"  style="display: flex;align-items: center;">
                            <div class="radio radio-info radio-inline">
                                <input type="radio" id="type1" value="1" name="type" checked="" >
 
                                @if(language==1){
                                <label for="type1"> 用户端 </label>
                                @}
                                @if(language==2){
                                <label for="type1"> User's end </label>
                                @}
                                @if(language==3){
                                <label for="type1"> Akhir pengguna </label>
                                @}
                            </div>
                            <div class="radio radio-success radio-inline">
                                <input type="radio" id="type2" value="2" name="type" >
 
                                @if(language==1){
                                <label for="type2"> 司机端 </label>
                                @}
                                @if(language==2){
                                <label for="type2"> Driver's end </label>
                                @}
                                @if(language==3){
                                <label for="type2"> Akhir pengemudi </label>
                                @}
                            </div>
                        </div>
                    </div>
                    <div id="androidDiv">
                        <div class="form-group">
 
                            @if(language==1){
                            <label class="col-sm-3 control-label">上传apk文件:</label>
                            @}
                            @if(language==2){
                            <label class="col-sm-3 control-label">Upload apk file:</label>
                            @}
                            @if(language==3){
                            <label class="col-sm-3 control-label">Unggah file apk:</label>
                            @}
                            <div class="col-sm-9">
                                <input type="file" name="images" onchange="TVersionManagementInfoDlg.previewFile()">
                            </div>
                        </div>
                    </div>
 
                    @if(language==1){
                    <#input id="url" name="版本链接" disabled="disabled"/>
                    @}
                    @if(language==2){
                    <#input id="url" name="Version link" disabled="disabled"/>
                    @}
                    @if(language==3){
                    <#input id="url" name="Tautan versi" disabled="disabled"/>
                    @}
                    <div class="form-group">
 
                        @if(language==1){
                        <label class="col-sm-3 control-label">是否强制更新:</label>
                        @}
                        @if(language==2){
                        <label class="col-sm-3 control-label">Whether to force update?:</label>
                        @}
                        @if(language==3){
                        <label class="col-sm-3 control-label">Apakah akan memaksa pembaruan?:</label>
                        @}
                        <div class="col-sm-9"  style="display: flex;align-items: center;">
                            <div class="radio radio-info radio-inline">
                                <input type="radio" id="mandatory1" value="1" name="mandatory" checked="" >
 
                                @if(language==1){
                                <label for="mandatory1"> 是 </label>
                                @}
                                @if(language==2){
                                <label for="mandatory1"> Yes </label>
                                @}
                                @if(language==3){
                                <label for="mandatory1"> Ya </label>
                                @}
                            </div>
                            <div class="radio radio-success radio-inline">
                                <input type="radio" id="mandatory2" value="2" name="mandatory" >
 
                                @if(language==1){
                                <label for="mandatory2"> 否 </label>
                                @}
                                @if(language==2){
                                <label for="mandatory2"> No </label>
                                @}
                                @if(language==3){
                                <label for="mandatory2"> Tidak </label>
                                @}
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
 
                        @if(language==1){
                        <label class="col-sm-3 control-label">版本公告:</label>
                        @}
                        @if(language==2){
                        <label class="col-sm-3 control-label">Version announcement:</label>
                        @}
                        @if(language==3){
                        <label class="col-sm-3 control-label">Pengumuman versi:</label>
                        @}
                        <div class="col-sm-9">
 
                            @if(language==1){
                            <textarea type="text/plain" class="form-control" name="content" id="content" placeholder="多行输入" style="width:100%;height:150px;"></textarea>
                            @}
                            @if(language==2){
                            <textarea type="text/plain" class="form-control" name="content" id="content" placeholder="Multiline input" style="width:100%;height:150px;"></textarea>
                            @}
                            @if(language==3){
                            <textarea type="text/plain" class="form-control" name="content" id="content" placeholder="Input berbilang baris" style="width:100%;height:150px;"></textarea>
                            @}
                        </div>
                    </div>
                </div>
            </div>
 
            <div class="row btn-group-m-t">
                <div class="col-sm-10 col-sm-offset-5">
 
                    @if(language==1){
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TVersionManagementInfoDlg.addSubmit()"/>
                    @}
                    @if(language==2){
                    <#button btnCss="info" name="Submit" id="ensure" icon="fa-check" clickFun="TVersionManagementInfoDlg.addSubmit()"/>
                    @}
                    @if(language==3){
                    <#button btnCss="info" name="Kirim" id="ensure" icon="fa-check" clickFun="TVersionManagementInfoDlg.addSubmit()"/>
                    @}
 
                    @if(language==1){
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TVersionManagementInfoDlg.close()"/>
                    @}
                    @if(language==2){
                    <#button btnCss="danger" name="Cancel" id="cancel" icon="fa-eraser" clickFun="TVersionManagementInfoDlg.close()"/>
                    @}
                    @if(language==3){
                    <#button btnCss="danger" name="Batal" id="cancel" icon="fa-eraser" clickFun="TVersionManagementInfoDlg.close()"/>
                    @}
                </div>
            </div>
        </div>
 
    </div>
</div>
<script src="${ctxPath}/modular/system/tVersionManagement/tVersionManagement_info.js"></script>
@}