apolinario commited on
Commit
647b4ff
·
1 Parent(s): 3f35aee

more ui tweaks

Browse files
ui/src/app/jobs/new/SimplifiedJob.tsx CHANGED
@@ -461,8 +461,6 @@ export default function SimplifiedJob({
461
 
462
  return (
463
  <form onSubmit={handleSubmit} className="space-y-8">
464
- <h2 className="text-lg font-semibold text-gray-100">Start training</h2>
465
-
466
  <Card title="Training Setup">
467
  <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
468
  <TextInput
 
461
 
462
  return (
463
  <form onSubmit={handleSubmit} className="space-y-8">
 
 
464
  <Card title="Training Setup">
465
  <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
466
  <TextInput
ui/src/app/jobs/new/page.tsx CHANGED
@@ -318,19 +318,21 @@ export default function TrainingForm() {
318
  </MainContent>
319
  ) : showAdvancedView ? (
320
  <MainContent className="pt-28">
321
- <div className="px-2 pb-6">
322
- <AdvancedJob
323
- jobConfig={jobConfig}
324
- setJobConfig={setJobConfig}
325
- status={status}
326
- handleSubmit={handleSubmit}
327
- runId={runId}
328
- gpuIDs={gpuIDs}
329
- setGpuIDs={setGpuIDs}
330
- gpuList={gpuList}
331
- datasetOptions={datasetOptions}
332
- settings={settings}
333
- />
 
 
334
  </div>
335
  </MainContent>
336
  ) : (
 
318
  </MainContent>
319
  ) : showAdvancedView ? (
320
  <MainContent className="pt-28">
321
+ <div className="px-2 pb-6 h-full">
322
+ <section className="flex flex-col relative w-full h-full text-left">
323
+ <AdvancedJob
324
+ jobConfig={jobConfig}
325
+ setJobConfig={setJobConfig}
326
+ status={status}
327
+ handleSubmit={handleSubmit}
328
+ runId={runId}
329
+ gpuIDs={gpuIDs}
330
+ setGpuIDs={setGpuIDs}
331
+ gpuList={gpuList}
332
+ datasetOptions={datasetOptions}
333
+ settings={settings}
334
+ />
335
+ </section>
336
  </div>
337
  </MainContent>
338
  ) : (
ui/src/components/HFJobsWorkflow.tsx CHANGED
@@ -712,6 +712,7 @@ export default function HFJobsWorkflow({ jobConfig, onComplete, hackathonEligibl
712
 
713
  return (
714
  <div className="space-y-6">
 
715
  {/* Progress indicator */}
716
  <div className="flex items-center justify-between mb-6">
717
  {(['validate', 'upload', 'submit', 'complete'] as Step[]).map((step, index) => (
 
712
 
713
  return (
714
  <div className="space-y-6">
715
+ <h2 className="text-lg font-semibold text-gray-100">Start training</h2>
716
  {/* Progress indicator */}
717
  <div className="flex items-center justify-between mb-6">
718
  {(['validate', 'upload', 'submit', 'complete'] as Step[]).map((step, index) => (