Add mindcoding logos and default theme
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 7 Feb 2014 09:19:12 +0000 (11:19 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 7 Feb 2014 09:21:02 +0000 (11:21 +0200)
css/custom.css
js/90-custom.js
lib/Gruntmaster/Page/Base.pm
lib/Gruntmaster/Page/Pb/Entry.pm

index ecf11bf6e1e97ea57c7ddab7d3155f7933a887ef..ea565c668916a9eaa760ed39cbaece6dc7c79cd0 100644 (file)
@@ -6,14 +6,6 @@ h1#title{
        font-size: 3em !important;
 }
 
-footer{
-       width: 60em;
-       margin: auto;
-       margin-top: 6em;
-       white-space: pre-wrap;
-       color: #777;
-}
-
 #logo {
        margin: 5em auto 2em;
        display: block;
index 923ebaf324b8dc02ab62fe64e67658df7753c566..8b1435d05301d20714ef3f00ea74f6b7384701ef 100644 (file)
@@ -3,6 +3,15 @@
        function set_style(name){
                $('#stylesheet').attr("href", "/css/" + name);
                localStorage.setItem("theme", name);
+               if(name == 'slate' || name == 'cyborg')
+                       $('.logo').addClass('logo-dark');
+               else
+                       $('.logo').removeClass('logo-dark');
+       }
+
+       var theme = localStorage.getItem("theme");
+       if(theme) {
+               set_style(theme);
        }
 
        $( document ).ready(function() {
                        content.wrapInner('<div class="col-md-9">').append('<div id="sidebar" class="col-md-3">').addClass('row');
                }
                $('#sponsors').detach().appendTo($('#sidebar'));
-       });
 
-       var theme = localStorage.getItem("theme");
-       if(theme) {
-               set_style(theme);
-       }
+               if(theme) set_style(theme);
+       });
 })();
index 9622d2ae621849d2f7be00e8c673953f2e09cd6c..682896c7dfd508e7f0ee0a345e9f09b9df10b3cc 100644 (file)
@@ -48,7 +48,7 @@ my %orig_header_templates = (
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
-<link rel="stylesheet" href="/css/cyborg" id="stylesheet">
+<link rel="stylesheet" href="/css/cosmo" id="stylesheet">
 <script src="/js" type="text/javascript"></script>
 
 <nav class="navbar navbar-default navbar-static-top" role="navigation">
@@ -83,6 +83,8 @@ my %orig_header_templates = (
 
 <div class="container-fluid">
 
+<div class="logo logo-mindcoding center-block"></div>
+
 <h1 id="title">TITLE_GOES_HERE</h1>
 <div id="result"></div>
 
@@ -94,15 +96,34 @@ my %orig_footer_templates = (
   en => <<'HTML',
 
 </div>
-</div>
 
-<div id="sponsors"> </div>
+<div id="sponsors">
+<h3>Official sponsors</h3>
+<div class="logo logo-yardi"></div>
+</div>
 
 <footer>
-Dilmom: Why don't you call your product the Gruntmaster 6000?
-Dilbert: What kind of product do you see when you imagine a Gruntmaster 6000?
-Dilmom: Well, it's a stripped-down version of the Gruntmaster 9000, of course. But it's software-upgradeable.
+<div class="row">
+<div class="col-md-6 column text-center">
+<a class="logo logo-hermes" href="http://www.societatea-hermes.ro"></a>
+</div>
+
+<div class="col-md-6 column text-center">
+<a class="logo logo-facebook" href="http://www.facebook.com/mindcodingcluj"></a>
+</div>
+</div>
+
+<h3> Partners </h3>
+<a href="http://cs.ubbcluj.ro" class="logo logo-csf"></a>
+<a href="http://www.uniunea.ro" class="logo logo-usr"></a>
+<a href="http://www.coscj.ro" class="logo logo-cos"></a>
+<a href="http://www.cluj2015.ro/romana" class="logo logo-eyc"></a>
+<h3> Media Partners </h3>
+<a href="http://www.clujlife.com" class="logo logo-clujlife"></a>
+<a href="http://www.vinsieu.ro/eveniment/cluj/cluj-napoca/alte-evenimente/mindcoding/88970/e.html" class="logo logo-vinsieu"></a>
+<a href="http://www.welcome2cluj.com" class="logo logo-welcome2cluj"></a>
 </footer>
+</div>
 HTML
 );
 
index 2672769a5a167d7423b313cb9cc831d7e3301edb..771808b7b022a47d7a6a53af924294a20a191325 100644 (file)
@@ -15,6 +15,9 @@ use constant TEMPLATES => {
 </div>
 
 <div class="col-md-3">
+<div id="sidebar"></div>
+
+<h3>Problem information</h3>
 <dl>
 <dt>Author</dt> <dd><tmpl_var author></dd>
 <dt>Owner</dt> <dd><tmpl_var owner></dd>
This page took 0.014981 seconds and 4 git commands to generate.