Skip to content

Commit

Permalink
Revert badge changes on master branch.
Browse files Browse the repository at this point in the history
They're in a separate branch while we figure out how we want to
display that information.
  • Loading branch information
kochman committed Jun 5, 2017
1 parent 45b0509 commit df8fcbf
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 110 deletions.
8 changes: 0 additions & 8 deletions static/projects.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -86,14 +86,6 @@
font-weight: 400; font-weight: 400;
} }


.project .badge {
font-size: 100%;
}

.project .card-title a:hover {
text-decoration: none;
}

.project .description { .project .description {
padding-top: 0; padding-top: 0;
font-size: 19px; font-size: 19px;
Expand Down
187 changes: 85 additions & 102 deletions templates/index.html
Original file line number Original file line Diff line number Diff line change
@@ -1,131 +1,114 @@
<!doctype html> <!doctype html>
<html> <html>

<head> <head>
<title>Web Technologies Group</title> <title>Web Technologies Group</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous"> <link rel="stylesheet" href="/static/projects.css">
<link rel="stylesheet" href="/static/projects.css"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head> </head>


<body> <body>


<div class="header fixed-top"> <div class="header fixed-top">
<div class="container"> <div class="container">
<div class="wtg-logo d-inline-block"> <div class="wtg-logo d-inline-block">
<img src="/static/wtg.svg" width="100" height="30" alt=""> <img src="/static/wtg.svg" width="100" height="30" alt="">
</div> </div>
<div class="float-right"> <div class="float-right">
<a href="https://github.com/wtg" class="btn btn-sm btn-outline-danger">GitHub</a> <a href="https://github.com/wtg" class="btn btn-sm btn-outline-danger">GitHub</a>
<a href="mailto:webtech@union.rpi.edu" class="btn btn-sm btn-outline-danger">Email</a> <a href="mailto:webtech@union.rpi.edu" class="btn btn-sm btn-outline-danger">Email</a>
</div>
</div> </div>
</div> </div>
</div>


<section class="jumbotron text-center"> <section class="jumbotron text-center">
<div class="container"> <div class="container">
<h1 class="jumbotron-heading">Web Technologies Group</h1> <h1 class="jumbotron-heading">Web Technologies Group</h1>
<p class="lead text-muted"> <p class="lead text-muted">
Creating technological solutions to serve the students of Creating technological solutions to serve the students of
<span class="d-inline-block">Rensselaer Polytechnic Institute.</span> Take a look at some of our projects below, and then get involved! <span class="d-inline-block">Rensselaer Polytechnic Institute.</span>
</p> Take a look at some of our projects below, and then get involved!
<p> </p>
<a href="https://github.com/wtg" class="btn btn-sm btn-outline-danger">Visit WebTech on GitHub</a> <p>
<a href="mailto:webtech@union.rpi.edu" class="btn btn-sm btn-outline-danger">Email WebTech</a> <a href="https://github.com/wtg" class="btn btn-sm btn-outline-danger">Visit WebTech on GitHub</a>
</p> <a href="mailto:webtech@union.rpi.edu" class="btn btn-sm btn-outline-danger">Email WebTech</a>
</div> </p>
</section> </div>
</section>


<!-- <nav class="navbar navbar-light sticky-top"> <!-- <nav class="navbar navbar-light sticky-top">
</nav> --> </nav> -->


<div class="projects"> <div class="projects">
<div class="container card-columns"> <div class="container card-columns">
{% for project in projects %} {% for project in projects %}
<div class="project card"> <div class="project card">
<div class="card-block"> <div class="card-block">
<div class="card-title"> <h3 class="card-title name">
<h3 class="name"> {{ project.name }}
{{ project.name }} </h3>
</h3> {% if project.repo.homepage %}
<a href="{{ project.repo.html_url + '/watchers' }}"> <a class="btn btn-outline-danger btn-sm" href="{{ project.repo.homepage }}">Use</a>
<span class="badge badge-default"> {% endif %}
<i class="fa fa-eye" aria-hidden="true"></i> {{ project.repo.subscribers_count }} <a class="btn btn-secondary btn-sm" href="{{ project.repo.html_url }}">View code</a>
</span> <a class="btn btn-secondary btn-sm" href="{{ project.repo.html_url + '/issues' }}">{{ project.repo.open_issues_count_text }}</a>
</div>
<div class="card-block description">
<p class="card-text">{{ project.repo.description }}</p>
</div>
<ul class="list-group list-group-flush">
{% for commit in project.commits %}
<li class="list-group-item">
<p class="commit-message" style="white-space: pre-wrap;">{{ commit.commit.message }}</p>
<div class="user-info">
<a href="{{ commit.author.html_url }}">
<img class="user-avatar" src="{{ commit.author.avatar_url }}">
</a> </a>
<a href="{{ project.repo.html_url + '/stargazers' }}"> <a href="{{ commit.author.html_url }}">
<span class="badge badge-default"> <span class="user-name">{{ commit.author.name }}</span>
<i class="fa fa-star" aria-hidden="true"></i> {{ project.repo.stargazers_count }}
</span>
</a> </a>
<a href="{{ project.repo.html_url + '/network' }}"> <a href="{{ commit.html_url }}" class="float-right">
<span class="badge badge-default"> <code class="commit-hash">{{ commit.sha[:7] }}</code>
<i class="fa fa-code-fork" aria-hidden="true"></i> {{ project.repo.forks_count }}
</span>
</a> </a>
</div> </div>
{% if project.repo.homepage %} </li>
<a class="btn btn-outline-danger btn-sm" href="{{ project.repo.homepage }}">Use</a> {% endif %} {% endfor %}
<a class="btn btn-secondary btn-sm" href="{{ project.repo.html_url }}">View code</a> </ul>
<a class="btn btn-secondary btn-sm" href="{{ project.repo.html_url + '/issues' }}">{{ project.repo.open_issues_count_text }}</a>
</div>
<div class="card-block description">
<p class="card-text">{{ project.repo.description }}</p>
</div>
<ul class="list-group list-group-flush">
{% for commit in project.commits %}
<li class="list-group-item">
<p class="commit-message" style="white-space: pre-wrap;">{{ commit.commit.message }}</p>
<div class="user-info">
<a href="{{ commit.author.html_url }}">
<img class="user-avatar" src="{{ commit.author.avatar_url }}">
</a>
<a href="{{ commit.author.html_url }}">
<span class="user-name">{{ commit.author.name }}</span>
</a>
<a href="{{ commit.html_url }}" class="float-right">
<code class="commit-hash">{{ commit.sha[:7] }}</code>
</a>
</div>
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div> </div>
{% endfor %}
</div> </div>
</div>


{# {#
<div class="contributors"> <div class="contributors">
<div class="container"> <div class="container">
<div class="row text-center"> <div class="row text-center">
<div class="col-sm-12"> <div class="col-sm-12">
<h2 class="display-4 section-title">Contributors</h2> <h2 class="display-4 section-title">Contributors</h2>
</div>
</div> </div>
<div class="row"> </div>
<div class="col-3 col-sm-4 col-md-2 contributor text-center" v-for="contributor in allContributors" v-if="users[contributor.login] && users[contributor.login].name"> <div class="row">
<img class="user-avatar" v-bind:src="users[contributor.login].avatar_url"> <div class="col-3 col-sm-4 col-md-2 contributor text-center" v-for="contributor in allContributors" v-if="users[contributor.login] && users[contributor.login].name">
<p>{{ users[contributor.login].name }}</p> <img class="user-avatar" v-bind:src="users[contributor.login].avatar_url">
</div> <p>{{ users[contributor.login].name }}</p>
</div> </div>
</div> </div>
</div> </div>
#} </div>
#}


<footer class="text-muted text-center"> <footer class="text-muted text-center">
<div class="container"> <div class="container">
<p> <p>
This website was created by the This website was created by the
<span class="d-inline-block">Web Technologies Group</span> of the <span class="d-inline-block">Web Technologies Group</span>
<span class="d-inline-block"><a href="http://sg.rpi.edu/senate/">Rensselaer Union Student Senate</a>.</span> of the
</p> <span class="d-inline-block"><a href="http://sg.rpi.edu/senate/">Rensselaer Union Student Senate</a>.</span>
</div> </p>
</footer> </div>
</footer>


<script src="/static/projects.js"></script> <script src="/static/projects.js"></script>


</body> </body>

</html> </html>

0 comments on commit df8fcbf

Please sign in to comment.