function pad(number) {
      if ( number < 10 ) {
        return '0' + number;
      }
      return number;
    }
Draw the list of notebooks
@method draw_notebook_list
@param {Array} list An array of dictionaries representing files or
    directories.
@param {String} error_msg An error message