File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
resources/themes/pterodactyl/server Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 3838 <div class =" box" >
3939 <div class =" box-header with-border" >
4040 <h3 class =" box-title" >@lang (' server.tasks.current' )</h3 >
41+ <div class =" box-tools" >
42+ <a href =" {{ route (' server.tasks.new' , $server -> uuidShort ) } }" ><button class =" btn btn-primary btn-sm" >Create New</button ></a >
43+ </div >
4144 </div >
4245 <div class =" box-body table-responsive no-padding" >
4346 <table class =" table table-hover" >
8285 </tbody >
8386 </table >
8487 </div >
85- <div class =" box-footer" >
86- <a href =" {{ route (' server.tasks.new' , $server -> uuidShort ) } }" >
87- <button class =" btn btn-sm btn-primary" >@lang (' server.tasks.new_task' )</button >
88- </a >
89- </div >
9088 </div >
9189 </div >
9290</div >
Original file line number Diff line number Diff line change 3838 <div class =" box" >
3939 <div class =" box-header with-border" >
4040 <h3 class =" box-title" >@lang (' server.users.list' )</h3 >
41+ @can (' create-subuser' , $server )
42+ <div class =" box-tools" >
43+ <a href =" {{ route (' server.subusers.new' , $server -> uuidShort ) } }" ><button class =" btn btn-primary btn-sm" >Create New</button ></a >
44+ </div >
45+ @endcan
4146 </div >
4247 <div class =" box-body table-responsive no-padding" >
4348 <table class =" table table-hover" >
8388 </tbody >
8489 </table >
8590 </div >
86- @can (' create-subuser' , $server )
87- <div class =" box-footer with-border" >
88- <a href =" {{ route (' server.subusers.new' , $server -> uuidShort ) } }" ><button class =" btn btn-sm btn-success pull-right" >@lang (' server.users.add' )</button ></a >
89- </div >
90- @endcan
9191 </div >
9292 </div >
9393</div >
You can’t perform that action at this time.
0 commit comments