Permalink
Browse files

first import

  • Loading branch information...
videlalvaro committed May 15, 2011
0 parents commit b9190f06276528929779a1f6dd1b7ede14302c43
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2011 Alvaro Videla
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
@@ -0,0 +1 @@
+include ../umbrella.mk
No changes.
@@ -0,0 +1,14 @@
+{application, rabbitmq_websockets,
+ [{description, "Embedded Rabbit Metronome"},
+ {vsn, "0.01"},
+ {modules, [
+ rabbit_websockets,
+ rabbit_websockets_consumer,
+ rabbit_websockets_sup,
+ rabbit_websockets_util,
+ rabbit_websockets_worker
+ ]},
+ {registered, []},
+ {mod, {rabbit_websockets, []}},
+ {env, [{misultin_port, 8080}]},
+ {applications, [kernel, stdlib, rabbit, amqp_client]}]}.
@@ -0,0 +1 @@
+DEPS:=rabbitmq-server misultin-wrapper rabbitmq-erlang-client
@@ -0,0 +1,99 @@
+/* Generic top-level elements */
+html, body {
+ height: 100%;
+ min-height: 100%;
+ font-family: Helvetica, Arial, sans-serif;
+ margin: 0;
+ padding: 0;
+}
+
+/* Layout top-level elements */
+h1 {
+ font-size: 14px;
+ line-height: 1em;
+ min-width: 99%;
+ max-width: 100%;
+ max-height: 5%;
+ margin: 0;
+ padding: 5px;
+ background-color: #FF9933;
+}
+
+#main {
+ height: 100%;
+}
+
+#messages {
+ margin:0;
+ height: 100%;
+ width: 74%;
+ float: left;
+ overflow-y: auto;
+ overflow-x: hidden;
+ padding: 0 3px;
+}
+
+#widgets {
+ width: 25%;
+ float: right;
+}
+
+#info {
+ font-size: 10px;
+}
+
+/* Timeline styles */
+#messages li {
+ margin: 0;
+ border-bottom: 1px solid #d8d8d8;
+ list-style-type: none;
+ padding: 3px;
+ float: left;
+ min-width: 99%;
+ max-width: 100%;
+ width: 100%;
+ clear: both;
+ font-size: 14px;
+}
+
+/* Generic form elements */
+form ol {
+ list-style-type: none;
+ padding: 0;
+}
+
+form ol li {
+ padding: 0;
+ margin-bottom: 0.5em;
+}
+
+fieldset {
+ border: none;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ background-color: #FF9933;
+}
+
+fieldset legend {
+ background-color: #cdd;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ padding: 2px 5px;
+}
+
+label {
+ display: block;
+ font-size: 80%;
+ font-weight: bold;
+}
+
+label + input {
+ font-size: 18px;
+}
+
+input#name {
+ width: 99%;
+ max-width: 100%;
+}
Binary file not shown.
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>RabbitMQ Websockets Plugin</title>
+ <link rel="stylesheet" type="text/css" href="/css/styles.css">
+ <link rel="icon" href="/favicon.ico">
+ <style type="text/css" media="screen">
+ p {
+ padding: 8px;
+ }
+ </style>
+ <link rel="icon" href="/favicon.ico">
+ </head>
+ <body>
+ <h1>RabbitMQ Websockets Plugin</h1>
+ <div id="main">
+ <ol id="messages"></ol>
+ <div id="widgets">
+ <form id="exchange" method="post" action="nowhere">
+ <fieldset>
+ <ol>
+ <li>
+ <label for="name">Exchange Name:</label>
+ <input type="text" id="name" name="name"></input>
+ </li>
+ <li>
+ <label for="routing_key">Routing Key:</label>
+ <input type="text" id="routing_key" name="routing_key"></input>
+ </li>
+ <li>
+ <input type="submit" name="submit" value="Submit" id="submit">
+ </li>
+ </ol>
+ </fieldset>
+ </form>
+ <div>
+ <h3>Info:<h3>
+ <ul id="info">
+ </ul>
+ </div>
+ </div>
+ </div>
+ <script type="text/javascript" src="/js/jquery.min.js"></script>
+ <script type="text/javascript" src="/js/rmqws.js"></script>
+ </body>
+</html>
Oops, something went wrong.

0 comments on commit b9190f0

Please sign in to comment.