Advertisement
Guest User

Untitled

a guest
Sep 17th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let vars = {
  2.     sections: {
  3.         login: {
  4.             username: {
  5.                 id: 'inputUsername',
  6.                 placeholder: 'username',
  7.                 label: 'Username',
  8.                 class: 'form-control'
  9.             },
  10.             password: {
  11.                 id: 'inputPassword',
  12.                 placeholder: 'password',
  13.                 label: 'Password',
  14.                 class: 'form-control'
  15.             },
  16.             buttonCreate: {
  17.                 id: 'btnUserCreate',
  18.                 class: 'btn btn-primary',
  19.                 value: 'Create'
  20.             },
  21.             buttonLogin: {
  22.                 id: 'btnUserLogin',
  23.                 class: 'btn btn-info',
  24.                 value: 'Login'
  25.             },
  26.             buttonForgotPassword: {
  27.                 id: 'btnForgotPassword',
  28.                 class: 'btn btn-info',
  29.                 value: 'Forgot Password'
  30.             }
  31.         },
  32.         mainMenu: {
  33.             dashboard: {
  34.                 header: {
  35.                     class: 'card-header',
  36.                     value: 'Dashboard!'
  37.                 },
  38.                 username: {
  39.                     id: 'textUsername',
  40.                     class: 'card-title'
  41.                 },
  42.                 balance: {
  43.                     id: 'textAccountBalance',
  44.                     class: 'card-text'
  45.                 },
  46.                 gamesPlayed: {
  47.                     id: 'textGamesPlayed',
  48.                     class: 'card-text'
  49.                 },
  50.                 winLossRecord: {
  51.                     id: 'textWinLossRecord',
  52.                     class: 'card-text'
  53.                 },
  54.                 buttonDeposit: {
  55.                     id: 'btnDeposit',
  56.                     class: 'btn btn-info btn-sm',
  57.                     value: 'Deposit'
  58.                 },
  59.                 buttonWithdraw: {
  60.                     id: 'btnWithdraw',
  61.                     class: 'btn btn-info btn-sm',
  62.                     value: 'Withdraw'
  63.                 },
  64.                 buttonChangePassword: {
  65.                     id: 'btnChangePassword',
  66.                     class: 'btn btn-info btn-sm',
  67.                     value: 'Change Password'
  68.                 },
  69.                 buttonSetEmail: {
  70.                     id: 'btnSetEmail',
  71.                     class: 'btn btn-info btn-sm',
  72.                     value: 'Set Email'
  73.                 }
  74.             },
  75.             cardGame1: {
  76.                 title: {
  77.                     id: 'textGame1Title',
  78.                     class: 'card-title',
  79.                     value: 'Cheapskate'
  80.                 },
  81.                 description: {
  82.                     id: 'textGame1Description',
  83.                     class: 'card-text',
  84.                     value: 'Play head-to-head for 1,000 credits.'
  85.                 },
  86.                 playing: {
  87.                     id: 'textGamePlaying1',
  88.                     class: 'card-text'
  89.                 },
  90.                 waiting: {
  91.                     id: 'textGameWait1',
  92.                     class: 'card-text'
  93.                 },
  94.                 buttonPlay: {
  95.                     id: 'btnGamePlay1',
  96.                     class: 'btn btn-success',
  97.                     value: 'Play'
  98.                 }
  99.             },
  100.             cardGame2: {
  101.                 title: {
  102.                     id: 'textGame2Title',
  103.                     class: 'card-title',
  104.                     value: 'Challenger'
  105.                 },
  106.                 description: {
  107.                     id: 'textGame2Description',
  108.                     class: 'card-text',
  109.                     value: 'Play head-to-head for 10,000 credits.'
  110.                 },
  111.                 playing: {
  112.                     id: 'textGamePlaying2',
  113.                     class: 'card-text'
  114.                 },
  115.                 waiting: {
  116.                     id: 'textGameWait2',
  117.                     class: 'card-text'
  118.                 },
  119.                 buttonPlay: {
  120.                     id: 'btnGamePlay2',
  121.                     class: 'btn btn-warning',
  122.                     value: 'Play'
  123.                 }
  124.             },
  125.             cardGame3: {
  126.                 title: {
  127.                     id: 'textGame3Title',
  128.                     class: 'card-title',
  129.                     value: 'High-Roller'
  130.                 },
  131.                 description: {
  132.                     id: 'textGame3Description',
  133.                     class: 'card-text',
  134.                     value: 'Play head-to-head for 100,000 credits!'
  135.                 },
  136.                 playing: {
  137.                     id: 'textGamePlaying3',
  138.                     class: 'card-text'
  139.                 },
  140.                 waiting: {
  141.                     id: 'textGameWait3',
  142.                     class: 'card-text'
  143.                 },
  144.                 buttonPlay: {
  145.                     id: 'btnGamePlay3',
  146.                     class: 'btn btn-danger',
  147.                     value: 'Play'
  148.                 }
  149.             },
  150.             chat: {
  151.                 header: {
  152.                     id: 'textChatOnlineUsers',
  153.                     class: 'card-header',
  154.                     value: 'Chat'
  155.                 },
  156.                 content: {
  157.                     id: 'chatContent',
  158.                     class: 'border border-light'
  159.                 },
  160.                 input: {
  161.                     id: 'chatMessage',
  162.                     class: 'form-control',
  163.                     placeholder: 'Say something!'
  164.                 },
  165.                 buttonSend: {
  166.                     id: 'chatSend',
  167.                     class: 'btn btn-success',
  168.                     value: 'Send'
  169.                 }
  170.             }
  171.         }
  172.     }
  173.  
  174. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement