mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-19 19:41:32 +01:00
Hot: Improve nav and header
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
# This file is a "template" of which env vars need to be defined for your application
|
|
||||||
# Copy this file to .env file for development, create environment variables when deploying to production
|
|
||||||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
# This file is a "template" of which env vars need to be defined for your application
|
|
||||||
# Copy this file to .env file for development, create environment variables when deploying to production
|
|
||||||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
||||||
@@ -37,6 +37,17 @@ p{
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sup, sub {
|
||||||
|
vertical-align: baseline;
|
||||||
|
position: relative;
|
||||||
|
top: -0.4em;
|
||||||
|
}
|
||||||
|
sub {
|
||||||
|
top: 0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
min-height: 0px !important;
|
min-height: 0px !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<header>
|
<header>
|
||||||
<h2><a href="index.php" style="color: #333">CodeShare</a><sup>Beta</sup></h2>
|
<h2><sub style="visibility: hidden;">Beta</sub><a href="{{ path('home') }}" style="color: #333">CodeShare</a><sup>Beta</sup></h2>
|
||||||
|
<h5>by <a href="https://csp.jkanetwork.com" style="color: #333">Code Solutions Project</a></h5>
|
||||||
<h4>Simple solutions for common problems</h4>
|
<h4>Simple solutions for common problems</h4>
|
||||||
</header>
|
</header>
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
<a href="{{ path('home') }}">Home</a>
|
<a href="{{ path('home') }}">Home</a>
|
||||||
</li>
|
</li>
|
||||||
<li {% if page.page == "add" %}class="active"{% endif %}>
|
<li {% if page.page == "add" %}class="active"{% endif %}>
|
||||||
<a href="{{ path('add') }}">Submit code</a>
|
<a href="{{ path('add') }}" style="color: white;" class="text-uppercase">Submit code</a>
|
||||||
</li>
|
</li>
|
||||||
<li {% if page.page == "doc" %}class="active"{% endif %}>
|
<li {% if page.page == "doc" %}class="active"{% endif %}>
|
||||||
<a href="{{ path('doc') }}">Documentation</a>
|
<a href="{{ path('doc') }}">Documentation</a>
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="text" class="form-control" name="globalSearch" placeholder="Search">
|
<input type="text" class="form-control" name="globalSearch" placeholder="Search">
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary btn-sm">Submit</button>
|
<button type="submit" class="btn btn-primary btn-sm">Search</button>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
{% if user.nick is defined %}
|
{% if user.nick is defined %}
|
||||||
|
|||||||
@@ -1,65 +0,0 @@
|
|||||||
{
|
|
||||||
"doctrine/cache": {
|
|
||||||
"version": "v1.8.0"
|
|
||||||
},
|
|
||||||
"doctrine/dbal": {
|
|
||||||
"version": "v2.8.0"
|
|
||||||
},
|
|
||||||
"doctrine/event-manager": {
|
|
||||||
"version": "v1.0.0"
|
|
||||||
},
|
|
||||||
"jkanetwork/dbwrapper": {
|
|
||||||
"version": "1.5.1"
|
|
||||||
},
|
|
||||||
"pimple/pimple": {
|
|
||||||
"version": "v3.2.3"
|
|
||||||
},
|
|
||||||
"psr/log": {
|
|
||||||
"version": "1.0.2"
|
|
||||||
},
|
|
||||||
"silex/silex": {
|
|
||||||
"version": "v2.3.0"
|
|
||||||
},
|
|
||||||
"symfony/debug": {
|
|
||||||
"version": "v4.1.5"
|
|
||||||
},
|
|
||||||
"symfony/event-dispatcher": {
|
|
||||||
"version": "v4.1.5"
|
|
||||||
},
|
|
||||||
"symfony/flex": {
|
|
||||||
"version": "1.0",
|
|
||||||
"recipe": {
|
|
||||||
"repo": "github.com/symfony/recipes",
|
|
||||||
"branch": "master",
|
|
||||||
"version": "1.0",
|
|
||||||
"ref": "e921bdbfe20cdefa3b82f379d1cd36df1bc8d115"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"symfony/http-foundation": {
|
|
||||||
"version": "v4.1.5"
|
|
||||||
},
|
|
||||||
"symfony/http-kernel": {
|
|
||||||
"version": "v4.1.5"
|
|
||||||
},
|
|
||||||
"symfony/polyfill-ctype": {
|
|
||||||
"version": "v1.9.0"
|
|
||||||
},
|
|
||||||
"symfony/polyfill-mbstring": {
|
|
||||||
"version": "v1.9.0"
|
|
||||||
},
|
|
||||||
"symfony/routing": {
|
|
||||||
"version": "4.0",
|
|
||||||
"recipe": {
|
|
||||||
"repo": "github.com/symfony/recipes",
|
|
||||||
"branch": "master",
|
|
||||||
"version": "4.0",
|
|
||||||
"ref": "5f514d9d3b8a8aac3d62ae6a86b18b90ed0c7826"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"symfony/twig-bridge": {
|
|
||||||
"version": "v4.1.5"
|
|
||||||
},
|
|
||||||
"twig/twig": {
|
|
||||||
"version": "v2.5.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user