mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-26 04:28:41 +00:00
fix: submit editor filename width
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1daf709df8
commit
236ca9654d
@ -804,12 +804,12 @@ $.fn.source_code_form_group = function(name, text, langs_options_html) {
|
|||||||
|
|
||||||
$(this)
|
$(this)
|
||||||
.append($('<div class="row col-sm-12"/>')
|
.append($('<div class="row col-sm-12"/>')
|
||||||
.append($('<label class="col-sm-2 control-label"><div class="'+(isBootstrap5Page ? ' text-start ' : ' text-left ')+'">' + text + '</div></label>'))
|
.append($('<label class="col-sm-4 control-label"><div class="'+(isBootstrap5Page ? ' text-start ' : ' text-left ')+'">' + text + '</div></label>'))
|
||||||
.append($('<label class="col-sm-1 control-label '+ (isBootstrap5Page ? ' px-1 ' : '') +' " for="' + input_language_name + '">'+uojLocale('editor::language')+'</label>'))
|
.append($('<label class="col-sm-1 control-label '+ (isBootstrap5Page ? ' px-1 ' : '') +' " for="' + input_language_name + '">'+uojLocale('editor::language')+'</label>'))
|
||||||
.append($('<div class="col-sm-2"/>')
|
.append($('<div class="col-sm-2"/>')
|
||||||
.append(input_language)
|
.append(input_language)
|
||||||
)
|
)
|
||||||
.append($('<div class="col-sm-2 offset-sm-3 radio"/>')
|
.append($('<div class="col-sm-2 offset-sm-1 radio"/>')
|
||||||
.append($('<label/>')
|
.append($('<label/>')
|
||||||
.append(input_upload_type_editor)
|
.append(input_upload_type_editor)
|
||||||
.append(' '+uojLocale('editor::upload by editor'))
|
.append(' '+uojLocale('editor::upload by editor'))
|
||||||
@ -962,9 +962,8 @@ $.fn.text_file_form_group = function(name, text) {
|
|||||||
|
|
||||||
$(this)
|
$(this)
|
||||||
.append($('<div class="row"/>')
|
.append($('<div class="row"/>')
|
||||||
.append($('<label class="col-sm-2 control-label"><div class="text-left">' + text + '</div></label>'))
|
.append($('<label class="col-sm-4 control-label"><div class="'+(isBootstrap5Page ? ' text-start ' : ' text-left ')+'">' + text + '</div></label>'))
|
||||||
.append($('<div class="top-buffer-sm" />'))
|
.append($('<div class="col-sm-2 offset-sm-4 radio"/>')
|
||||||
.append($('<div class="col-sm-2 offset-sm-6 radio"/>')
|
|
||||||
.append($('<label/>')
|
.append($('<label/>')
|
||||||
.append(input_upload_type_editor)
|
.append(input_upload_type_editor)
|
||||||
.append(' '+uojLocale('editor::upload by editor'))
|
.append(' '+uojLocale('editor::upload by editor'))
|
||||||
|
Loading…
Reference in New Issue
Block a user