]> git.armaanb.net Git - stagit.git/blobdiff - src/stagit-index.c
Remove minified CSS
[stagit.git] / src / stagit-index.c
index d1c663e2a8c26775a1ff1a369cb29009d30d5d38..545fda3909d2d59e0320989f51a4ed725b476fe2 100644 (file)
@@ -72,12 +72,12 @@ writeheader(char *path)
                "<title>", fp);
        xmlencode(fp, description, strlen(description));
        fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath);
-       fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.min.css\" />\n", relpath);
+       fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
        fputs("</head>\n<body>\n", fp);
        fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n"
-               "<td><span class=\"desc\">", relpath);
+               "<td><h1>", relpath);
        xmlencode(fp, description, strlen(description));
-       fputs("</span></td></tr><tr><td></td><td>\n"
+       fputs("</h1></td></tr><tr><td></td><td>\n"
                "</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n"
                "<table id=\"index\"><thead>\n"
                "<tr><td><b>Name</b></td><td><b>Description</b></td><td><b>Owner</b></td>"
@@ -223,7 +223,7 @@ main(int argc, char *argv[])
        /* copy css */
        char cwd[PATH_MAX];
        strcpy(cwd, getcwd(cwd, sizeof(cwd)));
-       cp("/usr/local/share/stagit/style.min.css", strcat(cwd, "/style.min.css"));
+       cp("/usr/local/share/stagit/style.css", strcat(cwd, "/style.css"));
 
        /* cleanup */
        git_repository_free(repo);