<div class="gc-sheet-wrap">
  {{#if isGM}}
  <div class="gc-sheet-header">
    <img src="{{item.img}}" width="40" height="40" style="border:none;margin-right:8px;">
    <input type="text" name="itemName" value="{{itemName}}" class="gc-sheet-name" placeholder="Computer Name">
    <button type="button" class="gc-sheet-populate" title="Fill the computer with random files and folders"><i class="fas fa-dice"></i> Populate</button>
    <button type="button" class="gc-sheet-import" title="Import files, emails and databases from an AI-made CSV"><i class="fas fa-file-import"></i> Import</button>
    <button type="button" class="gc-sheet-launch"><i class="fas fa-play"></i> Open</button>
  </div>

  <div class="gc-sheet-body">

    {{!-- Monitor frame --}}
    <div class="gc-sheet-section-head" data-section="theme">▸ Monitor</div>
    <div class="gc-sheet-section" data-for="theme" style="display:none;">
      <div class="gc-sheet-theme-row">
        <span class="gc-sheet-theme-label">Frame</span>
        <label><input type="radio" name="theme" value="vtm-desktop" {{#if isDesktop}}checked{{/if}}> Old Desktop</label>
        <label><input type="radio" name="theme" value="vtm-laptop" {{#if isLaptop}}checked{{/if}}> Laptop</label>
        <label><input type="radio" name="theme" value="fallout" {{#if isFallout}}checked{{/if}}> Fallout Terminal</label>
      </div>
      <div class="gc-sheet-theme-row" data-row="condition">
        <span class="gc-sheet-theme-label">Condition</span>
        <label><input type="radio" name="themeVariant" value="clean" {{#if isClean}}checked{{/if}}> Clean</label>
        <label><input type="radio" name="themeVariant" value="dirty" {{#if isDirty}}checked{{/if}}> Dirty</label>
      </div>
    </div>

    {{!-- Apps Toggle --}}
    <div class="gc-sheet-section-head" data-section="apps">▸ Apps</div>
    <div class="gc-sheet-section" data-for="apps" style="display:none;">
      <div class="gc-sheet-apps-grid">
        <label><input type="checkbox" name="app_computer" checked disabled> My Computer</label>
        <label><input type="checkbox" name="app_mydocs" checked disabled> My Documents</label>
        <label><input type="checkbox" name="app_email" {{#if data.apps.email}}checked{{/if}}> Email</label>
        <label><input type="checkbox" name="app_database" {{#if data.apps.database}}checked{{/if}}> Database</label>
        <label><input type="checkbox" name="app_notepad" {{#if data.apps.notepad}}checked{{/if}}> Notepad</label>
        <label><input type="checkbox" name="app_ie" {{#if data.apps.ie}}checked{{/if}}> Internet Explorer</label>
        <label><input type="checkbox" name="app_hackinggames" {{#if data.apps.hackinggames}}checked{{/if}}> Hacking Terminal</label>
        <label><input type="checkbox" name="app_camerafeeds" {{#if data.apps.camerafeeds}}checked{{/if}}> Camera Feeds</label>
        <label><input type="checkbox" name="app_netmeeting" {{#if data.apps.netmeeting}}checked{{/if}}> NetMeeting</label>
        <label><input type="checkbox" name="app_accessories" {{#if data.apps.accessories}}checked{{/if}}> Accessories (Paint, Calc...)</label>
        <label><input type="checkbox" name="app_games" {{#if data.apps.games}}checked{{/if}}> Games</label>
        <label><input type="checkbox" name="app_trash" checked disabled> Recycle Bin</label>
      </div>
    </div>

  </div>

  <div class="gc-sheet-footer">
    <button type="submit"><i class="fas fa-save"></i> Save</button>
  </div>

  {{else}}
  <div class="gc-sheet-player">
    <img src="{{item.img}}" width="64" height="64" style="border:none;">
    <h2>{{itemName}}</h2>
    <button type="button" class="gc-sheet-launch"><i class="fas fa-desktop"></i> Open Computer</button>
  </div>
  {{/if}}
</div>
