summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld2014-03-19 03:11:45 -0600
committerJason A. Donenfeld2014-12-23 19:40:14 -0700
commit2159414a3945f059a7e52a4900ffcd1ca665e102 (patch)
tree4a315c7b36fd5fad7d1a6084151a1f012bb67df1
parentcaed6cb27f1869b0590cab56fc3394762892d049 (diff)
downloadcgit-2159414a3945f059a7e52a4900ffcd1ca665e102.tar
cgit-2159414a3945f059a7e52a4900ffcd1ca665e102.tar.gz
cgit-2159414a3945f059a7e52a4900ffcd1ca665e102.zip
footer: link back to cgit home page
The footer has always been overrideable using the footer= in cgitrc, so this won't anger anybody who cares about their footer.
-rw-r--r--cgit.css7
-rw-r--r--ui-shared.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 71b0b9b..6888cde 100644
--- a/cgit.css
+++ b/cgit.css
@@ -590,6 +590,13 @@ div#cgit div.footer {
font-size: 80%;
color: #ccc;
}
+div#cgit div.footer a {
+ color: #ccc;
+ text-decoration: none;
+}
+div#cgit div.footer a:hover {
+ text-decoration: underline;
+}
div#cgit a.branch-deco {
color: #000;
margin: 0px 0.5em;
diff --git a/ui-shared.c b/ui-shared.c
index bd74f42..32f23f9 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -740,7 +740,7 @@ void cgit_print_docend()
if (ctx.cfg.footer)
html_include(ctx.cfg.footer);
else {
- htmlf("<div class='footer'>generated by cgit %s at ",
+ htmlf("<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit %s</a> at ",
cgit_version);
cgit_print_date(time(NULL), FMT_LONGDATE, ctx.cfg.local_time);
html("</div>\n");
/* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Pico Debug",
            "cwd": "${workspaceRoot}",
            "executable": "${command:cmake.launchTargetPath}",
            "request": "launch",
            "type": "cortex-debug",
            "servertype": "openocd",
            "gdbPath" : "gdb-multiarch",
            "device": "RP2040",
            "configFiles": [
                "interface/raspberrypi-swd.cfg",
                "target/rp2040.cfg"
            ],
            "svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
            "runToMain": true,
            // Work around for stopping at main on restart
            "postRestartCommands": [
                "break main",
                "continue"
            ]
        }
    ]
}
a id='n309' href='#n309'>309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376