File tree Expand file tree Collapse file tree 8 files changed +17
-11
lines changed
resources/themes/pterodactyl Expand file tree Collapse file tree 8 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
77### Fixed
88* Fixes server creation API endpoint not passing the provided ` external_id ` to the creation service.
99* Fixes a bug causing users to be un-editable on new installations once more than one user exists.
10+ * Fixes default order of buttons in certain parts of the panel that would default to 'Delete' rather than 'Save' when pressing enter.
1011
1112### Added
1213* Adds ability to modify the external ID for a server through the API.
Original file line number Diff line number Diff line change 7979 </div >
8080 <div class =" box-footer" >
8181 {!! csrf_field () ! !}
82- <button name =" _method" value =" DELETE" class =" btn btn-sm btn-danger pull-left muted muted-hover" ><i class =" fa fa-trash-o" ></i ></button >
8382 <button name =" _method" value =" PATCH" class =" btn btn-sm btn-primary pull-right" >Save</button >
83+ <button name =" _method" value =" DELETE" class =" btn btn-sm btn-danger pull-left muted muted-hover" ><i class =" fa fa-trash-o" ></i ></button >
8484 </div >
8585 </div >
8686 </div >
Original file line number Diff line number Diff line change 8686 </div >
8787 <div class =" box-footer" >
8888 {!! csrf_field () ! !}
89- <button class =" btn btn-sm btn-danger pull-left muted muted-hover" data-action =" delete" name =" _method" value =" DELETE" type =" submit" ><i class =" fa fa-trash-o" ></i ></button >
9089 <button class =" btn btn-sm btn-primary pull-right" name =" _method" value =" PATCH" type =" submit" >Save</button >
90+ <button class =" btn btn-sm btn-danger pull-left muted muted-hover" data-action =" delete" name =" _method" value =" DELETE" type =" submit" ><i class =" fa fa-trash-o" ></i ></button >
9191 </div >
9292 </form >
9393 </div >
Original file line number Diff line number Diff line change 3131 </div >
3232 </div >
3333 <div class =" col-xs-12" >
34- <div class =" callout callout -info" >
34+ <div class =" alert alert -info" >
3535 <strong >Notice:</strong > Editing an Egg or any of the Process Management fields <em >requires</em > that each Daemon be rebooted in order to apply the changes.
3636 </div >
3737 </div >
159159 </div >
160160 <div class =" box-footer" >
161161 {!! csrf_field () ! !}
162+ <button type =" submit" name =" _method" value =" PATCH" class =" btn btn-primary btn-sm pull-right" >Save</button >
163+ <a href =" {{ route (' admin.nests.egg.export' , [' option' => $egg -> id ]) } }" class =" btn btn-sm btn-info pull-right" style =" margin-right :10px ;" >Export</a >
162164 <button id =" deleteButton" type =" submit" name =" _method" value =" DELETE" class =" btn btn-danger btn-sm muted muted-hover" >
163165 <i class =" fa fa-trash-o" ></i >
164166 </button >
165- <button type =" submit" name =" _method" value =" PATCH" class =" btn btn-primary btn-sm pull-right" >Save</button >
166- <a href =" {{ route (' admin.nests.egg.export' , [' option' => $egg -> id ]) } }" class =" btn btn-sm btn-info pull-right" style =" margin-right :10px ;" >Export</a >
167167 </div >
168168 </div >
169169 </div >
170+ <div class =" col-xs-12" >
171+ <div class =" alert alert-info" >
172+ <strong >Notice:</strong > Editing an Egg or any of the Process Management fields <em >requires</em > that each Daemon be rebooted in order to apply the changes.
173+ </div >
174+ </div >
170175 </div >
171176</form >
172177@endsection
Original file line number Diff line number Diff line change 3939 <div class =" box-footer" >
4040 {!! csrf_field () ! !}
4141 {!! method_field (' PATCH' ) ! !}
42- <button name =" action" value =" delete" class =" btn btn-sm btn-danger pull-left muted muted-hover" ><i class =" fa fa-trash-o" ></i ></button >
4342 <button name =" action" value =" edit" class =" btn btn-sm btn-primary pull-right" >Save</button >
43+ <button name =" action" value =" delete" class =" btn btn-sm btn-danger pull-left muted muted-hover" ><i class =" fa fa-trash-o" ></i ></button >
4444 </div >
4545 </form >
4646 </div >
Original file line number Diff line number Diff line change 3838 </div >
3939 <div class =" modal-footer" >
4040 {!! csrf_field () ! !}
41- <button type =" button" class =" btn btn-default btn-sm pull-left" data-dismiss =" modal" >Cancel</button >
4241 <button type =" submit" name =" action" value =" from_template" class =" btn btn-primary btn-sm" >Install</button >
42+ <button type =" button" class =" btn btn-default btn-sm pull-left" data-dismiss =" modal" >Cancel</button >
4343 </div >
4444 </form >
4545 </div >
Original file line number Diff line number Diff line change 9898 </div >
9999 <div class =" box-footer with-border" >
100100 {!! csrf_field () ! !}
101- <button name =" _method" value =" DELETE" class =" btn btn-sm btn-danger pull-left muted muted-hover" type =" submit" ><i class =" fa fa-trash-o" ></i ></button >
102101 <button name =" _method" value =" PATCH" class =" btn btn-sm btn-primary pull-right" type =" submit" >Save</button >
102+ <button name =" _method" value =" DELETE" class =" btn btn-sm btn-danger pull-left muted muted-hover" type =" submit" ><i class =" fa fa-trash-o" ></i ></button >
103103 </div >
104104 </div >
105105 </div >
Original file line number Diff line number Diff line change 122122 <div >
123123 <p class =" text-muted small" >@lang (' server.schedule.task_help' )</p >
124124 </div >
125- <div class =" pull-left" >
126- <button type =" submit" class =" btn btn-sm btn-danger muted muted-hover" id =" deleteButton" name =" _method" value =" DELETE" ><i class =" fa fa-trash-o" ></i ></button >
127- </div >
128125 <div class =" pull-right" >
129126 {!! csrf_field () ! !}
130127 <button type =" button" class =" btn btn-sm btn-default" data-action =" add-new-task" ><i class =" fa fa-plus" ></i > @lang (' server.schedule.task.add_more' )</button >
131128 <button type =" submit" class =" btn btn-sm btn-success" name =" _method" value =" PATCH" >@lang (' server.schedule.manage.submit' )</button >
132129 </div >
130+ <div class =" pull-left" >
131+ <button type =" submit" class =" btn btn-sm btn-danger muted muted-hover" id =" deleteButton" name =" _method" value =" DELETE" ><i class =" fa fa-trash-o" ></i ></button >
132+ </div >
133133 </div >
134134 </div >
135135 </div >
You can’t perform that action at this time.
0 commit comments