Changeset - 869976dfb8c2
[Not reviewed]
default
0 2 0
Na'Tosha Bard - 11 years ago 2014-09-19 14:44:21
natosha@unity3d.com
Improve 'Show by ID' and 'Show by Name' on summary page.

This improves the summary page by switching these buttons to standard buttons,
removing the weird custom CSS class that seemed to try to do magic, but instead
just left the button overflowing the space.
2 files changed with 2 insertions and 14 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -3703,24 +3703,12 @@ input.btn {
 
}
 

	
 
.btn.btn-mini {
 
    padding: 0px 4px;
 
}
 

	
 
.btn.clone {
 
    padding: 5px 2px 6px 1px;
 
    margin: 0px 0px 3px -4px;
 
    -webkit-border-radius: 0px 4px 4px 0px !important;
 
    -khtml-border-radius: 0px 4px 4px 0px !important;
 
    border-radius: 0px 4px 4px 0px !important;
 
    width: 100px;
 
    text-align: center;
 
    display: inline-block;
 
    position: relative;
 
    top: -2px;
 
}
 
.btn:focus {
 
    outline: none;
 
}
 
.btn:hover {
 
    background-position: 0 -100px;
 
    text-decoration: none;
kallithea/templates/summary/summary.html
Show inline comments
 
@@ -75,14 +75,14 @@ summary = lambda n:{False:'summary-short
 
                <div class="label-summary">
 
                  <label>${_('Clone url')}:</label>
 
                </div>
 
                <div class="input ${summary(c.show_stats)}">
 
                  <input style="width:80%" type="text" id="clone_url" readonly="readonly" value="${c.clone_repo_url}"/>
 
                  <input style="display:none;width:80%" type="text" id="clone_url_id" readonly="readonly" value="${c.clone_repo_url_id}"/>
 
                  <div style="display:none" id="clone_by_name" class="btn btn-small clone">${_('Show by Name')}</div>
 
                  <div id="clone_by_id" class="btn btn-small clone">${_('Show by ID')}</div>
 
                  <div style="display:none" id="clone_by_name" class="btn btn-small">${_('Show by Name')}</div>
 
                  <div id="clone_by_id" class="btn btn-small">${_('Show by ID')}</div>
 
                </div>
 
            </div>
 

	
 
            <div class="field">
 
              <div class="label-summary">
 
                  <label>${_('Description')}:</label>
0 comments (0 inline, 0 general)