[SUCS Devel] [Git][sucssite/sucs-site][sucs-site] 8 commits: Tweaks to the sucs site css.

Imran Hussain imranh at sucs.org
Sun Sep 23 11:59:09 BST 2018


Imran Hussain pushed to branch sucs-site at sucssite / sucs-site


Commits:
8c944932 by Imran Hussain at 2018-01-15T14:34:39+00:00
Tweaks to the sucs site css.

Taking inspration from unreturnables work but without the drastic changes to the style/theme of the site

- - - - -
d82a30ad by Imran Hussain at 2018-05-20T11:11:06+01:00
Merge branch 'css_tweaks' into 'master'

Tweaks to the sucs site css.

See merge request sucssite/sucs-site!74
- - - - -
3fba5597 by Imran Hussain at 2018-05-20T11:14:22+01:00
Merge branch 'master' into 'beta'

Throw the CSS tweaks from master to beta

See merge request sucssite/sucs-site!81
- - - - -
5ba33ffa by Imran Hussain at 2018-09-23T11:38:46+01:00
Fix renewal (via the susignup system) print credits not being added
- - - - -
fa399e6b by Imran Hussain at 2018-09-23T11:41:25+01:00
Merge branch 'master' into beta

- - - - -
e4b0760b by Imran Hussain at 2018-09-23T11:42:38+01:00
Merge branch 'beta' of projects.sucs.org:sucssite/sucs-site into beta

- - - - -
0c670fb1 by Imran Hussain at 2018-09-23T11:45:50+01:00
Merge branch 'master' into 'beta'

Fix renewal (via the susignup system) print credits not being added

See merge request sucssite/sucs-site!82
- - - - -
80946f21 by Imran Hussain at 2018-09-23T11:59:06+01:00
Merge branch 'beta' into 'sucs-site'

Push changes from beta to live

See merge request sucssite/sucs-site!83
- - - - -


2 changed files:

- htdocs/css/sucs.css
- lib/member_functions.php


Changes:

=====================================
htdocs/css/sucs.css
=====================================
--- a/htdocs/css/sucs.css
+++ b/htdocs/css/sucs.css
@@ -3,8 +3,9 @@
    -------------------------------------------------- */
 
 body {
-    background: #fff;
+    background: #fff0cd;
     min-width: 600px;
+    margin: 0px;
 }
 
 hr {
@@ -34,12 +35,12 @@ a:hover {
 /* --------------------------------------------------
     Page corners
    -------------------------------------------------- */
-#branding, #brandingC {
+/*#branding, #brandingC {
     border-top-left-radius: 15px;
     border-top-right-radius: 15px;
     -moz-border-radius-topleft: 15px;
     -moz-border-radius-topright: 15px;
-}
+}*/
 
 #footer {
     border-bottom-left-radius: 15px;
@@ -110,7 +111,7 @@ a:hover {
     background: #fff0cd;
     padding: 0;
     clear: both;
-    border: 2px solid #e76808;
+    /*border: 2px solid #e76808;*/
     border-top: 0;
     border-bottom: 0;
 }
@@ -264,6 +265,7 @@ ul#valid {
     margin: 0;
     margin-bottom: 0.5em;
     background: url('/images/orangefade-bottom.png') top repeat-x #ffc62b;
+    visibility: hidden;
 }
 
 #footer p {


=====================================
lib/member_functions.php
=====================================
--- a/lib/member_functions.php
+++ b/lib/member_functions.php
@@ -126,7 +126,7 @@ function renew_membership($username)
     $sucsDB->Execute("UPDATE members SET paid=?, lastupdate=DEFAULT, lastedit=? WHERE username=?", array(paidUntil(time()), "99999", $username));
 
     // Give them their 200 print credits
-    exec("/usr/local/sbin/printerrenew.apache ${username} 200");
+    exec("sudo /usr/local/sbin/printerrenew.apache ${username} 200");
 
     // apprently sending them an email confirming so is nice
     $message = "Your Swansea University Computer Society (SUCS) membership has been renewed\n\n";



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/compare/a8b61b3bf8c78dfeb6526b8edae8afd1c3c00d69...80946f21e3ea1d087f4a60314c1160e07f82292f

-- 
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/compare/a8b61b3bf8c78dfeb6526b8edae8afd1c3c00d69...80946f21e3ea1d087f4a60314c1160e07f82292f
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20180923/9a849d9e/attachment-0001.html>


More information about the Devel mailing list