-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ODK-X Instance row control buttons. #211
Open
juayuohcarineneng19
wants to merge
6
commits into
odk-x:development
Choose a base branch
from
juayuohcarineneng19:instance-row-control
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c484776
instance row control btns
juayuohcarineneng19 6236ea4
add gap betwee buttons
juayuohcarineneng19 a91481c
border-radius added
juayuohcarineneng19 ad33d04
consistent border and equal spacing
juayuohcarineneng19 70f7626
add material design icons
juayuohcarineneng19 903c28c
Merge branch 'development' into instance-row-control
juayuohcarineneng19 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -341,7 +341,32 @@ Eventually we should make a jqm theme for this. | |
|
||
.instanceRowControl{ | ||
float: right; | ||
} | ||
display: flex; | ||
margin-right: auto; | ||
gap: 5px; | ||
} | ||
|
||
.instanceRowControl .openInstance { | ||
border-top-left-radius: 8px!important; | ||
border-top-right-radius: 8px!important; | ||
border-bottom-right-radius: 8px!important; | ||
border-bottom-left-radius: 8px!important; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center | ||
} | ||
|
||
.instanceRowControl .deleteInstance { | ||
border-top-left-radius: 8px!important; | ||
border-top-right-radius: 8px!important; | ||
border-bottom-right-radius: 8px!important; | ||
border-bottom-left-radius: 8px!important; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. indentation issue... |
||
|
||
.openingRowControl{ | ||
float: right; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,39 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | ||
<!-- <meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' /> --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>OpenDataKit Common Javascript Framework</title> | ||
<link rel="stylesheet" type="text/css" id="custom-styles" /> | ||
<link rel="stylesheet" type="text/css" id="theme" href="libs/bootstrap-3.3.7-dist/css/bootstrap.min.css" /> | ||
<link rel="stylesheet" type="text/css" href="../config/assets/css/odk-survey.css" /> | ||
<link rel="stylesheet" type="text/css" id="theme" href="libs/spinner/waitMe.css" /> | ||
<link rel="stylesheet" type="text/css" href="../config/assets/css/jquery.calendars.picker.css" /> | ||
<script type="text/javascript" src="../config/assets/framework/frameworkDefinitions.js"></script> | ||
<script type="text/javascript" src="../config/assets/commonDefinitions.js"></script> | ||
<script type="text/javascript" src="js/odkCommon.js"></script> | ||
<script type="text/javascript" src="js/odkData.js"></script> | ||
<script type="text/javascript" src="tables/js/odkTables.js"></script> | ||
<script type="text/javascript" src="survey/js/odkSurvey.js"></script> | ||
<script type="text/javascript" src="survey/js/odkSurveyStateManagement.js"></script> | ||
<script src="/node_modules/@sqlite.org/sqlite-wasm/sqlite-wasm/jswasm/sqlite3.js"></script> | ||
<noscript>This page requires javascript</noscript> | ||
</head> | ||
<body> | ||
<div id="block-ui"></div> | ||
<div class="odk-page"> | ||
<div class="odk-screen"> | ||
<div class="odk-toolbar"></div> | ||
<div class="odk-scroll"> | ||
<div class="odk-container">Please wait...</div> | ||
</div> | ||
<div class="odk-footer"></div> | ||
</div> | ||
</div> | ||
<!-- move load of main.js to body since it is now dependent on odkXxx.js having been loaded --> | ||
<script type="text/javascript" data-main="survey/js/main" src="libs/require.2.3.6.js"></script> | ||
</body> | ||
</html> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | ||
<!-- <meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' /> --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>OpenDataKit Common Javascript Framework</title> | ||
<link rel="stylesheet" type="text/css" id="custom-styles" /> | ||
<link rel="stylesheet" type="text/css" id="theme" href="libs/bootstrap-3.3.7-dist/css/bootstrap.min.css" /> | ||
<link rel="stylesheet" type="text/css" href="../config/assets/css/odk-survey.css" /> | ||
<link rel="stylesheet" type="text/css" id="theme" href="libs/spinner/waitMe.css" /> | ||
<link rel="stylesheet" type="text/css" href="../config/assets/css/jquery.calendars.picker.css" /> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" /> | ||
<script type="text/javascript" src="../config/assets/framework/frameworkDefinitions.js"></script> | ||
<script type="text/javascript" src="../config/assets/commonDefinitions.js"></script> | ||
<script type="text/javascript" src="js/odkCommon.js"></script> | ||
<script type="text/javascript" src="js/odkData.js"></script> | ||
<script type="text/javascript" src="tables/js/odkTables.js"></script> | ||
<script type="text/javascript" src="survey/js/odkSurvey.js"></script> | ||
<script type="text/javascript" src="survey/js/odkSurveyStateManagement.js"></script> | ||
<script src="/node_modules/@sqlite.org/sqlite-wasm/sqlite-wasm/jswasm/sqlite3.js"></script> | ||
<noscript>This page requires javascript</noscript> | ||
</head> | ||
<body> | ||
<div id="block-ui"></div> | ||
<div class="odk-page"> | ||
<div class="odk-screen"> | ||
<div class="odk-toolbar"></div> | ||
<div class="odk-scroll"> | ||
<div class="odk-container">Please wait...</div> | ||
</div> | ||
<div class="odk-footer"></div> | ||
</div> | ||
</div> | ||
<!-- move load of main.js to body since it is now dependent on odkXxx.js having been loaded --> | ||
<script type="text/javascript" data-main="survey/js/main" src="libs/require.2.3.6.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello - great work! 👍
One small question regarding the CSS; Is the '!important' tag necessary?
It is really a kind of last resort in CSS (i.e. when something "more specific" exists in the css inheritance hierarchy).. However - if it is indeed needed here, then just ignore this comment! 😄