예제 #1
0
        protected override void Execute()
        {
            WriteLiteral("\r\n");



#line 9 "..\..\PublishedPage.cshtml"

            Layout = new LayoutPage(Strings.PublishedMessagesPage_Title);

            int from, perPage;

            int.TryParse(Query("from"), out from);
            int.TryParse(Query("count"), out perPage);
            string name    = Query("name");
            string content = Query("content");

            var monitor  = Storage.GetMonitoringApi();
            var pager    = new Pager(from, perPage, GetTotal(monitor));
            var queryDto = new MessageQueryDto
            {
                MessageType = MessageType.Publish,
                Name        = name,
                Content     = content,
                StatusName  = StatusName,
                CurrentPage = pager.CurrentPage - 1,
                PageSize    = pager.RecordsPerPage
            };
            var succeededMessages = monitor.Messages(queryDto);



#line default
#line hidden
            WriteLiteral("\r\n<div class=\"row\">\r\n    <div class=\"col-md-3\">\r\n        ");



#line 35 "..\..\PublishedPage.cshtml"
            Write(Html.MessagesSidebar(MessageType.Publish));


#line default
#line hidden
            WriteLiteral("\r\n    </div>\r\n    <div class=\"col-md-9\">\r\n        <h1 class=\"page-header\">");



#line 38 "..\..\PublishedPage.cshtml"
            Write(Strings.PublishedPage_Title);


#line default
#line hidden
            WriteLiteral("</h1>\r\n\r\n");



#line 40 "..\..\PublishedPage.cshtml"
            if (succeededMessages.Count == 0)
            {
#line default
#line hidden
                WriteLiteral("        <div class=\"alert alert-info\">\r\n            ");



#line 43 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_NoMessages);


#line default
#line hidden
                WriteLiteral("\r\n        </div>\r\n");



#line 45 "..\..\PublishedPage.cshtml"
            }
            else
            {
#line default
#line hidden
                WriteLiteral("        <div class=\"js-jobs-list\">\r\n            <div class=\"btn-toolbar btn-toolb" +
                             "ar-top\">\r\n                <form class=\"row\">\r\n                    <div class=\"c" +
                             "ol-md-3\">\r\n                        <input type=\"text\" class=\"form-control\" name=" +
                             "\"name\" value=\"");



#line 52 "..\..\PublishedPage.cshtml"
                Write(Query(" name"));


#line default
#line hidden
                WriteLiteral("\" placeholder=\"");



#line 52 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Query_MessageName);


#line default
#line hidden
                WriteLiteral("\" />\r\n                    </div>\r\n                    <div class=\"col-md-5\">\r\n  " +
                             "                      <div class=\"input-group\">\r\n                            <in" +
                             "put type=\"text\" class=\"form-control\" name=\"content\" value=\"");



#line 56 "..\..\PublishedPage.cshtml"
                Write(Query(" content"));


#line default
#line hidden
                WriteLiteral("\" placeholder=\"");



#line 56 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Query_MessageBody);


#line default
#line hidden
                WriteLiteral("\" />\r\n                            <span class=\"input-group-btn\">\r\n               " +
                             "                 <button class=\"btn btn-info\">");



#line 58 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Query_Button);


#line default
#line hidden
                WriteLiteral(@"</button>
                            </span>
                        </div>
                    </div>
                </form>
            </div>
            <div class=""btn-toolbar btn-toolbar-top"">
                <button class=""js-jobs-list-command btn btn-sm btn-primary""
                        data-url=""");



#line 66 "..\..\PublishedPage.cshtml"
                Write(Url.To("/published/requeue"));


#line default
#line hidden
                WriteLiteral("\"\r\n                data-loading-text=\"");



#line 67 "..\..\PublishedPage.cshtml"
                Write(Strings.Common_Enqueueing);


#line default
#line hidden
                WriteLiteral("\"\r\n                disabled=\"disabled\">\r\n                <span class=\"glyphicon g" +
                             "lyphicon-repeat\"></span>\r\n                ");



#line 70 "..\..\PublishedPage.cshtml"
                Write(Strings.Common_RequeueMessages);


#line default
#line hidden
                WriteLiteral("\r\n                </button>\r\n\r\n                ");



#line 73 "..\..\PublishedPage.cshtml"
                Write(Html.PerPageSelector(pager));


#line default
#line hidden
                WriteLiteral(@"
            </div>

            <div class=""table-responsive"">
                <table class=""table"">
                    <thead>
                        <tr>
                            <th style=""width:60px;"">
                                <input type=""checkbox"" class=""js-jobs-list-select-all"" />
                            </th>
                            <th style=""width:22%;"">");



#line 83 "..\..\PublishedPage.cshtml"
                Write(Strings.Common_Id);


#line default
#line hidden
                WriteLiteral("</th>\r\n                            <th>");

#line 84 "..\..\PublishedPage.cshtml"
                Write(Strings.Common_Version);


#line default
#line hidden
                WriteLiteral("</th>\r\n                            <th>");

#line 84 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Table_Name);


#line default
#line hidden
                WriteLiteral("</th>\r\n                            <th class=\"min-width\">");



#line 85 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Table_Retries);


#line default
#line hidden
                WriteLiteral("</th>\r\n");



#line 86 "..\..\PublishedPage.cshtml"
                if (string.Equals(StatusName, "Processing", StringComparison.CurrentCultureIgnoreCase))
                {
#line default
#line hidden
                    WriteLiteral("                            <th>");



#line 88 "..\..\PublishedPage.cshtml"
                    Write(Strings.MessagesPage_Table_State);


#line default
#line hidden
                    WriteLiteral("</th>\r\n");



#line 89 "..\..\PublishedPage.cshtml"
                }


#line default
#line hidden
                WriteLiteral("                            <th class=\"align-right\">");



#line 90 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Table_ExpiresAt);


#line default
#line hidden
                WriteLiteral("</th>\r\n                        </tr>\r\n                    </thead>\r\n             " +
                             "       <tbody>\r\n");



#line 94 "..\..\PublishedPage.cshtml"
                foreach (var message in succeededMessages)
                {
#line default
#line hidden
                    WriteLiteral("                        <tr class=\"js-jobs-list-row hover\">\r\n                    " +
                                 "        <td>\r\n                                <input type=\"checkbox\" class=\"js-j" +
                                 "obs-list-checkbox\" name=\"messages[]\" value=\"");



#line 98 "..\..\PublishedPage.cshtml"
                    Write(message.Id);


#line default
#line hidden
                    WriteLiteral("\" />\r\n                            </td>\r\n                            <td class=\"w" +
                                 "ord-break\">\r\n                                <a href=\"javascript:;\" data-url=\'");



#line 101 "..\..\PublishedPage.cshtml"
                    Write(Url.To("/published/message/") + message.Id);


#line default
#line hidden
                    WriteLiteral("\' class=\"openModal\">#");



#line 101 "..\..\PublishedPage.cshtml"
                    Write(message.Id);


#line default
#line hidden
                    WriteLiteral("</a>\r\n                            </td>\r\n                            <td>\r\n      " +
                                 "                          ");


#line 102 "..\..\PublishedPage.cshtml"
                    Write(message.Version);


#line default
#line hidden
                    WriteLiteral("</a>\r\n                            </td>\r\n                            <td>\r\n      " +
                                 "                          ");
#line 104 "..\..\PublishedPage.cshtml"
                    Write(message.Name);


#line default
#line hidden
                    WriteLiteral("\r\n                            </td>\r\n                            <td>\r\n          " +
                                 "                      ");



#line 107 "..\..\PublishedPage.cshtml"
                    Write(message.Retries);


#line default
#line hidden
                    WriteLiteral("\r\n                            </td>\r\n");



#line 109 "..\..\PublishedPage.cshtml"
                    if (string.Equals(StatusName, "Processing", StringComparison.CurrentCultureIgnoreCase))
                    {
#line default
#line hidden
                        WriteLiteral("                            <td>\r\n                                ");



#line 112 "..\..\PublishedPage.cshtml"
                        Write(message.StatusName);


#line default
#line hidden
                        WriteLiteral("\r\n                            </td>\r\n");



#line 114 "..\..\PublishedPage.cshtml"
                    }


#line default
#line hidden
                    WriteLiteral("                            <td class=\"align-right\">\r\n");



#line 116 "..\..\PublishedPage.cshtml"
                    if (message.ExpiresAt.HasValue)
                    {
#line default
#line hidden

#line 118 "..\..\PublishedPage.cshtml"
                        Write(Html.RelativeTime(message.ExpiresAt.Value));


#line default
#line hidden

#line 118 "..\..\PublishedPage.cshtml"
                    }


#line default
#line hidden
                    WriteLiteral("                            </td>\r\n\r\n                        </tr>\r\n");



#line 123 "..\..\PublishedPage.cshtml"
                }


#line default
#line hidden
                WriteLiteral("                    </tbody>\r\n                </table>\r\n            </div>\r\n     " +
                             "       ");



#line 127 "..\..\PublishedPage.cshtml"
                Write(Html.Paginator(pager));


#line default
#line hidden
                WriteLiteral("\r\n        </div>\r\n");



#line 129 "..\..\PublishedPage.cshtml"



#line default
#line hidden
                WriteLiteral(@"        <div>
            <div class=""modal fade"" tabindex=""-1"" role=""dialog"">
                <div class=""modal-dialog"" role=""document"">
                    <div class=""modal-content"">
                        <div class=""modal-header"">
                            <button type=""button"" class=""close"" data-dismiss=""modal"" aria-label=""Close""><span aria-hidden=""true"">&times;</span></button>
                            <h4 class=""modal-title"">Message Content</h4>
                        </div>
                        <div id=""jsonContent"" style=""max-height:500px;overflow-y:auto;"" class=""modal-body"">
                        </div>
                        <div class=""modal-footer"">
                            <button type=""button"" class=""btn btn-sm btn-primary"" id=""formatBtn"" onclick="""">");



#line 141 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Modal_Format);


#line default
#line hidden
                WriteLiteral("</button>\r\n                            <button type=\"button\" class=\"btn btn-sm bt" +
                             "n-primary\" id=\"rawBtn\" onclick=\"\">");



#line 142 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Modal_Raw);


#line default
#line hidden
                WriteLiteral("</button>\r\n                            <button type=\"button\" class=\"btn btn-sm bt" +
                             "n-primary\" id=\"expandBtn\" onclick=\"\">");



#line 143 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Modal_Expand);


#line default
#line hidden
                WriteLiteral("</button>\r\n                            <button type=\"button\" class=\"btn btn-sm bt" +
                             "n-primary\" id=\"collapseBtn\" onclick=\"\">");



#line 144 "..\..\PublishedPage.cshtml"
                Write(Strings.MessagesPage_Model_Collaspse);


#line default
#line hidden
                WriteLiteral("</button>\r\n                        </div>\r\n                    </div><!-- /.modal" +
                             "-content -->\r\n                </div><!-- /.modal-dialog -->\r\n            </div><" +
                             "!-- /.modal -->\r\n        </div>\r\n");



#line 150 "..\..\PublishedPage.cshtml"
            }


#line default
#line hidden
            WriteLiteral("    </div>\r\n</div>");
        }
예제 #2
0
        protected override void Execute()
        {
            WriteLiteral("\r\n");



            #line 7 "..\..\Dashboard\Pages\SubscriberPage.cshtml"

            Layout = new LayoutPage(Strings.SubscribersPage_Title);

            var cache       = RequestServices.GetService(typeof(MethodMatcherCache)) as MethodMatcherCache;
            var subscribers = cache.GetCandidatesMethodsOfGroupNameGrouped();



            #line default
            #line hidden
            WriteLiteral("\r\n<div class=\"row\">\r\n    <div class=\"col-md-12\">\r\n        <h1 class=\"page-header\"" +
                         ">");



            #line 16 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
            Write(Strings.SubscribersPage_Title);


            #line default
            #line hidden
            WriteLiteral("</h1>\r\n\r\n");



            #line 18 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
            if (subscribers.Count == 0)
            {
            #line default
            #line hidden
                WriteLiteral("            <div class=\"alert alert-warning\">\r\n                ");



            #line 21 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                Write(Strings.SubscribersPage_NoSubscribers);


            #line default
            #line hidden
                WriteLiteral("\r\n            </div>\r\n");



            #line 23 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("            <div class=\"table-responsive\">\r\n                <table class=\"table s" +
                             "ubscribe-table\">\r\n                    <thead>\r\n                        <tr>\r\n   " +
                             "                         <th width=\"20%\">");



            #line 30 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                Write(Strings.Common_Group);


            #line default
            #line hidden
                WriteLiteral("</th>\r\n                            <th width=\"40%\">\r\n                            " +
                             "    ");



            #line 32 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                Write(Strings.Common_Name);


            #line default
            #line hidden
                WriteLiteral("\r\n                            </th>\r\n                            <th>");



            #line 34 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                Write(Strings.Common_Method);


            #line default
            #line hidden
                WriteLiteral("</th>\r\n                        </tr>\r\n                    </thead>\r\n             " +
                             "       <tbody>\r\n");



            #line 38 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                foreach (var subscriber in subscribers)
                {
                    var i        = 0;
                    var rowCount = subscriber.Value.Count;


            #line default
            #line hidden

            #line 42 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                    foreach (var column in subscriber.Value)
                    {
            #line default
            #line hidden
                        WriteLiteral("                                <tr>\r\n");



            #line 45 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                        if (i == 0)
                        {
            #line default
            #line hidden
                            WriteLiteral("                                        <td rowspan=\"");



            #line 47 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                            Write(rowCount);


            #line default
            #line hidden
                            WriteLiteral("\">");



            #line 47 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                            Write(subscriber.Key);


            #line default
            #line hidden
                            WriteLiteral("</td>\r\n");



            #line 48 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                        }


            #line default
            #line hidden
                        WriteLiteral("                                    <td>");



            #line 49 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                        Write(column.Attribute.Name);


            #line default
            #line hidden
                        WriteLiteral("</td>\r\n                                    <td>\r\n                                " +
                                     "        <span style=\"color:#00bcd4\">");



            #line 51 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                        Write(column.ImplTypeInfo.Name);


            #line default
            #line hidden
                        WriteLiteral("</span>:\r\n                                        <div class=\"job-snippet-code\">\r" +
                                     "\n                                            <code>\r\n                           " +
                                     "                     <pre>");



            #line 54 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                        Write(Html.MethodEscaped(column.MethodInfo));


            #line default
            #line hidden
                        WriteLiteral("</pre>\r\n                                            </code>\r\n                    " +
                                     "                    </div>\r\n                                    </td>\r\n         " +
                                     "                       </tr>\r\n");



            #line 59 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
                        i++;
                    }
                }


            #line default
            #line hidden
                WriteLiteral("                    </tbody>\r\n                </table>\r\n            </div>\r\n");



            #line 65 "..\..\Dashboard\Pages\SubscriberPage.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("    </div>\r\n</div>");
        }
예제 #3
0
        public override void Execute()
        {
            WriteLiteral("\r\n");



            #line 7 "..\..\Pages\HomePage.cshtml"

            Layout = new LayoutPage(Strings.HomePage_Title);

            var monitor            = Storage.GetMonitoringApi();
            var publishedSucceeded = monitor.HourlySucceededJobs(MessageType.Publish);
            var publishedFailed    = monitor.HourlyFailedJobs(MessageType.Publish);

            var receivedSucceeded = monitor.HourlySucceededJobs(MessageType.Subscribe);
            var receivedFailed    = monitor.HourlyFailedJobs(MessageType.Subscribe);



            #line default
            #line hidden
            WriteLiteral("\r\n<div class=\"row\">\r\n    <div class=\"col-md-12\">\r\n        <h1 class=\"page-header\"" +
                         ">");



            #line 20 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_Title);


            #line default
            #line hidden
            WriteLiteral("</h1>\r\n");



            #line 21 "..\..\Pages\HomePage.cshtml"
            if (Metrics.Count > 0)
            {
            #line default
            #line hidden
                WriteLiteral("            <div class=\"row\">\r\n");



            #line 24 "..\..\Pages\HomePage.cshtml"
                foreach (var metric in Metrics)
                {
            #line default
            #line hidden
                    WriteLiteral("                    <div class=\"col-md-2\">\r\n                        ");



            #line 27 "..\..\Pages\HomePage.cshtml"
                    Write(Html.BlockMetric(metric));


            #line default
            #line hidden
                    WriteLiteral("\r\n                    </div>\r\n");



            #line 29 "..\..\Pages\HomePage.cshtml"
                }


            #line default
            #line hidden
                WriteLiteral("            </div>\r\n");



            #line 31 "..\..\Pages\HomePage.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("        <h3>");



            #line 32 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_RealtimeGraph);


            #line default
            #line hidden
            WriteLiteral("</h3>\r\n        <div id=\"realtimeGraph\"\r\n             data-published-succeeded=\"");



            #line 34 "..\..\Pages\HomePage.cshtml"
            Write(Statistics.PublishedSucceeded);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-published-failed=\"");



            #line 35 "..\..\Pages\HomePage.cshtml"
            Write(Statistics.PublishedFailed);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-published-succeeded-string=\"");



            #line 36 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_GraphHover_PSucceeded);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-published-failed-string=\"");



            #line 37 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_GraphHover_PFailed);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-received-succeeded=\"");



            #line 38 "..\..\Pages\HomePage.cshtml"
            Write(Statistics.ReceivedSucceeded);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-received-failed=\"");



            #line 39 "..\..\Pages\HomePage.cshtml"
            Write(Statistics.ReceivedFailed);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-received-succeeded-string=\"");



            #line 40 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_GraphHover_RSucceeded);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-received-failed-string=\"");



            #line 41 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_GraphHover_RFailed);


            #line default
            #line hidden
            WriteLiteral(@""">
        </div>
        <div style=""display: none;"">
            <span data-metric=""published_succeeded:count""></span>
            <span data-metric=""published_failed:count""></span>
            <span data-metric=""received_succeeded:count""></span>
            <span data-metric=""received_failed:count""></span>
        </div>
        <div id=""legend""></div>
        <h3>
            ");



            #line 51 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_HistoryGraph);


            #line default
            #line hidden
            WriteLiteral("\r\n        </h3>\r\n\r\n        <div id=\"historyGraph\"\r\n             data-published-su" +
                         "cceeded=\"");



            #line 55 "..\..\Pages\HomePage.cshtml"
            Write(JsonConvert.SerializeObject(publishedSucceeded));


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-published-failed=\"");



            #line 56 "..\..\Pages\HomePage.cshtml"
            Write(JsonConvert.SerializeObject(publishedFailed));


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-published-succeeded-string=\"");



            #line 57 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_GraphHover_PSucceeded);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-published-failed-string=\"");



            #line 58 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_GraphHover_PFailed);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-received-succeeded=\"");



            #line 59 "..\..\Pages\HomePage.cshtml"
            Write(JsonConvert.SerializeObject(receivedSucceeded));


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-received-failed=\"");



            #line 60 "..\..\Pages\HomePage.cshtml"
            Write(JsonConvert.SerializeObject(receivedFailed));


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-received-succeeded-string=\"");



            #line 61 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_GraphHover_RSucceeded);


            #line default
            #line hidden
            WriteLiteral("\"\r\n             data-received-failed-string=\"");



            #line 62 "..\..\Pages\HomePage.cshtml"
            Write(Strings.HomePage_GraphHover_RFailed);


            #line default
            #line hidden
            WriteLiteral("\">\r\n        </div>\r\n    </div>\r\n</div>");
        }
예제 #4
0
        protected override void Execute()
        {
            WriteLiteral("\r\n");



#line 5 "..\..\NodePage.cshtml"

            Layout = new LayoutPage(Strings.NodePage_Title);



#line default
#line hidden
            WriteLiteral("<div class=\"row\">\r\n    <div class=\"col-md-12\">\r\n        <h1 class=\"page-header\">");



#line 10 "..\..\NodePage.cshtml"
            Write(Strings.NodePage_Title);


#line default
#line hidden
            WriteLiteral("</h1>\r\n\r\n");



#line 12 "..\..\NodePage.cshtml"
            if (Nodes == null || Nodes.Count == 0)
            {
#line default
#line hidden
                WriteLiteral("            <div class=\"alert alert-warning\">\r\n                ");



#line 15 "..\..\NodePage.cshtml"
                Write(Strings.NodePage_NoNodes);


#line default
#line hidden
                WriteLiteral("\r\n            </div>\r\n");



#line 17 "..\..\NodePage.cshtml"
            }
            else
            {
#line default
#line hidden
                WriteLiteral("            <div class=\"table-responsive\">\r\n                <table class=\"table\">" +
                             "\r\n                    <thead>\r\n                        <tr>\r\n                   " +
                             "         <th width=\"10%\">");



#line 24 "..\..\NodePage.cshtml"
                Write(Strings.Common_Id);


#line default
#line hidden
                WriteLiteral("</th>\r\n                            <th width=\"20%\">");



#line 25 "..\..\NodePage.cshtml"
                Write(Strings.NodePage_Table_NodeName);


#line default
#line hidden
                WriteLiteral("</th>\r\n                            <th width=\"20%\">");



#line 26 "..\..\NodePage.cshtml"
                Write(Strings.NodePage_Table_IP);


#line default
#line hidden
                WriteLiteral("</th>\r\n                            <th width=\"7%\">");



#line 27 "..\..\NodePage.cshtml"
                Write(Strings.NodePage_Table_Port);


#line default
#line hidden
                WriteLiteral("</th>\r\n                            <th>Tags</th>\r\n                            <th" +
                             " width=\"20%\">");



#line 29 "..\..\NodePage.cshtml"
                Write(Strings.NodePage_Switch);


#line default
#line hidden
                WriteLiteral("</th>\r\n                        </tr>\r\n                    </thead>\r\n             " +
                             "       <tbody>\r\n");



#line 33 "..\..\NodePage.cshtml"
                foreach (var node in Nodes)
                {
#line default
#line hidden
                    WriteLiteral("                            <tr class=\"");



#line 35 "..\..\NodePage.cshtml"
                    Write(CurrentNodeId == node.Id ? "active" : null);


#line default
#line hidden
                    WriteLiteral("\">\r\n                                <td>");



#line 36 "..\..\NodePage.cshtml"
                    Write(node.Id);


#line default
#line hidden
                    WriteLiteral("</td>\r\n                                <td>");



#line 37 "..\..\NodePage.cshtml"
                    Write(node.Name);


#line default
#line hidden
                    WriteLiteral("</td>\r\n                                <td>");



#line 38 "..\..\NodePage.cshtml"
                    Write(node.Address);


#line default
#line hidden
                    WriteLiteral("</td>\r\n                                <td>");



#line 39 "..\..\NodePage.cshtml"
                    Write(node.Port);


#line default
#line hidden
                    WriteLiteral("</td>\r\n                                <td>");



#line 40 "..\..\NodePage.cshtml"
                    Write(node.Tags);


#line default
#line hidden
                    WriteLiteral("</td>\r\n                                <td>\r\n                                    " +
                                 "");



#line 42 "..\..\NodePage.cshtml"
                    Write(Html.NodeSwitchLink(node.Id));


#line default
#line hidden
                    WriteLiteral("\r\n                                </td>\r\n                            </tr>\r\n");



#line 45 "..\..\NodePage.cshtml"
                }


#line default
#line hidden
                WriteLiteral("                    </tbody>\r\n                </table>\r\n            </div>\r\n");



#line 49 "..\..\NodePage.cshtml"
            }


#line default
#line hidden
            WriteLiteral("    </div>\r\n</div>");
        }