MCPcopy Create free account
hub / github.com/apache/brpc / TabsHead

Function TabsHead

src/brpc/builtin/common.cpp:245–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245const char* TabsHead() {
246 return
247 "<style type=\"text/css\">\n"
248 "ol,ul { list-style:none; }\n"
249 ".tabs-menu {\n"
250 " position: fixed;"
251 " top: 0px;"
252 " left: 0px;"
253 " height: 40px;\n"
254 " width: 100%;\n"
255 " clear: both;\n"
256 " padding: 0px;\n"
257 " margin: 0px;\n"
258 " background-color: #606060;\n"
259 " border:none;\n"
260 " overflow: hidden;\n"
261 " box-shadow: 0px 1px 2px #909090;\n"
262 " z-index: 5;\n"
263 "}\n"
264 ".tabs-menu li {\n"
265 " float:left;\n"
266 " fill:none;\n"
267 " border:none;\n"
268 " padding:10px 30px 10px 30px;\n"
269 " text-align:center;\n"
270 " cursor:pointer;\n"
271 " color:#dddddd;\n"
272 " font-weight: bold;\n"
273 " font-family: \"Segoe UI\", Calibri, Arial;\n"
274 "}\n"
275 ".tabs-menu li.current {\n"
276 " color:#FFFFFF;\n"
277 " background-color: #303030;\n"
278 "}\n"
279 ".tabs-menu li.help {\n"
280 " float:right;\n"
281 "}\n"
282 ".tabs-menu li:hover {\n"
283 " background-color: #303030;\n"
284 "}\n"
285 "</style>\n"
286 "<script type=\"text/javascript\">\n"
287 "$(function() {\n"
288 " $(\".tabs-menu li\").click(function(event) {\n"
289 " window.location.href = $(this).attr('id');\n"
290 " });\n"
291 "});\n"
292 "</script>\n";
293}
294
295const char* logo() {
296 return

Callers 7

default_methodMethod · 0.85
default_methodMethod · 0.85
default_methodMethod · 0.85
DoProfilingFunction · 0.85
StartProfilingFunction · 0.85
default_methodMethod · 0.85
PutVarsHeadingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected