Skip to content
This repository
tree: 5735627be7
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 215 lines (194 sloc) 6.9 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
script(id="chat_application", type="text/html")
  .sidebar
    #logo
      img(src='/assets/images/subway.png')
    h2 Subway
      br
      small IRC client
    #user-box
    #channels
  .content

script(id="load_image", type="text/html")
  img(id="loading_image", src="/assets/images/loading.gif")

script(id="overview_home", type="text/html")
  ul
    li.overview_button#connection
      img(src="/assets/images/connection.svg")
      span New Connection
    li.overview_button#settings
      img(src="/assets/images/settings.svg")
      span Settings
    li.overview_button#login
      img(src="/assets/images/login.svg")
      span Login
    li.overview_button#register
      img(src="/assets/images/register.svg")
      span Register

script(id="overview", type="text/html")
  #overview

script(id="overview_connection", type="text/html")
  #home_parent
    a.overview_button#home Home
  form.form-inline
    .control-group
      label(for="connect-nick") Nick
      input#connect-nick(type="text")
    .control-group
      label(for="connect-server") Server
      input#connect-server(type="text")
    .control-group
      label(for="connect-password") Password (optional)
      input#connect-password(type="password")
    .control-group
      label(for="connect-realName") Real Name
      input#connect-realName(type="text")
    .connect-more-options.hide
      .control-group
        label(for="connect-port") Port
        input#connect-port.input-small(type="text", placeholder="6667")
      .control-group
        label(for="connect-secure") SSL
        input#connect-secure(type="checkbox")
      .control-group#ssl-self-signed
        label(for="connect-selfSigned") Self-signed SSL Cert
        input#connect-selfSigned(type="checkbox")
      .control-group
        label(for="connect-away") Away Message
        input#connect-away(type="text", placeholder="AFK")
      .control-group
        label(for="connect-rejoin") Bouncer Mode
        input#connect-rejoin(type="checkbox")
      .control-group
        label(for="connect-encoding") Encoding
        select#connect-encoding
          option(value="", selected="selected") UTF-8
          option(disabled="disabled") --------------
          option(value="ISO-8859-1") ISO-8859-1
          option(value="ISO-8859-15") ISO-8859-15
          option(value="ISO-8859-2") ISO-8859-2
          option(value="ISO-8859-7") ISO-8859-7 (Greek)
          option(value="ISO-8859-8") ISO-8859-8 (Hebrew)
          option(value="ISO-8859-9") ISO-8859-9 (Turkish)
          option(value="ISO-8859-11") ISO-8859-11 (Thai)
          option(disabled="disabled") --------------
          option(value="ISO-2022-JP") ISO-2022-JP (Japanese)
          option(value="CP949") CP949 (Korean)
          option(value="EUC-KR") EUC-KR (Korean)
          option(value="GBK") GBK (Chinese)
          option(value="GB18030") GB18030 (Chinese)
          option(value="BIG5") BIG5 (Chinese)
          option(disabled="disabled") --------------
          option(value="KOI8-U") KOI8-U (Ukrainian)
          option(value="KOI8-R") KOI8-R (Cyrillic)
          option(value="CP1251") CP1251 (Cyrillic)
          option(value="CP1256") CP1256 (Arabic)
          option(value="CP1257") CP1257 (baltic)
    a(id="connect-button", class="btn btn-primary spacing-right", type="button") Connect
    a(id="connect-more-options-button", class="btn", type="button") More Options

script(id="overview_settings", type="text/html")
  #home_parent
    a.overview_button#home Home
  p Coming soon.

script(id="overview_login", type="text/html")
  #home_parent
    a.overview_button#home Home
  form.form-inline
    .control-group
      label(for="login-username") Username
      input#login-username(type="text")
    .control-group
      label(for="login-password") Password
      input#login-password(type="password")
    a(id="login-button", class="btn btn-primary", type="submit") Login

script(id="overview_register", type="text/html")
  #home_parent
    a.overview_button#home Home
  form.form-inline
    .control-group
      label(for="register-username") Username
      input#register-username(type="text")
    .control-group
      label(for="register-password") Password
      input#register-password(type="password")
    a(id="register-button", class="btn btn-primary", type="button") Register

script(id="titlebar", type="text/html")
  .titlebar
    span(class="window_title") {{title}}
    span(id="topic") {{{topic}}}

script(id="chat", type="text/html")
  #main-window
    #chat-window
      #chat-bar.bar
      #chat-contents.bar
      #input-container.bar
        .input
          input(id="chat-input")
          a(id="chat-button", class="btn disabled") Send
    #user-window
      #user-bar.bar
        .titlebar
          span(class='window_title') User List
      #user-list.bar

script(id="channel", type="text/html")
  span(class="channel-name") {{name}}
  {{#notStatus}}
  .close-button ×
  span(class="unread", title="Unread Messages") {{unread}}
  span(class="unread-mentions", title="Mentions in channel") {{unread_mentions}}
  {{/notStatus}}

script(id="user_box", type="text/html")
  div.user_box_element
    i(class="icon-user icon-white spacing-right")
    {{nick}}
  div.user_box_element
    .close-button ×
    i(class="icon-asterisk icon-white spacing-right")
    {{server}}

script(id="userlist_user", type="text/html")
  div(class="userlist_user_activity")
    img(src="/assets/images/{{user_status}}.png")
    span(class="userlist_user_{{user_stats}}")
  div(class="userlist_user_info")
    div(class="userlist_user_name") {{role}}{{nick}}
      span(class="userlist_user_time") {{activity}}

script(id="link", type="text/html")
  a(target="_blank", href="{{link}}") {{link}}

script(id="image_embed", type="text/html")
  div
    a.hide_embed
      i(class="icon-chevron-up")
    a.show_embed.hide
      i(class="icon-chevron-down")
  .embed
    img(src="{{link}}")

script(id="youtube_embed", type="text/html")
  div
    a.hide_embed
      i(class="icon-chevron-up")
    a.show_embed.hide
      i(class="icon-chevron-down")
  .embed
    iframe(width="420", height="315", frameborder="0", allowfullscreen,
      src="http://www.youtube.com/embed/{{video_id}}?rel=0")

script(id="action", type="text/html")
  .chat_action
    b * {{user}} 
    span {{content}}
  .chat-time
    span {{renderedTime}}

script(id="message", type="text/html")
  .chat-name
    b {{user}}
  div(class="chat-message {{type}}")
    span {{content}}
  .chat-time
    span {{renderedTime}}

script(id="join_part", type="text/html")
  span(class="{{type}}_img")
  span <b>{{nick}}</b> {{action}} the channel {{reason}} {{message}}

script(id="nick", type="text/html")
  span <b>{{oldNick}}</b> is now known as {{newNick}}

script(id="alert", type="text/html")
  .alert(class = "{{type}}")
    a(class="close", data-dismiss="alert", href="#") &times;
    {{content}}
Something went wrong with that request. Please try again.