How to use the @uifabric/styling.FontClassNames.medium function in @uifabric/styling

To help you get started, we’ve selected a few @uifabric/styling examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / pai / src / webportal / src / app / job / job-view / fabric / job-detail / components / summary.jsx View on Github external
/>
              
                Refresh
              
            
          
          {/* summary-row-2 */}
          <div>
            <div>
              <div>Status</div>
              <div>
                
              </div>
            </div>
            <div>
              <div>Start Time</div>
              <div>
                {printDateTime(
                  DateTime.fromMillis(jobInfo.jobStatus.createdTime),
                )}
              </div>
            </div>
            <div>
              <div>User</div></div></div>
github microsoft / pai / src / webportal / src / app / job / job-view / fabric / job-retry / job-retry-card.jsx View on Github external
className={c(
                FontClassNames.medium,
                ColorClassNames.neutralSecondary,
              )}
              style={{ marginBottom: spacing.s1 }}
            &gt;
              Exit Type:
            
            <div>
              {`${jobRetry.exitType}`}
            </div>
          
          <div>
            <div style="{{">
              Diagnostics:
            </div>
            
              View Diagnostics
            
          </div>
github microsoft / pai / src / webportal / src / app / job / job-view / fabric / job-retry / job-retry-card.jsx View on Github external
<div style="{{">
            <span style="{{">Retry Index:</span>
            <span>{jobRetry.attemptIndex}</span>
          </div>
        
        
          <div>
            <div style="{{">
              Status:
            </div>
            
          </div>
          <div>
            <div style="{{"></div></div>
github microsoft / pai / src / webportal / src / app / home / index / login-modal.jsx View on Github external
className={c(
            t.center,
            t.pa2,
            t.h3,
            t.w3,
            t.brPill,
            t.bgBlack,
            t.flex,
            t.justifyCenter,
            t.itemsCenter,
          )}
        &gt;
          <img src="/assets/img/favicon.ico">
        
        <div style="{{">
          Sign in with your OpenPAI account
        </div>
        {error &amp;&amp; (
          {error}
        )}
        <form>
          <div>
            
          </div>
          <div>
            </div></form>
github microsoft / pai / src / webportal / src / app / job / job-view / fabric / job-detail.jsx View on Github external
render() {
    const {loading, jobConfig, jobInfo, sshInfo} = this.state;
    if (loading) {
      return ;
    } else {
      return (
        <div>
          
          <summary>
          {
            jobInfo.taskRoles &amp;&amp; Object.keys(jobInfo.taskRoles).map((key) =&gt; (
               x.name === key)}</summary></div>
github microsoft / pai / src / webportal / src / app / job / job-view / fabric / job-detail / components / summary.jsx View on Github external
<div>
              <div>Start Time</div>
              <div>
                {printDateTime(
                  DateTime.fromMillis(jobInfo.jobStatus.createdTime),
                )}
              </div>
            </div>
            <div>
              <div>User</div>
              <div>
                {jobInfo.jobStatus.username}
              </div>
            </div>
            <div>
              <div>
                Virtual Cluster
              </div>
              <div>
                {jobInfo.jobStatus.virtualCluster}
              </div>
            </div>
            <div>
              <div>Duration</div>
              <div>
                {getDurationString(getJobDuration(jobInfo.jobStatus))}
              </div>
            </div>
            <div>
              <div>Retries</div>
              {this.checkRetryLink() ? (
                </div>
github microsoft / pai / src / webportal / src / app / job / job-view / fabric / job-detail / components / task-role-container-list.jsx View on Github external
),
                        `${key}: ${val}`,
                      ]),
                    )}
                  
                
              
            )
          );
        },
      },
      {
        key: 'gpus',
        name: 'GPUs',
        className: FontClassNames.mediumPlus,
        headerClassName: FontClassNames.medium,
        minWidth: 40,
        maxWidth: 60,
        isResizable: true,
        onRender: item =&gt; {
          const gpuAttr = isNil(item.containerGpus)
            ? null
            : parseGpuAttr(item.containerGpus);
          if (isNil(gpuAttr)) {
            return null;
          } else if (gpuAttr.length === 0) {
            return <div>0</div>;
          } else {
            return (
              <div>
                </div>
github microsoft / pai / src / webportal / src / app / job / job-view / fabric / job-detail / components / task-role-container-list.jsx View on Github external
getColumns() {
    const columns = [
      {
        key: 'number',
        name: 'No.',
        headerClassName: FontClassNames.medium,
        minWidth: 50,
        maxWidth: 50,
        isResizable: true,
        onRender: (item, idx) =&gt; {
          return (
            !isNil(idx) &amp;&amp; (
              <div>{idx}</div>
            )
          );
        },
      },
      {
        key: 'name',
        name: 'Container ID',
        headerClassName: FontClassNames.medium,
        minWidth: 100,